Update to usermode-1.110

This commit is contained in:
Miloslav Trmač 2012-08-21 01:54:21 +02:00
parent 2615a2b372
commit d0cbd31537
3 changed files with 12 additions and 23 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ usermode-1.105.tar.xz
/usermode-1.107.tar.xz /usermode-1.107.tar.xz
/usermode-1.108.tar.xz /usermode-1.108.tar.xz
/usermode-1.109.tar.xz /usermode-1.109.tar.xz
/usermode-1.110.tar.xz

View File

@ -1 +1 @@
d7c292b24cd9804887bc856523cffeb2 usermode-1.109.tar.xz af38f6dfbae23777be77c081868bcdad usermode-1.110.tar.xz

View File

@ -1,7 +1,7 @@
Summary: Tools for certain user account management tasks Summary: Tools for certain user account management tasks
Name: usermode Name: usermode
Version: 1.109 Version: 1.110
Release: 2%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: https://fedorahosted.org/usermode/ URL: https://fedorahosted.org/usermode/
@ -48,15 +48,7 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
ln -sf usermount $RPM_BUILD_ROOT%{_bindir}/userformat ln -sf usermount $RPM_BUILD_ROOT%{_bindir}/userformat
ln -s usermount.1 $RPM_BUILD_ROOT%{_mandir}/man1/userformat.1 ln -s usermount.1 $RPM_BUILD_ROOT%{_mandir}/man1/userformat.1
# We set up the shutdown programs to be wrapped in this package. Other mkdir -p $RPM_BUILD_ROOT/etc/security/console.apps
# packages are on their own....
mkdir -p $RPM_BUILD_ROOT/etc/pam.d $RPM_BUILD_ROOT/etc/security/console.apps
for wrappedapp in halt reboot poweroff ; do
ln -s consolehelper $RPM_BUILD_ROOT%{_bindir}/${wrappedapp}
install -p -m644 $wrappedapp \
$RPM_BUILD_ROOT/etc/security/console.apps/${wrappedapp}
install -p -m644 shutdown.pamd $RPM_BUILD_ROOT/etc/pam.d/${wrappedapp}
done
install -p -m 644 %{SOURCE1} \ install -p -m 644 %{SOURCE1} \
$RPM_BUILD_ROOT/etc/security/console.apps/config-util $RPM_BUILD_ROOT/etc/security/console.apps/config-util
@ -80,18 +72,7 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/consolehelper %{_bindir}/consolehelper
%{_mandir}/man8/userhelper.8* %{_mandir}/man8/userhelper.8*
%{_mandir}/man8/consolehelper.8* %{_mandir}/man8/consolehelper.8*
# PAM console wrappers
%{_bindir}/halt
%{_bindir}/reboot
%{_bindir}/poweroff
%exclude %{_bindir}/shutdown
%config(noreplace) /etc/pam.d/halt
%config(noreplace) /etc/pam.d/reboot
%config(noreplace) /etc/pam.d/poweroff
%config(noreplace) /etc/security/console.apps/config-util %config(noreplace) /etc/security/console.apps/config-util
%config(noreplace) /etc/security/console.apps/halt
%config(noreplace) /etc/security/console.apps/reboot
%config(noreplace) /etc/security/console.apps/poweroff
%files gtk %files gtk
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -112,6 +93,13 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/applications/* %{_datadir}/applications/*
%changelog %changelog
* Mon Aug 20 2012 Miloslav Trmač <mitr@redhat.com> - 1.101-1
- Update to usermode-1.110.
Note that this drops halt/poweroff/reboot helpers, the respective
implementations in systemd now include PolicyKit support. Spec file change
based on a patch by Lennart Poettering <lpoetter@redhat.com>.
Resolves: #804088, #849208
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.109-2 * Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.109-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild