diff --git a/nettle.spec b/nettle.spec index 78c3808..b0ad291 100644 --- a/nettle.spec +++ b/nettle.spec @@ -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 @@ sed 's/ecc-secp224r1.c//g' -i Makefile.in %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}/libnettle.so.%{nettle_so_ver_old}.* 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 @@ make check %changelog +* Tue Jul 14 2020 Tom Stellard - 3.6-2 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Mon May 4 2020 Daiki Ueno - 3.6-1 - Update to nettle 3.6