diff --git a/pigz-2.2.4-ldflags.patch b/pigz-2.2.4-ldflags.patch deleted file mode 100644 index 4a3b52b..0000000 --- a/pigz-2.2.4-ldflags.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up pigz-2.2.4/Makefile~ pigz-2.2.4/Makefile ---- pigz-2.2.4/Makefile~ 2012-02-12 07:18:18.000000000 +0200 -+++ pigz-2.2.4/Makefile 2012-06-13 00:42:38.701204688 +0300 -@@ -2,7 +2,7 @@ CC=cc - CFLAGS=-O3 -Wall -Wextra - - pigz: pigz.o yarn.o -- $(CC) -o pigz pigz.o yarn.o -lpthread -lz -+ $(CC) -o pigz pigz.o yarn.o -lpthread -lz ${RPM_LD_FLAGS} - ln -f pigz unpigz - - pigz.o: pigz.c yarn.h diff --git a/pigz.spec b/pigz.spec index 47d7987..c1797e6 100644 --- a/pigz.spec +++ b/pigz.spec @@ -1,13 +1,12 @@ Name: pigz -Version: 2.2.5 -Release: 3%{?dist} +Version: 2.3.1 +Release: 1%{?dist} Summary: Parallel implementation of gzip Group: Applications/File License: zlib URL: http://www.zlib.net/pigz/ Source0: http://www.zlib.net/%{name}/%{name}-%{version}.tar.gz -Patch0: %{name}-2.2.4-ldflags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: zlib-devel @@ -20,11 +19,9 @@ multiple processors and multiple cores to the hilt when compressing data. %prep %setup -q -%patch0 -p1 - %build -make %{?_smp_mflags} CFLAGS='%{optflags}' +make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" %install @@ -34,7 +31,7 @@ pushd $RPM_BUILD_ROOT%{_bindir}; ln pigz unpigz; popd install -p -D pigz.1 -m 0644 $RPM_BUILD_ROOT%{_datadir}/man/man1/pigz.1 %check -make tests +make tests CFLAGS="$RPM_OPT_FLAGS" %clean rm -rf $RPM_BUILD_ROOT @@ -49,6 +46,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon May 19 2014 Adel Gadllah - 2.3.1-1 +- Update to 2.3.1 + * Sun Aug 04 2013 Fedora Release Engineering - 2.2.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index a02b960..800f294 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -188f769ccedc403893d03049ad31e969 pigz-2.2.5.tar.gz +e803f8bc0770c7a5e96dccb1d2dd2aab pigz-2.3.1.tar.gz