Compare commits

..

2 Commits

Author SHA1 Message Date
Matthias Clasen 19e9b6bf65 Clean up desktop files 2007-03-27 19:53:51 +00:00
Miloslav Trmac 23d35be2e4 - Preserve environment variables in consolehelper if specified in the
service config file Related: #213402
2007-03-19 22:20:21 +00:00
3 changed files with 28 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
usermode-1.90.tar.bz2
usermode-1.91.tar.bz2
+1 -1
View File
@@ -1 +1 @@
2817c21f475572ade410b8610769f671 usermode-1.90.tar.bz2
3de0199d1393e57ca91e1b965c19908e usermode-1.91.tar.bz2
+26 -2
View File
@@ -4,8 +4,8 @@
Summary: Tools for certain user account management tasks
Name: usermode
Version: 1.90
Release: 1
Version: 1.91
Release: 2
License: GPL
Group: Applications/System
Source: usermode-%{version}.tar.bz2
@@ -66,6 +66,22 @@ for wrappedapp in halt reboot poweroff ; do
cp shutdown.pamd $RPM_BUILD_ROOT/etc/pam.d/${wrappedapp}
done
for i in redhat-userinfo.desktop redhat-userpasswd.desktop; do
cat >>$RPM_BUILD_ROOT%{_datadir}/applications/$i <<EOF
NoDisplay=true
EOF
desktop-file-install --vendor redhat --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--remove-category Application \
--add-category X-GNOME-PersonalSettings \
$RPM_BUILD_ROOT%{_datadir}/applications/$i
done
desktop-file-install --vendor redhat --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--remove-category Application \
$RPM_BUILD_ROOT%{_datadir}/applications/redhat-usermount.desktop
%find_lang %{name}
%clean
@@ -105,6 +121,14 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/applications/*
%changelog
* Tue Mar 27 2007 Matthias Clasen <mclasen@redhat.com> 1.91-2
- Clean up desktop files
* Mon Mar 19 2007 Miloslav Trmac <mitr@redhat.com> - 1.91-1
- Preserve environment variables in consolehelper if specified in the service
config file
Related: #213402
* Wed Mar 14 2007 Miloslav Trmac <mitr@redhat.com> - 1.90-1
- Fix GUI=no handling
Resolves: #110701