- drop obsolete requirement for post script that doesn't exist anymore

(thanks @scfc)
- remove commented-out lines from prior PR
This commit is contained in:
Matthew Miller 2021-08-07 12:49:06 -04:00
parent d8c0683b91
commit 442af28d89

View File

@ -1,7 +1,7 @@
Summary: Allows restricted root access for specified users Summary: Allows restricted root access for specified users
Name: sudo Name: sudo
Version: 1.9.7p2 Version: 1.9.7p2
Release: 1%{?dist} Release: 2%{?dist}
License: ISC License: ISC
URL: https://www.sudo.ws URL: https://www.sudo.ws
Source0: %{url}/dist/%{name}-%{version}.tar.gz Source0: %{url}/dist/%{name}-%{version}.tar.gz
@ -9,7 +9,6 @@ Source1: sudoers
Requires: pam Requires: pam
Recommends: vim-minimal Recommends: vim-minimal
Recommends: %{name}-python-plugin%{?_isa} = %{version}-%{release} Recommends: %{name}-python-plugin%{?_isa} = %{version}-%{release}
Requires(post): coreutils
BuildRequires: make BuildRequires: make
BuildRequires: pam-devel BuildRequires: pam-devel
@ -17,7 +16,6 @@ BuildRequires: groff
BuildRequires: openldap-devel BuildRequires: openldap-devel
BuildRequires: flex BuildRequires: flex
BuildRequires: bison BuildRequires: bison
# BuildRequires: automake autoconf libtool
BuildRequires: libtool BuildRequires: libtool
BuildRequires: audit-libs-devel libcap-devel BuildRequires: audit-libs-devel libcap-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
@ -75,7 +73,6 @@ BuildRequires: python3-devel
%build %build
# Remove bundled copy of zlib # Remove bundled copy of zlib
rm -rf zlib/ rm -rf zlib/
#autoreconf -I m4 -fv --install
%ifarch s390 s390x sparc64 %ifarch s390 s390x sparc64
F_PIE=-fPIE F_PIE=-fPIE
@ -232,6 +229,11 @@ EOF
%attr(0644,root,root) %{_libexecdir}/sudo/python_plugin.so %attr(0644,root,root) %{_libexecdir}/sudo/python_plugin.so
%changelog %changelog
* Sat Aug 7 2021 Matthew Miller <mattdm@fedoraproject.org> - 1.9.7p2-2
- drop obsolete requirement for post script that doesn't exist anymore
(thanks @scfc)
- remove commented-out lines from prior PR
* Fri Jul 30 2021 Peter Czanik <peter@czanik.hu> - 1.9.7p2-1 * Fri Jul 30 2021 Peter Czanik <peter@czanik.hu> - 1.9.7p2-1
- update to 1.9.7p2 - update to 1.9.7p2
- follow up path change in strip patch - follow up path change in strip patch