Remove self-dependency

(cherry picked from commit 8a6f0c622aee436cc460ce8959b1cab6c3a0e165)
This commit is contained in:
lyn1001 2022-04-13 17:22:43 +08:00 committed by openeuler-sync-bot
parent 461cba4281
commit 93d168fec9

View File

@ -1,12 +1,12 @@
Name: libplist
Version: 2.2.0
Release: 2
Release: 3
Summary: A library to handle Apple Property List format in binary or XML
License: LGPLv2+
URL: http://www.libimobiledevice.org/
Source0: https://github.com/libimobiledevice/libplist/releases/download/%{version}/%{name}-%{version}.tar.bz2
BuildRequires: automake autoconf libtool chrpath gcc gcc-c++ python3-devel python3-Cython python3-setuptools libplist libplist-devel
BuildRequires: automake autoconf libtool chrpath gcc gcc-c++ python3-devel python3-Cython python3-setuptools
%description
A small portable C library to handle Apple Property List files in binary or XML.
@ -43,10 +43,6 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%install
%make_install
%delete_la
cp -a %{_libdir}/libplist.so.3* %{buildroot}%{_libdir}
cp -a %{_libdir}/libplist++.so.3* %{buildroot}%{_libdir}
cp -a %{_libdir}/libplist.so %{buildroot}%{_libdir}
cp -a %{_libdir}/libplist++.so %{buildroot}%{_libdir}
%check
make check
@ -77,6 +73,9 @@ make check
%{_libdir}/python3*/site-packages/*
%changelog
* Wed Apr 13 2022 liyanan <liyanan32@h-partners.com> - 2.2.0-3
- Remove self-dependency
* Tue Sep 8 2020 wangchen <wangchen137@huawei.com> - 2.2.0-2
- Type:enhancement
- ID:NA