From 15263b0ea59d401906589a7f6542d0d9f621b6ce Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Jul 13 2020 22:40:59 +0000 Subject: Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- diff --git a/libusbmuxd.spec b/libusbmuxd.spec index 51fcfc9..19261db 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,6 +1,6 @@ Name: libusbmuxd Version: 2.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Client library USB multiplex daemon for Apple's iOS devices License: LGPLv2+ @@ -43,10 +43,10 @@ NOCONFIGURE=1 ./autogen.sh 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} V=1 +%make_build %install -make install DESTDIR=%{buildroot} INSTALL='install -p' +%make_install #Remove libtool archives. find %{buildroot} -type f -name "*.la" -delete @@ -73,6 +73,10 @@ make check %{_libdir}/libusbmuxd-2.0.so %changelog +* Mon Jul 13 2020 Tom Stellard - 2.0.2-2 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Tue Jun 16 2020 Bastien Nocera - 2.0.2-1 + libusbmuxd-2.0.2-1 - Update to 2.0.2