delete -Sgit in %autosetup in spec file

We no need to use -Sgit in %autosetup. If use,the spec needs to add the buildrequire to git
This commit is contained in:
hy 2020-03-25 16:56:20 +08:00 committed by Gitee
parent 6f25c8bba4
commit 743214242b

View File

@ -3,7 +3,7 @@
Name: libusbx
Version: 1.0.22
Release: 2
Release: 3
Summary: Library for accessing USB devices
License: LGPLv2+
URL: http://libusb.info
@ -30,7 +30,7 @@ Obsoletes: libusbx-devel-doc
The %{name}-devel package contains libraries and header files.
%prep
%autosetup -n %{source}-%{version} -p1 -Sgit
%autosetup -n %{source}-%{version} -p1
mkdir -p m4
autoreconf -ivf
@ -57,5 +57,8 @@ make docs -C doc
%{_libdir}/pkgconfig/libusb-1.0.pc
%changelog
* Wed Mar 25 2020 hy-euler <eulerstoragemt@huawei.com> - 1.0.22-3
- delete -Sgit in %autosetup
* Sat Aug 31 2019 suweifeng <suweifeng1@huawei.com> - 1.0.22-2
- Package init