From de6c7d33adfa7ff39ab0dac977daae692a3132f8 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Jul 2020 17:56:41 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- libwpd.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libwpd.spec b/libwpd.spec index 199eb0d..c81b090 100644 --- a/libwpd.spec +++ b/libwpd.spec @@ -3,7 +3,7 @@ Name: libwpd Summary: A library for import of WordPerfect documents Version: 0.10.3 -Release: 4%{?dist} +Release: 5%{?dist} Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz URL: http://libwpd.sf.net/ License: LGPLv2+ or MPLv2.0 @@ -49,10 +49,10 @@ The %{name}-doc package contains API documentation for %{name}. %configure --disable-static --disable-silent-rules sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -make %{?_smp_mflags} +%make_build %install -make DESTDIR=$RPM_BUILD_ROOT install +%make_install rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la # we install API docs directly from build rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name} @@ -93,6 +93,10 @@ install -m 0644 wpd2*.1 %{buildroot}/%{_mandir}/man1 %doc docs/%{name}.png %changelog +* Tue Jul 14 2020 Tom Stellard - 0.10.3-5 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Wed Jan 29 2020 Fedora Release Engineering - 0.10.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild