Accepting request 937778 from hardware
OBS-URL: https://build.opensuse.org/request/show/937778 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=35
This commit is contained in:
commit
227debb0f2
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 6 12:13:55 UTC 2021 - Fabian Vogt <fvogt@suse.com>
|
||||||
|
|
||||||
|
- Drop incorrect Provides/Obsoletes of library packages
|
||||||
|
- Avoid libplist{,++} capabilities by using the library names directly
|
||||||
|
- Use %autosetup
|
||||||
|
- Use install with -D instead of mkdir
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 28 16:56:24 UTC 2021 - Michael Gorse <mgorse@suse.com>
|
Tue Sep 28 16:56:24 UTC 2021 - Michael Gorse <mgorse@suse.com>
|
||||||
|
|
||||||
|
@ -16,8 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define cname_old libplist3
|
|
||||||
%define cppname_old libplist++3
|
|
||||||
%define cname libplist-2_0-3
|
%define cname libplist-2_0-3
|
||||||
%define cppname libplist++-2_0-3
|
%define cppname libplist++-2_0-3
|
||||||
Name: libplist
|
Name: libplist
|
||||||
@ -41,27 +39,19 @@ 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}
|
|
||||||
# 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.
|
||||||
|
|
||||||
%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}
|
|
||||||
# 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.
|
||||||
|
|
||||||
%package -n plistutil
|
%package -n plistutil
|
||||||
Summary: Library for handling Apple Binary and XML Property Lists
|
Summary: Library for handling Apple Binary and XML Property Lists
|
||||||
Requires: libplist = %{version}
|
Requires: %{cname} = %{version}
|
||||||
Provides: plutil = %{version}
|
Provides: plutil = %{version}
|
||||||
|
|
||||||
%description -n plistutil
|
%description -n plistutil
|
||||||
@ -74,7 +64,7 @@ from XML to binary.
|
|||||||
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}
|
Provides: libplist-devel = %{version}
|
||||||
Obsoletes: libplist-devel < %{version}
|
Obsoletes: libplist-devel < %{version}
|
||||||
Requires: libplist = %{version}
|
Requires: %{cname} = %{version}
|
||||||
|
|
||||||
%description -n libplist-2_0-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.
|
||||||
@ -85,7 +75,7 @@ This package contains the development files for C.
|
|||||||
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}
|
Provides: libplist++-devel = %{version}
|
||||||
Obsoletes: libplist++-devel < %{version}
|
Obsoletes: libplist++-devel < %{version}
|
||||||
Requires: libplist++ = %{version}
|
Requires: %{cppname} = %{version}
|
||||||
Requires: pkgconfig(libplist-2.0)
|
Requires: pkgconfig(libplist-2.0)
|
||||||
|
|
||||||
%description -n libplist++-2_0-devel
|
%description -n libplist++-2_0-devel
|
||||||
@ -106,7 +96,7 @@ libplist is a library for handling Apple Binary and XML Property Lists.
|
|||||||
This package contains the python bindings.
|
This package contains the python bindings.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fvi
|
autoreconf -fvi
|
||||||
@ -121,8 +111,7 @@ TZ=Europe/Vienna make check VERBOSE=1
|
|||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
# needed by python-imobiledevice build
|
# needed by python-imobiledevice build
|
||||||
mkdir -p %{buildroot}%{_includedir}/plist/cython
|
install -D -m 0644 cython/plist.pxd %{buildroot}%{_includedir}/plist/cython/plist.pxd
|
||||||
install -m 0644 cython/plist.pxd %{buildroot}%{_includedir}/plist/cython/plist.pxd
|
|
||||||
|
|
||||||
%post -n %{cname} -p /sbin/ldconfig
|
%post -n %{cname} -p /sbin/ldconfig
|
||||||
%postun -n %{cname} -p /sbin/ldconfig
|
%postun -n %{cname} -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user