delete -S git from %autosetup, and delete BuildRequires git-core

This commit is contained in:
chenyanpanHW 2021-07-30 22:59:32 +08:00
parent d7be0f19db
commit ea6de99698
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,12 +1,12 @@
Name: libimobiledevice Name: libimobiledevice
Version: 1.3.0 Version: 1.3.0
Release: 1 Release: 2
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 git-core libusbmuxd-devel libusbx-devel libimobiledevice BuildRequires: autoconf automake glib2-devel gnutls-devel libusbmuxd-devel libusbx-devel libimobiledevice
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
@ -30,7 +30,7 @@ Files for help with libimobiledevice.
%prep %prep
%autosetup -S git %autosetup -p1
chmod ugo+x docs/html chmod ugo+x docs/html
ACLOCAL="aclocal -I m4" autoreconf -f -i ACLOCAL="aclocal -I m4" autoreconf -f -i
@ -68,6 +68,9 @@ cp -a %{_libdir}/libimobiledevice.so.6.0.0 $RPM_BUILD_ROOT%{_libdir}
%doc AUTHORS README.md %doc AUTHORS README.md
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.3.0-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git-core
* Thu Aug 6 2020 zhanzhimin <zhanzhimin@huawei.com> - 1.3.0-1 * Thu Aug 6 2020 zhanzhimin <zhanzhimin@huawei.com> - 1.3.0-1
- Update to 1.3.0 - Update to 1.3.0