From d0f10df31855f91cfa0cfcb8b667883188663e79 Mon Sep 17 00:00:00 2001 From: Kalev Lember klember@redhat.com Date: Thu, 9 Mar 2017 17:29:42 +0100 Subject: Sync with RHEL 7 spec file
- Remove lib64 rpaths - Disable strict aliasing as it's not strict-aliasing clean on ppc64el - Don't redefine licensedir --- libplist.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/libplist.spec b/libplist.spec index c520fbc..7ed1d1e 100644 --- a/libplist.spec +++ b/libplist.spec @@ -2,7 +2,7 @@
Name: libplist Version: 1.12 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Library for manipulating Apple Binary and XML Property Lists
Group: System Environment/Libraries @@ -41,6 +41,8 @@ Requires: python %setup -q
%build +export CFLAGS='%optflags -fno-strict-aliasing' +export CXXFLAGS='%optflags -fno-strict-aliasing' %configure --disable-static
make V=1 @@ -50,6 +52,10 @@ make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
+chrpath --delete $RPM_BUILD_ROOT%{_bindir}/plistutil +chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libplist++.so.3* +chrpath --delete $RPM_BUILD_ROOT%{python_sitearch}/plist* + %check make check
@@ -58,7 +64,6 @@ make check %postun -p /sbin/ldconfig
%files -%{!?_licensedir:%global license %%doc} %license COPYING.LESSER %doc AUTHORS README %{_bindir}/plistutil @@ -76,6 +81,11 @@ make check %{python_sitearch}/plist*
%changelog +* Thu Mar 09 2017 Kalev Lember klember@redhat.com - 1.12-9 +- Remove lib64 rpaths +- Disable strict aliasing as it's not strict-aliasing clean on ppc64el +- Don't redefine licensedir + * Fri Feb 10 2017 Fedora Release Engineering releng@fedoraproject.org - 1.12-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
scm-commits@lists.fedoraproject.org