Tom Stellard 2020-07-13 19:57:22 +00:00
parent 02c652ed71
commit d8e43283bf

View File

@ -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 <tstellar@redhat.com> - 3.4-2
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Wed Apr 1 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 3.4-1
- New version
Resolves: rhbz#1818417