- 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
This commit is contained in:
Miloslav Trmac 2009-01-14 11:54:06 +00:00
parent d0938219d3
commit a38230d01c

View File

@ -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č <mitr@redhat.com> - 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č <mitr@redhat.com> - 1.99-1
- Update to usermode-1.99
Resolves: #470834