Merge #3 Spec file cleanup
This commit is contained in:
commit
c23527ad75
10
gzip.spec
10
gzip.spec
@ -1,10 +1,10 @@
|
||||
Summary: The GNU data compression program
|
||||
Summary: GNU data compression program
|
||||
Name: gzip
|
||||
Version: 1.10
|
||||
Release: 4%{?dist}
|
||||
# info pages are under GFDL license
|
||||
License: GPLv3+ and GFDL
|
||||
Source0: http://ftp.gnu.org/gnu/gzip/gzip-%{version}.tar.xz
|
||||
Source0: https://ftp.gnu.org/gnu/gzip/gzip-%{version}.tar.xz
|
||||
Source1: https://www.gnu.org/licenses/fdl-1.3.txt
|
||||
|
||||
# downstream solution for coloured z*grep (#1034839)
|
||||
@ -16,7 +16,7 @@ Patch2: gzexe.patch
|
||||
|
||||
# Fixed in upstream code.
|
||||
# http://thread.gmane.org/gmane.comp.gnu.gzip.bugs/378
|
||||
URL: http://www.gzip.org/
|
||||
URL: https://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.
|
||||
@ -57,7 +57,6 @@ make check
|
||||
#make gzip.info
|
||||
|
||||
%install
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
%makeinstall
|
||||
|
||||
gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/gzip.info*
|
||||
@ -65,7 +64,7 @@ gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/gzip.info*
|
||||
# we don't ship it, so let's remove it from ${RPM_BUILD_ROOT}
|
||||
rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
|
||||
# uncompress is a part of ncompress package
|
||||
rm -f ${RPM_BUILD_ROOT}/%{_bindir}/uncompress
|
||||
rm -f ${RPM_BUILD_ROOT}%{_bindir}/uncompress
|
||||
|
||||
# coloured z*grep (#1034839)
|
||||
%global profiledir %{_sysconfdir}/profile.d
|
||||
@ -75,7 +74,6 @@ install -p -m 644 %{SOURCE101} %{buildroot}%{profiledir}
|
||||
|
||||
%files
|
||||
%doc NEWS README AUTHORS ChangeLog THANKS TODO
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING fdl-1.3.txt
|
||||
%{_bindir}/*
|
||||
%{_mandir}/*/*
|
||||
|
Loading…
Reference in New Issue
Block a user