Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37044130
en ru br
ALT Linux repos
S:2.7.6.0.27.7623-alt1
5.0: 2.5.9-alt3
4.1: 2.5.9-alt3
4.0: 2.5.9-alt3
3.0: 2.5.4-ipl10mdk

Group :: Text tools
RPM: patch

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: patch
Version: 2.7.6.0.17.9c98
Release: alt1

Summary: The GNU patch command, for modifying/upgrading files
License: GPLv3+
Group: Text tools
Url: https://www.gnu.org/software/patch/

# git://git.altlinux.org/gears/p/patch.git

Source: %name-%version-%release.tar

BuildRequires: gnulib >= 0.1.2305.95c96

# for extended attribute copying support

BuildRequires: libattr-devel

# Note that patch --ed required ed(1).

%{?!_without_check:%{?!_disable_check:BuildRequires: ed}}

%description
The patch program applies diff files to originals.  The diff command
is used to compare an original to a changed file.  Diff lists the
changes made to the file.  A person who has the original file can then
use the patch command with the diff file to add the changes to their
original file (patching the file).

%prep
%setup -n %name-%version-%release
echo -n %version > .tarball-version

%build
./bootstrap --skip-po --gnulib-srcdir=%_datadir/gnulib
%configure --disable-silent-rules
%make_build

%install
%makeinstall_std

%check
%make_build -k check VERBOSE=1

%files
%_bindir/*
%_man1dir/*
%doc AUTHORS NEWS README

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin