Spec file cleanup
This commit is contained in:
parent
261a1f8c57
commit
cbb1010aa0
@ -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}/*
|
||||
|
Loading…
Reference in New Issue
Block a user