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

This commit is contained in:
chenyanpanHW 2021-07-30 21:32:47 +08:00
parent eaa64c70a2
commit dfbcab1d01
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,6 +1,6 @@
Name: sudo
Version: 1.9.5p2
Release: 1
Release: 2
Summary: Allows restricted root access for specified users
License: ISC
URL: http://www.courtesan.com/sudo/
@ -17,7 +17,7 @@ Requires(post): coreutils
BuildRequires: pam-devel groff openldap-devel flex bison automake autoconf libtool
BuildRequires: audit-libs-devel libcap-devel libselinux-devel sendmail gettext zlib-devel
BuildRequires: chrpath git openssl-devel python3-devel
BuildRequires: chrpath openssl-devel python3-devel
%description
Sudo is a program designed to allow a sysadmin to give limited root privileges
@ -35,7 +35,7 @@ plugins that use %{name}.
%package_help
%prep
%autosetup -n %{name}-%{version} -S git
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -I m4 -fv --install
@ -153,6 +153,9 @@ install -p -c -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/sudo-i
%exclude %{_pkgdocdir}/ChangeLog
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.9.5p2-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Wed Jul 7 2021 panxiaohe <panxiaohe@huawei.com> - 1.9.5p2-1
- Update to 1.9.5p2