rpms/smolt/F-8 smolt.spec,1.38,1.39
Jeffrey C. Ollie (jcollie)
fedora-extras-commits at redhat.com
Wed Feb 27 19:15:47 UTC 2008
Author: jcollie
Update of /cvs/pkgs/rpms/smolt/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9627
Modified Files:
smolt.spec
Log Message:
Create smolt user. (BZ#435136)
Index: smolt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/smolt/F-8/smolt.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- smolt.spec 14 Feb 2008 19:35:05 -0000 1.38
+++ smolt.spec 27 Feb 2008 19:15:11 -0000 1.39
@@ -1,7 +1,7 @@
Name: smolt
Summary: Fedora hardware profiler
Version: 1.1
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
Group: Applications/Internet
URL: http://hosted.fedoraproject.org/projects/smolt
@@ -17,6 +17,8 @@
BuildRequires: gettext
BuildRequires: desktop-file-utils
+Requires(pre): %{_sbindir}/groupadd
+Requires(pre): %{_sbindir}/useradd
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
Requires(preun): /sbin/service
@@ -136,6 +138,11 @@
%clean
rm -rf %{buildroot}
+%pre
+%{_sbindir}/groupadd -r %{name} &>/dev/null || :
+%{_sbindir}/useradd -r -s /sbin/nologin -d %{_datadir}/%{name} -M \
+ -c 'Smolt' -g %{name} %{name} &>/dev/null || :
+
%post
/sbin/chkconfig --add smolt
@@ -180,6 +187,9 @@
%{_bindir}/smoltGui
%changelog
+* Wed Feb 27 2008 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.1-2
+- Create smolt user. (BZ#435136)
+
* Fri Feb 01 2008 Mike McGrath <mmcgrath at redhat.com> 1.0-5
- Added a req for mx on smoon
More information about the fedora-extras-commits
mailing list