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

This commit is contained in:
chenyanpanHW 2021-07-30 23:10:03 +08:00
parent d88dd838ec
commit c3111fefd2
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

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