rpms/tclhttpd/devel tclhttpd.spec,1.8,1.9
Michael Thomas (wart)
fedora-extras-commits at redhat.com
Tue Jul 10 17:36:06 UTC 2007
- Previous message: rpms/mesa/devel mesa-6.5.2-fix-glut-demos.patch, NONE, 1.1 mesa.spec, 1.132, 1.133
- Next message: rpms/sugar/OLPC-2 .cvsignore, 1.17, 1.18 sources, 1.17, 1.18 sugar.spec, 1.22, 1.23
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: wart
Update of /cvs/extras/rpms/tclhttpd/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10152
Modified Files:
tclhttpd.spec
Log Message:
Don't use fedora-usermgmt to create the tclhttpd user. Also create the
user as a system user.
Index: tclhttpd.spec
===================================================================
RCS file: /cvs/extras/rpms/tclhttpd/devel/tclhttpd.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- tclhttpd.spec 1 Sep 2006 19:42:17 -0000 1.8
+++ tclhttpd.spec 10 Jul 2007 17:35:31 -0000 1.9
@@ -1,20 +1,20 @@
%define contentdir %_var/www/tclhttpd
Name: tclhttpd
Version: 3.5.1
-Release: 13%{?dist}
+Release: 14%{?dist}
Summary: Extensible Web+Application server written in Tcl
Group: System Environment/Daemons
License: BSD
URL: http://tclhttpd.sourceforge.net/
-Source0: http://prdownloads.sourceforge.net/tclhttpd/tclhttpd3.5.1.tar.gz
+Source0: http://downloads.sourceforge.net/tclhttpd/tclhttpd3.5.1.tar.gz
Patch0: tclhttpd_fedora.1.patch
Patch1: tclhttpd-md5-3.5.1.patch
Patch2: tclhttpd-3.5.1-nofork.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: tcl-devel
-Requires: tcl tclx tcllib fedora-usermgmt
+Requires: tcl(abi) = 8.4 tclx tcllib
Requires(post): /sbin/chkconfig
Requires(post): /sbin/service
Requires(preun): /sbin/chkconfig
@@ -96,7 +96,9 @@
# server as "root" or "nobody".
user_uid=`id -u tclhttpd 2>/dev/null`
if [ x"$user_uid" = x ] ; then
- /usr/sbin/fedora-useradd 16 -c "Tclhttpd" -s /bin/false -d %{contentdir} -M tclhttpd
+ useradd -r -s /sbin/nologin -d %{contentdir} -M \
+ -c 'Tclhttpd' \
+ tclhttpd >/dev/null || :
fi
%post
@@ -135,8 +137,12 @@
%ghost %{_var}/run/tclhttpd/tclhttpd.pid
%changelog
+* Tue Jul 3 2007 Wart <wart at kobold.org> - 3.5.1-14
+- Fix download URL
+- Remove dependency on fedora-usermgmt
+
* Fri Sep 1 2006 Wart <wart at kobold.org> - 3.5.1-13
-- Rebulid for Fedora Extras
+- Rebuild for Fedora Extras
- Use condrestart instead of restart in %%postun
* Mon Apr 24 2006 Wart <wart at kobold.org> - 3.5.1-12
- Previous message: rpms/mesa/devel mesa-6.5.2-fix-glut-demos.patch, NONE, 1.1 mesa.spec, 1.132, 1.133
- Next message: rpms/sugar/OLPC-2 .cvsignore, 1.17, 1.18 sources, 1.17, 1.18 sugar.spec, 1.22, 1.23
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list