!5 cachefilesd delete -S git from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
This commit is contained in:
openeuler-ci-bot 2021-07-31 02:46:20 +00:00 committed by Gitee
commit b0eeb21f32

View File

@ -1,13 +1,13 @@
Name: cachefilesd
Version: 0.10.10
Release: 7
Release: 8
Summary: CacheFiles user-space management daemon
Group: System Environment/Daemons
License: GPLv2+
URL: http://people.redhat.com/~dhowells/fscache/
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(preun): systemd-units
Requires(postun): systemd-units
@ -25,7 +25,7 @@ Summary:Files for cachefilesd help
Files for cachefilesd help
%prep
%autosetup -n %{name}-%{version} -S git -p1
%autosetup -n %{name}-%{version} -p1
%build
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}/*/*
%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
- Type:bugfix
- ID:NA