Update to 2.3.1
This commit is contained in:
parent
b2a762c494
commit
784b22c9f0
@ -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
|
|
14
pigz.spec
14
pigz.spec
@ -1,13 +1,12 @@
|
|||||||
Name: pigz
|
Name: pigz
|
||||||
Version: 2.2.5
|
Version: 2.3.1
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Parallel implementation of gzip
|
Summary: Parallel implementation of gzip
|
||||||
|
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
License: zlib
|
License: zlib
|
||||||
URL: http://www.zlib.net/pigz/
|
URL: http://www.zlib.net/pigz/
|
||||||
Source0: http://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
@ -20,11 +19,9 @@ multiple processors and multiple cores to the hilt when compressing data.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} CFLAGS='%{optflags}'
|
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
|
||||||
|
|
||||||
%install
|
%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
|
install -p -D pigz.1 -m 0644 $RPM_BUILD_ROOT%{_datadir}/man/man1/pigz.1
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make tests
|
make tests CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -49,6 +46,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user