!20 sudo delete -S git from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @licihua
Signed-off-by: @licihua
This commit is contained in:
openeuler-ci-bot 2021-08-12 07:30:58 +00:00 committed by Gitee
commit b624b406a5

View File

@ -1,6 +1,6 @@
Name: sudo Name: sudo
Version: 1.9.5p2 Version: 1.9.5p2
Release: 1 Release: 2
Summary: Allows restricted root access for specified users Summary: Allows restricted root access for specified users
License: ISC License: ISC
URL: http://www.courtesan.com/sudo/ 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: pam-devel groff openldap-devel flex bison automake autoconf libtool
BuildRequires: audit-libs-devel libcap-devel libselinux-devel sendmail gettext zlib-devel 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 %description
Sudo is a program designed to allow a sysadmin to give limited root privileges Sudo is a program designed to allow a sysadmin to give limited root privileges
@ -35,7 +35,7 @@ plugins that use %{name}.
%package_help %package_help
%prep %prep
%autosetup -n %{name}-%{version} -S git %autosetup -n %{name}-%{version} -p1
%build %build
autoreconf -I m4 -fv --install 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 %exclude %{_pkgdocdir}/ChangeLog
%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 * Wed Jul 7 2021 panxiaohe <panxiaohe@huawei.com> - 1.9.5p2-1
- Update to 1.9.5p2 - Update to 1.9.5p2