+ libplist-2.1.0-1

Update to 2.1.0
This commit is contained in:
Bastien Nocera 2019-11-25 11:54:59 +01:00
parent 7d332a2ab4
commit e6426d8a3b
3 changed files with 13 additions and 10 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/libplist-*.tar.bz2
/2.1.0.tar.gz

View File

@ -1,17 +1,13 @@
%{!?python3_sitearch: %global python_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
Name: libplist
Version: 2.0.0
Release: 15%{?dist}
Version: 2.1.0
Release: 1%{?dist}
Summary: Library for manipulating Apple Binary and XML Property Lists
License: LGPLv2+
URL: http://www.libimobiledevice.org/
Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
# Add Python 3.8 compatibility
# Reported upstream: https://github.com/libimobiledevice/libplist/issues/137
Patch0: python38-compat.patch
Source0: https://github.com/libimobiledevice/%{name}/archive/%{version}.tar.gz
BuildRequires: chrpath
BuildRequires: gcc gcc-c++
@ -51,9 +47,11 @@ Requires: python3
%prep
%autosetup -p1
ACLOCAL="aclocal -I m4" autoreconf -f -i
NOCONFIGURE=1 ./autogen.sh
%build
export CC=gcc
export CXX=g++
export CFLAGS='%optflags -fno-strict-aliasing'
export CXXFLAGS='%optflags -fno-strict-aliasing'
export PYTHON='python3'
@ -77,7 +75,7 @@ make check
%files
%license COPYING.LESSER
%doc AUTHORS README
%doc AUTHORS README.md
%{_bindir}/plistutil
%{_libdir}/libplist.so.3*
%{_libdir}/libplist++.so.3*
@ -93,6 +91,10 @@ make check
%{python3_sitearch}/plist*
%changelog
* Sat Nov 23 2019 Bastien Nocera <bnocera@redhat.com> - 2.1.0-1
+ libplist-2.1.0-1
- Update to 2.1.0
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-15
- Rebuilt for Python 3.8

View File

@ -1 +1 @@
SHA512 (libplist-2.0.0.tar.bz2) = 81508bf6773483528816725c3b5b868563b84fd7810999404072e5ea9efa7fc9f11ef997f32208e4421aa26b15edd0c65f87c67c1472e8c4e356f1e9fe7740ee
SHA512 (2.1.0.tar.gz) = c06a500c16775974e48a503fa484849a96e2aed50c18cab2a4002f92a64a22b20fb6fee991ac115dc4e55d7d7894d8e9f30c35ea96bc4ade943de031559d7453