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