From 8155c6f0b78ba304577389c8ca07224a327ab9ee Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 17 Aug 2016 11:43:41 +0200 Subject: [PATCH] Use make_install and make_build macros --- libgexiv2.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libgexiv2.spec b/libgexiv2.spec index 8108fd6..440920e 100644 --- a/libgexiv2.spec +++ b/libgexiv2.spec @@ -64,10 +64,10 @@ This package contains the python3 bindings for %{name} %build %configure --enable-tests --enable-introspection --enable-static=no --enable-shared=yes -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' # move introspection typelib to correct location @@ -115,6 +115,7 @@ mv $RPM_BUILD_ROOT%{_datadir}/gir-1.0/GExiv2-0.10.typelib \ - Update to 0.10.4 - Use license macro for COPYING - Rename python2 and python3 subpackages are per latest guidelines +- Use make_install and make_build macros * Tue Jul 19 2016 Fedora Release Engineering - 0.10.3-7 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages