diff --git a/.gitignore b/.gitignore index cd095cc..e742357 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /libplist-*.tar.bz2 +/2.1.0.tar.gz diff --git a/libplist.spec b/libplist.spec index 6e2eba4..e61654d 100644 --- a/libplist.spec +++ b/libplist.spec @@ -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 - 2.1.0-1 ++ libplist-2.1.0-1 +- Update to 2.1.0 + * Mon Aug 19 2019 Miro HronĨok - 2.0.0-15 - Rebuilt for Python 3.8 diff --git a/sources b/sources index 5ab9452..cd5a691 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libplist-2.0.0.tar.bz2) = 81508bf6773483528816725c3b5b868563b84fd7810999404072e5ea9efa7fc9f11ef997f32208e4421aa26b15edd0c65f87c67c1472e8c4e356f1e9fe7740ee +SHA512 (2.1.0.tar.gz) = c06a500c16775974e48a503fa484849a96e2aed50c18cab2a4002f92a64a22b20fb6fee991ac115dc4e55d7d7894d8e9f30c35ea96bc4ade943de031559d7453