diff --git a/libplist.spec b/libplist.spec index e61654d..700d281 100644 --- a/libplist.spec +++ b/libplist.spec @@ -2,7 +2,7 @@ Name: libplist Version: 2.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for manipulating Apple Binary and XML Property Lists License: LGPLv2+ @@ -50,17 +50,17 @@ Requires: python3 NOCONFIGURE=1 ./autogen.sh %build -export CC=gcc -export CXX=g++ +export CC=%{__cc} +export CXX=%{__cxx} export CFLAGS='%optflags -fno-strict-aliasing' export CXXFLAGS='%optflags -fno-strict-aliasing' export PYTHON='python3' %configure --disable-static -make %{?_smp_mflags} V=1 +%make_build V=1 %install -make install DESTDIR=%{buildroot} +%make_install find $RPM_BUILD_ROOT -type f -name "*.la" -delete @@ -91,6 +91,9 @@ make check %{python3_sitearch}/plist* %changelog +* Sat Jan 18 2020 Tom Stellard - 2.1.0-2 +- Spec cleanup: Use make_build, make_install, __cc, and __cxx macros + * Sat Nov 23 2019 Bastien Nocera - 2.1.0-1 + libplist-2.1.0-1 - Update to 2.1.0