#20 Use make macros
Opened 3 years ago by tstellar. Modified 3 years ago
rpms/ tstellar/bash make-macros  into  rawhide

file modified
+6 -2
@@ -6,7 +6,7 @@ 

  Version: %{baseversion}%{patchleveltag}

  Name: bash

  Summary: The GNU Bourne Again shell

- Release: 1%{?dist}

+ Release: 2%{?dist}

  License: GPLv3+

  Url: https://www.gnu.org/software/bash

  Source0: https://ftp.gnu.org/gnu/bash/bash-%{baseversion}.tar.gz
@@ -129,7 +129,7 @@ 

  # Recycles pids is neccessary. When bash's last fork's pid was X

  # and new fork's pid is also X, bash has to wait for this same pid.

  # Without Recycles pids bash will not wait.

- make "CPPFLAGS=-D_GNU_SOURCE -DRECYCLES_PIDS -DDEFAULT_PATH_VALUE='\"/usr/local/bin:/usr/bin\"' `getconf LFS_CFLAGS`" %{?_smp_mflags}

+ %make_build "CPPFLAGS=-D_GNU_SOURCE -DRECYCLES_PIDS -DDEFAULT_PATH_VALUE='\"/usr/local/bin:/usr/bin\"' `getconf LFS_CFLAGS`"

  

  %install

  if [ -e autoconf ]; then
@@ -308,6 +308,10 @@ 

  %{_libdir}/pkgconfig/%{name}.pc

  

  %changelog

+ * Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 5.0.17-2

+ - Use make macros

+ - https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro

+ 

  * Mon Jun 01 2020 Siteshwar Vashisht <svashisht@redhat.com> - 5.0.17-1

  - Update to bash-5.0 patchlevel 17

  

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.

No objections from me.