Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37574163
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.5.4
Release: ipl10mdk

Summary: The GNU %name command, for modifying/upgrading files
License: GPL
Group: Text tools

Source: ftp://prep.ai.mit.edu/pub/gnu/%name-%version.tar.bz2

Patch1: %name-2.5-stderr.patch
Patch2: %name-2.5.4-sigsegv.patch
Patch3: %name-2.5.4-backup.patch
Patch4: %name-2.5.4-suffix.patch
Patch5: %name-2.5.4-alt-noerror.patch
Patch6: %name-2.5.4-rh-ifdef.patch

%description
The %name 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 %name command with the diff file to add the changes to their
original file (patching the file).

Patch should be installed because it is a common way of upgrading
applications.

%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1

%build
%add_optflags -D_GNU_SOURCE
ADDITIONAL_ARCH_FLAGS=
# (fg) Large file support can be disabled from ./configure - it is necessary at
# least on sparcs
%ifarch sparc sparc64 alpha
ADDITIONAL_ARCH_FLAGS='--disable-largefile'
%endif
%configure $ADDITIONAL_ARCH_FLAGS

make

%install
%makeinstall

%files
%_bindir/*
%_mandir/man?/*
%doc NEWS README AUTHORS ChangeLog

%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