From 0fea406bf6178f06e7d804645edae76f40491702 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Jul 2020 16:37:51 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- liborcus.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/liborcus.spec b/liborcus.spec index 7437a36..dc32ada 100644 --- a/liborcus.spec +++ b/liborcus.spec @@ -7,7 +7,7 @@ Name: liborcus Version: 0.15.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Standalone file import filter library for spreadsheet documents License: MPLv2.0 @@ -91,10 +91,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 %{buildroot}%{python3_sitearch}/*.la %if %{with convtools} @@ -182,6 +182,10 @@ make doc-doxygen %doc doc/_doxygen/html %changelog +* Tue Jul 14 2020 Tom Stellard - 0.15.3-5 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Thu May 28 2020 Jonathan Wakely - 0.15.3-4 - Rebuilt for Boost 1.73