From 11c7b5ff217732cd512a94af2fe105fc6bada855 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Jul 2020 16:40:59 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- libpagemaker.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libpagemaker.spec b/libpagemaker.spec index 5d04eb0..a8d608d 100644 --- a/libpagemaker.spec +++ b/libpagemaker.spec @@ -2,7 +2,7 @@ Name: libpagemaker Version: 0.0.4 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A library for import of Adobe PageMaker documents License: MPLv2.0 @@ -53,10 +53,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} @@ -95,6 +95,10 @@ install -m 0644 pmd2*.1 %{buildroot}/%{_mandir}/man1 %{_mandir}/man1/pmd2text.1* %changelog +* Tue Jul 14 2020 Tom Stellard - 0.0.4-9 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Wed Jan 29 2020 Fedora Release Engineering - 0.0.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild