From d79994ffa15276357376c7b7d2e54907d1d1ccec Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Jul 2020 16:37:17 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- libodfgen.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libodfgen.spec b/libodfgen.spec index eea3688..3c5911b 100644 --- a/libodfgen.spec +++ b/libodfgen.spec @@ -2,7 +2,7 @@ Name: libodfgen Version: 0.1.7 -Release: 6%{?dist} +Release: 7%{?dist} Summary: An ODF generator library License: LGPLv2+ or MPLv2.0 @@ -43,10 +43,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} +%make_install rm -f %{buildroot}/%{_libdir}/*.la # we install API docs directly from build rm -rf %{buildroot}/%{_docdir}/%{name} @@ -69,6 +69,10 @@ rm -rf %{buildroot}/%{_docdir}/%{name} %doc docs/doxygen/html %changelog +* Tue Jul 14 2020 Tom Stellard - 0.1.7-7 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Wed Jan 29 2020 Fedora Release Engineering - 0.1.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild