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

From: @chenyanpanHW
Reviewed-by: @zengwefeng
Signed-off-by: @zengwefeng
This commit is contained in:
openeuler-ci-bot 2021-08-02 01:35:07 +00:00 committed by Gitee
commit f8af38c8fb

View File

@ -1,13 +1,12 @@
Name: ntpstat
Version: 0.6
Release: 1
Release: 2
Summary: Print NTP synchronisation status
License: MIT
URL: https://github.com/mlichvar/ntpstat
Source0: https://github.com/mlichvar/ntpstat/archive/%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: git
Requires: (ntp or chrony)
%description
@ -23,7 +22,7 @@ Contains secondary development documentation and interface function
descriptions, man, info, etc. related documents and manuals for %{name}
%prep
%autosetup -n %{name}-%{version} -p1 -S git
%autosetup -n %{name}-%{version} -p1
%build
@ -44,6 +43,9 @@ install -p -m644 ./ntpstat.1 $RPM_BUILD_ROOT%{_mandir}/man1
%{_mandir}/man1/ntpstat.*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.6-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Wed Jul 22 2020 yuboyun<yuboyun@huawei.com> - 0.6-1
- Type:bugfix
- ID:NA