#2 Use make macros
Merged 2 years ago by ueno. Opened 2 years ago by tstellar.
rpms/ tstellar/nettle make-macros  into  master

file modified
+7 -3
@@ -15,7 +15,7 @@ 

  

  Name:           nettle

  Version:        3.6

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        A low-level cryptographic library

  

  License:        LGPLv3+ or GPLv2+
@@ -79,7 +79,7 @@ 

  %build

  autoreconf -ifv

  %configure --enable-shared --enable-fat

- make %{?_smp_mflags}

+ %make_build

  

  %if 0%{?bootstrap}

  pushd bootstrap_ver
@@ -121,7 +121,7 @@ 

  chmod 0755 $RPM_BUILD_ROOT%{_libdir}/libhogweed.so.%{hogweed_so_ver_old}.*

  %endif

  

- make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"

+ %make_install

  make install-shared DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"

  mkdir -p $RPM_BUILD_ROOT%{_infodir}

  install -p -m 644 nettle.info $RPM_BUILD_ROOT%{_infodir}/
@@ -170,6 +170,10 @@ 

  

  

  %changelog

+ * Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 3.6-2

+ - Use make macros

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

+ 

  * Mon May  4 2020 Daiki Ueno <dueno@redhat.com> - 3.6-1

  - Update to nettle 3.6

  

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 ueno

2 years ago