Update to 2.3.1

This commit is contained in:
Adel Gadllah 2014-05-19 11:19:33 +02:00
parent b2a762c494
commit 784b22c9f0
3 changed files with 8 additions and 20 deletions

View File

@ -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

View File

@ -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 <adel.gadllah@gmail.com> - 2.3.1-1
- Update to 2.3.1
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

View File

@ -1 +1 @@
188f769ccedc403893d03049ad31e969 pigz-2.2.5.tar.gz
e803f8bc0770c7a5e96dccb1d2dd2aab pigz-2.3.1.tar.gz