From 3e6b39b18504cd49db16af4725d5799ab177ab23 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Wed, 6 Sep 2017 12:53:03 -0400 Subject: [PATCH] Replace file-based requirements with package-level ones: - /etc/pam.d/system-auth to 'pam' - /bin/chmod to 'coreutils' (bug #1488934) - /usr/bin/vi to vim-minimal - ... and make vim-minimal "recommends" instead of "requires", because other editors can be configured. --- sudo.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/sudo.spec b/sudo.spec index e02eb5a..95ebbcb 100644 --- a/sudo.spec +++ b/sudo.spec @@ -3,16 +3,16 @@ Summary: Allows restricted root access for specified users Name: sudo Version: 1.8.20p2 -Release: 3%{?dist} +Release: 4%{?dist} License: ISC Group: Applications/System URL: http://www.courtesan.com/sudo/ Source0: https://www.sudo.ws/dist/%{name}-%{version}.tar.gz Source1: sudoers Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: /etc/pam.d/system-auth -Requires: /usr/bin/vi -Requires(post): /bin/chmod +Requires: pam +Recommends: vim-minimal +Requires(post): coreutils BuildRequires: pam-devel BuildRequires: groff @@ -204,6 +204,14 @@ rm -rf $RPM_BUILD_ROOT %{_libexecdir}/sudo/libsudo_util.so %changelog +* Wed Sep 06 2017 Matthew Miller - 1.8.20p2-4 +- replace file-based requirements with package-level ones: +- /etc/pam.d/system-auth to 'pam' +- /bin/chmod to 'coreutils' (bug #1488934) +- /usr/bin/vi to vim-minimal +- ... and make vim-minimal "recommends" instead of "requires", because + other editors can be configured. + * Thu Aug 03 2017 Fedora Release Engineering - 1.8.20p2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild