From 88ae7a2a118a1a3c5efa59857a4100533444c25a Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Mon, 18 Jan 2021 00:58:41 +0000 Subject: [PATCH] Spec file cleanup --- gzip.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gzip.spec b/gzip.spec index 963dd72..98dde7f 100644 --- a/gzip.spec +++ b/gzip.spec @@ -1,10 +1,10 @@ -Summary: The GNU data compression program +Summary: GNU data compression program Name: gzip Version: 1.10 Release: 3%{?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}/*/*