Accepting request 846930 from home:cgiboudeaux:branches:hardware

- 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.

- 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

OBS-URL: https://build.opensuse.org/request/show/846930
OBS-URL: https://build.opensuse.org/package/show/hardware/libplist?expand=0&rev=10
This commit is contained in:
Michal Suchanek 2020-12-11 18:03:33 +00:00 committed by Git OBS Bridge
parent de35066b1f
commit b2b66558d4
5 changed files with 60 additions and 26 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4b33f9af3f9208d54a3c3e1a8c149932513f451c98d1dd696fe42c06e30b7f03
size 175912

3
2.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7e654bdd5d8b96f03240227ed09057377f06ebad08e1c37d0cfa2abe6ba0cee2
size 182563

View File

@ -1,3 +1,2 @@
libplist3 libplist-2_0-3
libplist++3 libplist++-2_0-3

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Sun Nov 8 10:54:21 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
- 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 <suse@foomaster.de>
- 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 <tchvatal@suse.com> Thu Mar 12 10:18:43 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -16,17 +16,22 @@
# #
%define cname libplist3 %define cname_old libplist3
%define cppname libplist++3 %define cppname_old libplist++3
%define cname libplist-2_0-3
%define cppname libplist++-2_0-3
Name: libplist Name: libplist
Version: 2.1.0 Version: 2.2.0
Release: 0 Release: 0
Summary: Library for handling Apple Binary and XML Property Lists Summary: Library for handling Apple Binary and XML Property Lists
License: GPL-2.0-only AND LGPL-2.1-or-later License: GPL-2.0-only AND LGPL-2.1-or-later
URL: https://github.com/libimobiledevice/libplist URL: https://github.com/libimobiledevice/libplist
Source: https://github.com/libimobiledevice/libplist/archive/%{version}.tar.gz Source: https://github.com/libimobiledevice/libplist/archive/%{version}.tar.gz
Source99: baselibs.conf Source99: baselibs.conf
BuildRequires: gcc-c++ autoconf automake libtool BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python3-Cython >= 0.17 BuildRequires: python3-Cython >= 0.17
BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(python3)
@ -37,7 +42,9 @@ libplist is a library for handling Apple Binary and XML Property Lists.
%package -n %{cname} %package -n %{cname}
Summary: Library for handling Apple Binary and XML Property Lists Summary: Library for handling Apple Binary and XML Property Lists
Provides: libplist = %{version} 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} %description -n %{cname}
libplist is a library for handling Apple Binary and XML Property Lists. 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} %package -n %{cppname}
Summary: Library for handling Apple Binary and XML Property Lists Summary: Library for handling Apple Binary and XML Property Lists
Provides: libplist++ = %{version} 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} %description -n %{cppname}
libplist is a library for handling Apple Binary and XML Property Lists. 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 Summary: Library for handling Apple Binary and XML Property Lists
Requires: libplist = %{version} Requires: libplist = %{version}
Provides: plutil = %{version} Provides: plutil = %{version}
Obsoletes: plutil < %{version}
%description -n plistutil %description -n plistutil
libplist is a library for handling Apple Binary and XML Property Lists. 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 This package contains an utility to convert PList files from binary to XML and
from XML to binary. from XML to binary.
%package devel %package -n libplist-2_0-devel
Summary: Library for handling Apple Binary and XML Property Lists -- Development Files Summary: Library for handling Apple Binary and XML Property Lists -- Development Files
Provides: libplist-devel = %{version}
Obsoletes: libplist-devel < %{version}
Requires: libplist = %{version} Requires: libplist = %{version}
%description devel %description -n libplist-2_0-devel
libplist is a library for handling Apple Binary and XML Property Lists. libplist is a library for handling Apple Binary and XML Property Lists.
This package contains the development files for C. 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 Summary: Library for handling Apple Binary and XML Property Lists -- Development Files
Provides: libplist++-devel = %{version}
Obsoletes: libplist++-devel < %{version}
Requires: libplist++ = %{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. libplist is a library for handling Apple Binary and XML Property Lists.
This package contains the development files for C++. 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} %files -n %{cname}
%license COPYING COPYING.LESSER %license COPYING COPYING.LESSER
%doc AUTHORS README.md NEWS %doc AUTHORS README.md NEWS
%{_libdir}/libplist.so.* %{_libdir}/libplist-2.0.so.*
%files -n %{cppname} %files -n %{cppname}
%license COPYING COPYING.LESSER %license COPYING COPYING.LESSER
%doc AUTHORS README.md NEWS %doc AUTHORS README.md NEWS
%{_libdir}/libplist++.so.* %{_libdir}/libplist++-2.0.so.*
%files -n plistutil %files -n plistutil
%{_bindir}/plistutil %{_bindir}/plistutil
%{_mandir}/man1/plistutil.1%{?ext_man}
%files devel %files -n libplist-2_0-devel
%dir %{_includedir}/plist %dir %{_includedir}/plist
%{_includedir}/plist/plist.h %{_includedir}/plist/plist.h
%{_libdir}/libplist.so %{_libdir}/libplist-2.0.so
%{_libdir}/pkgconfig/libplist.pc %{_libdir}/pkgconfig/libplist-2.0.pc
%files -n libplist++-devel %files -n libplist++-2_0-devel
%dir %{_includedir}/plist %dir %{_includedir}/plist
%{_includedir}/plist/plist++.h %{_includedir}/plist/plist++.h
%{_includedir}/plist/Array.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/Real.h
%{_includedir}/plist/String.h %{_includedir}/plist/String.h
%{_includedir}/plist/Structure.h %{_includedir}/plist/Structure.h
%{_libdir}/libplist++.so %{_libdir}/libplist++-2.0.so
%{_libdir}/pkgconfig/libplist++.pc %{_libdir}/pkgconfig/libplist++-2.0.pc
%files -n python3-plist %files -n python3-plist
%dir %{_includedir}/plist/cython %dir %{_includedir}/plist/cython