#1 Use make macros
Merged 3 years ago by jskarvad. Opened 3 years ago by tstellar.
rpms/ tstellar/grep make-macros  into  master

file modified
+7 -3
@@ -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 @@ 

  

  %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 @@ 

  %{_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

This pull request was create automatically for the f33 change:
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro

Please review the patch and if you approve the changes, merge it after the simple-koji-ci test passes.

This pull request will be automatically merged in 1 week if there are not objections.

Pull-Request has been merged by jskarvad

3 years ago