!6 delete useless old version dynamic library
From: @panxh_purple Reviewed-by: @yanan-rock Signed-off-by: @yanan-rock
This commit is contained in:
commit
b2d4a1fe4b
@ -1,12 +1,12 @@
|
||||
Name: libimobiledevice
|
||||
Version: 1.3.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: A library and tools to communicate with mobile devices
|
||||
License: LGPLv2+
|
||||
URL: http://www.libimobiledevice.org/
|
||||
Source0: http://github.com/libimobiledevice/%{name}/releases/download/%{version}/%{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: autoconf automake glib2-devel gnutls-devel libusbmuxd-devel libusbx-devel libimobiledevice
|
||||
BuildRequires: autoconf automake glib2-devel gnutls-devel libusbmuxd-devel libusbx-devel
|
||||
BuildRequires: libgcrypt-devel libplist-devel libtool libtasn1-devel libxml2-devel readline-devel swig
|
||||
Obsoletes: libimobiledevice-utils
|
||||
Provides: libimobiledevice-utils
|
||||
@ -44,8 +44,6 @@ sed -i -e 's/^hardcode_libdir_flag_spec=.*/hardcode_libdir_flag_spec=""/g' \
|
||||
%make_install
|
||||
mv COPYING.LESSER COPYING
|
||||
%delete_la_and_a
|
||||
cp -a %{_libdir}/libimobiledevice.so.6 $RPM_BUILD_ROOT%{_libdir}
|
||||
cp -a %{_libdir}/libimobiledevice.so.6.0.0 $RPM_BUILD_ROOT%{_libdir}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
@ -54,7 +52,6 @@ cp -a %{_libdir}/libimobiledevice.so.6.0.0 $RPM_BUILD_ROOT%{_libdir}
|
||||
%files
|
||||
%doc COPYING
|
||||
%{_libdir}/libimobiledevice-1.0.so.6*
|
||||
%{_libdir}/libimobiledevice.so.6*
|
||||
%{_bindir}/idevice*
|
||||
|
||||
%files devel
|
||||
@ -68,6 +65,9 @@ cp -a %{_libdir}/libimobiledevice.so.6.0.0 $RPM_BUILD_ROOT%{_libdir}
|
||||
%doc AUTHORS README.md
|
||||
|
||||
%changelog
|
||||
* Fri Apr 15 2022 panxiaohe <panxh.life@foxmail.com> - 1.3.0-3
|
||||
- delete useless old version dynamic library
|
||||
|
||||
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.3.0-2
|
||||
- DESC: delete -S git from %autosetup, and delete BuildRequires git-core
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user