From cbb1010aa038a667091efa4309a0187233ece816 Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Mon, 18 Jan 2021 00:56:44 +0000 Subject: [PATCH] Spec file cleanup --- grep.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/grep.spec b/grep.spec index 8199d60..1153bc6 100644 --- a/grep.spec +++ b/grep.spec @@ -3,9 +3,9 @@ Name: grep Version: 3.6 Release: 1%{?dist} License: GPLv3+ -URL: http://www.gnu.org/software/grep/ +URL: https://www.gnu.org/software/grep/ -Source: ftp://ftp.gnu.org/pub/gnu/grep/grep-%{version}.tar.xz +Source: https://ftp.gnu.org/pub/gnu/grep/grep-%{version}.tar.xz Source1: colorgrep.sh Source2: colorgrep.csh Source3: GREP_COLORS @@ -54,7 +54,7 @@ GNU grep is needed by many scripts, so it shall be installed on every system. %make_build %install -%make_install %{?_smp_mflags} +%make_install gzip $RPM_BUILD_ROOT%{_infodir}/grep* rm -f $RPM_BUILD_ROOT%{_infodir}/dir mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d @@ -69,7 +69,6 @@ make check %files -f %{name}.lang %doc AUTHORS THANKS TODO NEWS README -%{!?_licensedir:%global license %%doc} %license COPYING %{_bindir}/*