#7 Use make macros
Closed 2 months ago by anoopcs. Opened a year ago by tstellar.
rpms/ tstellar/glusterfs make-macros  into  rawhide

file modified
+8 -4
@@ -183,11 +183,11 @@ 

  %if ( 0%{_for_fedora_koji_builds} )

  Name:             glusterfs

  Version:          8.0

- Release:          3%{?dev:%{dev}}%{?dist}

+ Release:          4%{?dev:%{dev}}%{?dist}

  %else

  Name:             @PACKAGE_NAME@

  Version:          @PACKAGE_VERSION@

- Release:          0.@PACKAGE_RELEASE@%{?dist}.3

+ Release:          0.@PACKAGE_RELEASE@%{?dist}.4

  %endif

  License:          GPLv2 or LGPLv3+

  URL:              http://docs.gluster.org/
@@ -811,14 +811,14 @@ 

  sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|' libtool

  

  gcc -v

- make %{?_smp_mflags} V=1

+ %make_build V=1

  

  %check

  make check

  

  %install

  rm -rf %{buildroot}

- make install DESTDIR=%{buildroot}

+ %make_install

  %if ( 0%{!?_without_server:1} )

  %if ( 0%{_for_fedora_koji_builds} )

  %if ( 0%{!?_without_server:1} )
@@ -1578,6 +1578,10 @@ 

  %{_unitdir}/gluster-ta-volume.service

  

  %changelog

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

+ - Use make macros

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

+ 

  * Wed Jul 8 2020  Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 8.0-3

  - thin-arbiter, w/o libglusterfs0

  

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.

Changes are already in as part of 465e00e and b513261. Therefore closing the PR.

Pull-Request has been closed by anoopcs

2 months ago