Sophie

Sophie

distrib > Mageia > 3 > x86_64 > media > core-release-src > by-pkgid > bb36241f9da3abfa6cfde2d870e50236 > files > 6

patch-2.7.1-2.mga3.src.rpm

Summary:	The GNU patch command, for modifying/upgrading files
Name:		patch
Version:	2.7.1
Release:	%mkrel 2
License:	GPLv3
Group:		Text tools
URL:		http://www.gnu.org/directory/GNU/patch.html
Source0:	ftp://ftp.gnu.org/gnu/patch/%{name}-%{version}.tar.bz2
Patch1:		patch-2.7-sigsegv.patch
Patch3:		patch-2.6-stderr.patch
Patch6:		patch-2.6-fix-str-fmt.patch
# debian patches:
Patch103:	lenny-options.diff

%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).

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

%prep
%setup -q

%patch1 -p1 -b .sigsegv
%patch3 -p1 -b .stderr
%patch6 -p0 -b .format_not_a_string_literal_and_no_format_arguments
%patch103 -p1 -b .compat-options

%build
%configure2_5x
%make

%install
rm -rf %{buildroot}
%makeinstall

%clean
rm -rf %{buildroot}

%files
%defattr(644,root,root,755)
%doc NEWS README AUTHORS ChangeLog
%attr(0755,root,root) %{_bindir}/*
%{_mandir}/*/*


%changelog

* Sun Jan 13 2013 umeabot <umeabot> 2.7.1-2.mga3
+ Revision: 362449
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Sep 29 2012 luigiwalser <luigiwalser> 2.7.1-1.mga3
+ Revision: 300187
- 2.7.1

* Sat Sep 15 2012 luigiwalser <luigiwalser> 2.7-1.mga3
+ Revision: 294251
- 2.7
- rediff patches 1 and 103
- remove patch 8 (fixed upstream)

* Thu Aug 16 2012 luigiwalser <luigiwalser> 2.6.1-5.mga3
+ Revision: 281693
- add patch from fedora to fix CVE-2010-4651 (rhbz #667529)

* Sat Jan 08 2011 blino <blino> 2.6.1-4.mga1
+ Revision: 613
- imported package patch