Update to upstream 2.0.0, Fixes the following CVEs plus others CVE-2017-6440 CVE-2017-6439 CVE-2017-6438 CVE-2017-6437 CVE-2017-6436 CVE-2017-6435 CVE-2017-5836 CVE-2017-5835 CVE-2017-5834 CVE-2017-5545 CVE-2017-5209
This commit is contained in:
parent
d0f10df318
commit
55d155fa32
@ -1,18 +1,16 @@
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
|
||||
Name: libplist
|
||||
Version: 1.12
|
||||
Release: 9%{?dist}
|
||||
Summary: Library for manipulating Apple Binary and XML Property Lists
|
||||
Name: libplist
|
||||
Version: 2.0.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Library for manipulating Apple Binary and XML Property Lists
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
URL: http://www.libimobiledevice.org/
|
||||
Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
|
||||
License: LGPLv2+
|
||||
URL: http://www.libimobiledevice.org/
|
||||
Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: Cython
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
|
||||
@ -21,21 +19,20 @@ libplist is a library for manipulating Apple Binary and XML Property Lists
|
||||
|
||||
%package devel
|
||||
Summary: Development package for libplist
|
||||
Group: Development/Libraries
|
||||
Requires: libplist = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
%{name}, development headers and libraries.
|
||||
|
||||
%package python
|
||||
Summary: Python package for libplist
|
||||
Group: Development/Libraries
|
||||
Requires: libplist = %{version}-%{release}
|
||||
Summary: Python2 bindings for libplist
|
||||
%{?python_provide:%python_provide python2-libplist}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: python
|
||||
|
||||
%description python
|
||||
%{name}, python libraries and support
|
||||
%{name}, python2 libraries and bindings.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@ -45,10 +42,10 @@ export CFLAGS='%optflags -fno-strict-aliasing'
|
||||
export CXXFLAGS='%optflags -fno-strict-aliasing'
|
||||
%configure --disable-static
|
||||
|
||||
make V=1
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
||||
|
||||
@ -81,6 +78,13 @@ make check
|
||||
%{python_sitearch}/plist*
|
||||
|
||||
%changelog
|
||||
* Wed Apr 26 2017 Peter Robinson <pbrobinson@fedoraproject.org> 2.0.0-1
|
||||
- Update to upstream 2.0.0
|
||||
- Fixes the following CVEs plus others
|
||||
- CVE-2017-6440 CVE-2017-6439 CVE-2017-6438 CVE-2017-6437 CVE-2017-6436
|
||||
- CVE-2017-6435 CVE-2017-5836 CVE-2017-5835 CVE-2017-5834 CVE-2017-5545
|
||||
- CVE-2017-5209
|
||||
|
||||
* 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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user