!16 cronie delete -S git from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
This commit is contained in:
openeuler-ci-bot 2021-08-19 08:15:19 +00:00 committed by Gitee
commit ca440e4fb0

View File

@ -1,6 +1,6 @@
Name: cronie
Version: 1.5.5
Release: 3
Release: 4
Summary: Standard UNIX daemon crond
License: GPLv2+ and ISC
URL: https://github.com/cronie-crond/cronie
@ -15,7 +15,7 @@ Patch4: Ensure-the-command-name-is-not-null-before-logging-i.patch
Patch5: Handle-out-of-memory-condition-from-mkprints-call.patch
BuildRequires: automake
BuildRequires: gcc systemd libselinux-devel pam-devel audit-libs-devel git
BuildRequires: gcc systemd libselinux-devel pam-devel audit-libs-devel
Requires: libselinux pam crontabs
Requires(preun): systemd
@ -38,7 +38,7 @@ BuildArch:noarch
Man pages and other related documents for cronie.
%prep
%autosetup -n %{name}-%{version} -S git
%autosetup -n %{name}-%{version} -p1
%build
%configure \
@ -123,6 +123,9 @@ systemctl try-restart crond.service >/dev/null 2>&1 || :
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.5.5-4
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Fri May 28 2021 panxiaohe <panxiaohe@huawei.com> - 1.5.5-3
- Add automake BuildRequires to use the aclocal program