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

This commit is contained in:
chenyanpanHW 2021-07-30 22:25:30 +08:00
parent 1f91d9736c
commit 15c4d73def
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,13 +1,13 @@
Name: cachefilesd Name: cachefilesd
Version: 0.10.10 Version: 0.10.10
Release: 7 Release: 8
Summary: CacheFiles user-space management daemon Summary: CacheFiles user-space management daemon
Group: System Environment/Daemons Group: System Environment/Daemons
License: GPLv2+ License: GPLv2+
URL: http://people.redhat.com/~dhowells/fscache/ URL: http://people.redhat.com/~dhowells/fscache/
Source0: https://people.redhat.com/dhowells/cachefs/cachefilesd-%{version}.tar.bz2 Source0: https://people.redhat.com/dhowells/cachefs/cachefilesd-%{version}.tar.bz2
BuildRequires: gcc systemd-units git BuildRequires: gcc systemd-units
Requires(post): systemd-units Requires(post): systemd-units
Requires(preun): systemd-units Requires(preun): systemd-units
Requires(postun): systemd-units Requires(postun): systemd-units
@ -25,7 +25,7 @@ Summary:Files for cachefilesd help
Files for cachefilesd help Files for cachefilesd help
%prep %prep
%autosetup -n %{name}-%{version} -S git -p1 %autosetup -n %{name}-%{version} -p1
%build %build
make all CFLAGS="-Wall -Werror $RPM_OPT_FLAGS $RPM_LD_FLAGS $ARCH_OPT_FLAGS" make all CFLAGS="-Wall -Werror $RPM_OPT_FLAGS $RPM_LD_FLAGS $ARCH_OPT_FLAGS"
@ -62,6 +62,9 @@ install -D -m 644 cachefilesd.service %{buildroot}%{_unitdir}/cachefilesd.servic
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.10.10-8
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Tue Sep 8 2020 lihaotian<lihaotian9@huawei.com> - 0.10.10-7 * Tue Sep 8 2020 lihaotian<lihaotian9@huawei.com> - 0.10.10-7
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA