diff --git a/2.1.0.tar.gz b/2.1.0.tar.gz deleted file mode 100644 index c42ae35..0000000 --- a/2.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4b33f9af3f9208d54a3c3e1a8c149932513f451c98d1dd696fe42c06e30b7f03 -size 175912 diff --git a/2.2.0.tar.gz b/2.2.0.tar.gz new file mode 100644 index 0000000..c177f5e --- /dev/null +++ b/2.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e654bdd5d8b96f03240227ed09057377f06ebad08e1c37d0cfa2abe6ba0cee2 +size 182563 diff --git a/baselibs.conf b/baselibs.conf index cc18d24..d5c6f21 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,3 +1,2 @@ -libplist3 -libplist++3 - +libplist-2_0-3 +libplist++-2_0-3 diff --git a/libplist.changes b/libplist.changes index d34c07a..ce872b3 100644 --- a/libplist.changes +++ b/libplist.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Sun Nov 8 10:54:21 UTC 2020 - Christophe Giboudeaux + +- Update baselibs.conf. +- Stop obsoleting 'virtual' provides. The package manager + will take care of package updates. +- Also rename libplist-devel to libplist-2_0-devel. +- Add missing provides/obsoletes for devel packages. + +------------------------------------------------------------------- +Mon Sep 21 07:37:06 UTC 2020 - Stefan Elser + +- Update to 2.2.0: + - Rename library and all related files by adding an API version resulting in libplist-2.0 and libplist++-2.0 + - bplist: Improve recursion check performance by at least 30% for large files + - Add new plist_val_compare(), plist_val_contains() helper functions + - plistutil: Added ability for files to be read from stdin + - plistutil: Added ability to specify output format + - Fix/suppress several compiler warnings + - Fix: Return NULL from plist_copy() if passed a NULL pointer instead of asserting + - Fix removal of docs directory on make clean + ------------------------------------------------------------------- Thu Mar 12 10:18:43 UTC 2020 - Tomáš Chvátal diff --git a/libplist.spec b/libplist.spec index 16bedb0..f05969c 100644 --- a/libplist.spec +++ b/libplist.spec @@ -16,17 +16,22 @@ # -%define cname libplist3 -%define cppname libplist++3 +%define cname_old libplist3 +%define cppname_old libplist++3 +%define cname libplist-2_0-3 +%define cppname libplist++-2_0-3 Name: libplist -Version: 2.1.0 +Version: 2.2.0 Release: 0 Summary: Library for handling Apple Binary and XML Property Lists License: GPL-2.0-only AND LGPL-2.1-or-later URL: https://github.com/libimobiledevice/libplist Source: https://github.com/libimobiledevice/libplist/archive/%{version}.tar.gz Source99: baselibs.conf -BuildRequires: gcc-c++ autoconf automake libtool +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: python3-Cython >= 0.17 BuildRequires: pkgconfig(python3) @@ -37,7 +42,9 @@ libplist is a library for handling Apple Binary and XML Property Lists. %package -n %{cname} Summary: Library for handling Apple Binary and XML Property Lists Provides: libplist = %{version} -Obsoletes: libplist < %{version} +# The library was renamed for the 2.2.0 update +Provides: %{cname_old} = %{version} +Obsoletes: %{cname_old} < %{version} %description -n %{cname} libplist is a library for handling Apple Binary and XML Property Lists. @@ -45,7 +52,9 @@ libplist is a library for handling Apple Binary and XML Property Lists. %package -n %{cppname} Summary: Library for handling Apple Binary and XML Property Lists Provides: libplist++ = %{version} -Obsoletes: libplist++ < %{version} +# The library was renamed for the 2.2.0 update +Provides: %{cppname_old} = %{version} +Obsoletes: %{cppname_old} < %{version} %description -n %{cppname} libplist is a library for handling Apple Binary and XML Property Lists. @@ -54,7 +63,6 @@ libplist is a library for handling Apple Binary and XML Property Lists. Summary: Library for handling Apple Binary and XML Property Lists Requires: libplist = %{version} Provides: plutil = %{version} -Obsoletes: plutil < %{version} %description -n plistutil libplist is a library for handling Apple Binary and XML Property Lists. @@ -62,21 +70,25 @@ libplist is a library for handling Apple Binary and XML Property Lists. This package contains an utility to convert PList files from binary to XML and from XML to binary. -%package devel +%package -n libplist-2_0-devel Summary: Library for handling Apple Binary and XML Property Lists -- Development Files +Provides: libplist-devel = %{version} +Obsoletes: libplist-devel < %{version} Requires: libplist = %{version} -%description devel +%description -n libplist-2_0-devel libplist is a library for handling Apple Binary and XML Property Lists. This package contains the development files for C. -%package -n libplist++-devel +%package -n libplist++-2_0-devel Summary: Library for handling Apple Binary and XML Property Lists -- Development Files +Provides: libplist++-devel = %{version} +Obsoletes: libplist++-devel < %{version} Requires: libplist++ = %{version} -Requires: pkgconfig(libplist) +Requires: pkgconfig(libplist-2.0) -%description -n libplist++-devel +%description -n libplist++-2_0-devel libplist is a library for handling Apple Binary and XML Property Lists. This package contains the development files for C++. @@ -118,23 +130,24 @@ install -m 0644 cython/plist.pxd %{buildroot}%{_includedir}/plist/cython/plist.p %files -n %{cname} %license COPYING COPYING.LESSER %doc AUTHORS README.md NEWS -%{_libdir}/libplist.so.* +%{_libdir}/libplist-2.0.so.* %files -n %{cppname} %license COPYING COPYING.LESSER %doc AUTHORS README.md NEWS -%{_libdir}/libplist++.so.* +%{_libdir}/libplist++-2.0.so.* %files -n plistutil %{_bindir}/plistutil +%{_mandir}/man1/plistutil.1%{?ext_man} -%files devel +%files -n libplist-2_0-devel %dir %{_includedir}/plist %{_includedir}/plist/plist.h -%{_libdir}/libplist.so -%{_libdir}/pkgconfig/libplist.pc +%{_libdir}/libplist-2.0.so +%{_libdir}/pkgconfig/libplist-2.0.pc -%files -n libplist++-devel +%files -n libplist++-2_0-devel %dir %{_includedir}/plist %{_includedir}/plist/plist++.h %{_includedir}/plist/Array.h @@ -149,8 +162,8 @@ install -m 0644 cython/plist.pxd %{buildroot}%{_includedir}/plist/cython/plist.p %{_includedir}/plist/Real.h %{_includedir}/plist/String.h %{_includedir}/plist/Structure.h -%{_libdir}/libplist++.so -%{_libdir}/pkgconfig/libplist++.pc +%{_libdir}/libplist++-2.0.so +%{_libdir}/pkgconfig/libplist++-2.0.pc %files -n python3-plist %dir %{_includedir}/plist/cython