From d0f14c9876b66823af675a02ecb5b78847b3cb7c Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 13 Jul 2020 20:55:52 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- libeot.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libeot.spec b/libeot.spec index 95d017c..48ba549 100644 --- a/libeot.spec +++ b/libeot.spec @@ -1,6 +1,6 @@ Name: libeot Version: 0.01 -Release: 13%{?dist} +Release: 14%{?dist} Summary: A library for parsing Embedded OpenType font files License: MPLv2.0 @@ -38,10 +38,10 @@ sed -i \ -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \ libtool -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=%{buildroot} INSTALL='install -p' +%make_install rm -f %{buildroot}/%{_libdir}/*.la %ldconfig_scriptlets @@ -60,6 +60,10 @@ rm -f %{buildroot}/%{_libdir}/*.la %{_bindir}/eot2ttf %changelog +* Mon Jul 13 2020 Tom Stellard - 0.01-14 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Wed Jan 29 2020 Fedora Release Engineering - 0.01-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild