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
This commit is contained in:
parent
2857278e8c
commit
d0f10df318
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user