diff --git a/grep.spec b/grep.spec index 14f53ba..bddfd2e 100644 --- a/grep.spec +++ b/grep.spec @@ -1,7 +1,7 @@ Summary: Pattern matching utilities Name: grep Version: 3.4 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ URL: http://www.gnu.org/software/grep/ @@ -50,10 +50,10 @@ GNU grep is needed by many scripts, so it shall be installed on every system. %configure --without-included-regex --disable-silent-rules \ CPPFLAGS="-I%{_includedir}/pcre" CFLAGS="%{BUILD_FLAGS}" -make %{?_smp_mflags} +%make_build %install -make %{?_smp_mflags} DESTDIR=$RPM_BUILD_ROOT install +%make_install %{?_smp_mflags} gzip $RPM_BUILD_ROOT%{_infodir}/grep* rm -f $RPM_BUILD_ROOT%{_infodir}/dir mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d @@ -79,6 +79,10 @@ make check %{_libexecdir}/grepconf.sh %changelog +* Mon Jul 13 2020 Tom Stellard - 3.4-2 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Wed Apr 1 2020 Jaroslav Škarvada - 3.4-1 - New version Resolves: rhbz#1818417