From 0b5310bbd9b39b4cb480ceb5509a014ce125248c Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 13 Jul 2020 22:36:46 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- libtasn1.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libtasn1.spec b/libtasn1.spec index c57e9b8..b2dd17b 100644 --- a/libtasn1.spec +++ b/libtasn1.spec @@ -1,7 +1,7 @@ Summary: The ASN.1 library used in GNUTLS Name: libtasn1 Version: 4.16.0 -Release: 1%{?dist} +Release: 2%{?dist} # The libtasn1 library is LGPLv2+, utilities are GPLv3+ License: GPLv3+ and LGPLv2+ @@ -61,11 +61,11 @@ autoreconf -v -f --install # libtasn1 likes to regenerate docs touch doc/stamp_docs -make %{?_smp_mflags} +%make_build %install -make DESTDIR="$RPM_BUILD_ROOT" install +%make_install rm -f $RPM_BUILD_ROOT{%_libdir/*.la,%_infodir/dir} @@ -92,6 +92,10 @@ make check %changelog +* Mon Jul 13 2020 Tom Stellard - 4.16.0-2 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Sun Feb 02 2020 Nikos Mavrogiannopoulos - 4.16.0-1 - Update to 4.14 (#1621973)