- Removed the dependency on less (rhbz#629580)
- Removed the BuildRoot tag - Removed the %clean section
This commit is contained in:
parent
a557aea930
commit
8f8ea03ff8
20
gzip.spec
20
gzip.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: The GNU data compression program
|
Summary: The GNU data compression program
|
||||||
Name: gzip
|
Name: gzip
|
||||||
Version: 1.4
|
Version: 1.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
# info pages are under GFDL license
|
# info pages are under GFDL license
|
||||||
License: GPLv3+ and GFDL
|
License: GPLv3+ and GFDL
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
@ -19,10 +19,12 @@ Patch8: gzip-1.3.5-cve-2006-4337_len.patch
|
|||||||
# http://thread.gmane.org/gmane.comp.gnu.gzip.bugs/378
|
# http://thread.gmane.org/gmane.comp.gnu.gzip.bugs/378
|
||||||
Patch11: gzip-1.3.13-noemptysuffix.patch
|
Patch11: gzip-1.3.13-noemptysuffix.patch
|
||||||
URL: http://www.gzip.org/
|
URL: http://www.gzip.org/
|
||||||
|
# Requires should not be added for gzip wrappers (eg. zdiff, zgrep,
|
||||||
|
# zless) of another tools, because gzip "extends" the tools by its
|
||||||
|
# wrappers much more than it "requires" them.
|
||||||
Requires: /sbin/install-info
|
Requires: /sbin/install-info
|
||||||
Requires: mktemp less
|
Requires: mktemp
|
||||||
BuildRequires: texinfo
|
BuildRequires: texinfo
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The gzip package contains the popular GNU gzip data compression
|
The gzip package contains the popular GNU gzip data compression
|
||||||
@ -49,7 +51,7 @@ export DEFS="NO_ASM"
|
|||||||
export CPPFLAGS="-DHAVE_LSTAT"
|
export CPPFLAGS="-DHAVE_LSTAT"
|
||||||
%configure --bindir=/bin
|
%configure --bindir=/bin
|
||||||
|
|
||||||
make
|
make
|
||||||
#make gzip.info
|
#make gzip.info
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -70,9 +72,6 @@ rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
|
|||||||
# uncompress is a part of ncompress package
|
# uncompress is a part of ncompress package
|
||||||
rm -f ${RPM_BUILD_ROOT}/bin/uncompress
|
rm -f ${RPM_BUILD_ROOT}/bin/uncompress
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ -f %{_infodir}/gzip.info* ]; then
|
if [ -f %{_infodir}/gzip.info* ]; then
|
||||||
/sbin/install-info %{_infodir}/gzip.info.gz %{_infodir}/dir || :
|
/sbin/install-info %{_infodir}/gzip.info.gz %{_infodir}/dir || :
|
||||||
@ -94,6 +93,11 @@ fi
|
|||||||
%{_infodir}/gzip.info*
|
%{_infodir}/gzip.info*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 6 2010 Karel Klic <kklic@redhat.com> - 1.4-2
|
||||||
|
- Removed the dependency on less (rhbz#629580)
|
||||||
|
- Removed the BuildRoot tag
|
||||||
|
- Removed the %%clean section
|
||||||
|
|
||||||
* Tue Mar 16 2010 Karel Klic <kklic@redhat.com> - 1.4-1
|
* Tue Mar 16 2010 Karel Klic <kklic@redhat.com> - 1.4-1
|
||||||
- New upstream release
|
- New upstream release
|
||||||
- Use XZ upstream source archive
|
- Use XZ upstream source archive
|
||||||
@ -109,7 +113,7 @@ fi
|
|||||||
* Tue Dec 1 2009 Karel Klic <kklic@redhat.com> - 1.3.13-1
|
* Tue Dec 1 2009 Karel Klic <kklic@redhat.com> - 1.3.13-1
|
||||||
- New upstream version
|
- New upstream version
|
||||||
- Updated license from GPLv2 to GPLv3+
|
- Updated license from GPLv2 to GPLv3+
|
||||||
- Removed gzip-1.3.12-futimens.patch, as it is fixed in the new version
|
- Removed gzip-1.3.12-futimens.patch, as it is fixed in the new version
|
||||||
- Updated rsync patch to the new upstream version
|
- Updated rsync patch to the new upstream version
|
||||||
- Updated cve-2006-4337 patch to use gzip_error instead of error
|
- Updated cve-2006-4337 patch to use gzip_error instead of error
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user