From a38230d01c03ef48496ff9ab9b9a3f46dea25576 Mon Sep 17 00:00:00 2001 From: Miloslav Trmac Date: Wed, 14 Jan 2009 11:54:06 +0000 Subject: [PATCH] - Fix problems pointed out in merge review: - Drop Conflicts: SysVinit < very-old - Remove very old version requirements from Requires and BuildRequires - Make /etc/security/console.apps/* %%config(noreplace) - Update BuildRoot --- usermode.spec | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/usermode.spec b/usermode.spec index 49e0048..fd369cb 100644 --- a/usermode.spec +++ b/usermode.spec @@ -1,18 +1,17 @@ Summary: Tools for certain user account management tasks Name: usermode Version: 1.99 -Release: 1 +Release: 2 License: GPLv2+ Group: Applications/System URL: https://fedorahosted.org/usermode/ Source: https://fedorahosted.org/releases/u/s/usermode/usermode-%{version}.tar.bz2 -Requires: util-linux, pam >= 0.75-37, /etc/pam.d/system-auth, passwd -Conflicts: SysVinit < 2.74-14 +Requires: pam, passwd, util-linux BuildRequires: desktop-file-utils, e2fsprogs-devel, glib2-devel, gtk2-devel BuildRequires: libglade2-devel, libuser-devel, pam-devel, util-linux BuildRequires: perl-XML-Parser, libSM-devel, startup-notification-devel, gettext -BuildRequires: libselinux-devel >= 1.17.13-2 -BuildRoot: %{_tmppath}/%{name}-root +BuildRequires: libselinux-devel +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %package gtk Summary: Graphical tools for certain user account management tasks @@ -89,9 +88,9 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) /etc/pam.d/reboot %config(noreplace) /etc/pam.d/poweroff %config(noreplace) /etc/security/console.apps/config-util -%config /etc/security/console.apps/halt -%config /etc/security/console.apps/reboot -%config /etc/security/console.apps/poweroff +%config(noreplace) /etc/security/console.apps/halt +%config(noreplace) /etc/security/console.apps/reboot +%config(noreplace) /etc/security/console.apps/poweroff %files gtk %defattr(-,root,root) @@ -109,6 +108,13 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/applications/* %changelog +* Wed Jan 14 2009 Miloslav Trmač - 1.99-2 +- Fix problems pointed out in merge review: + - Drop Conflicts: SysVinit < very-old + - Remove very old version requirements from Requires and BuildRequires + - Make /etc/security/console.apps/* %%config(noreplace) + - Update BuildRoot + * Tue Nov 11 2008 Miloslav Trmač - 1.99-1 - Update to usermode-1.99 Resolves: #470834