rpms/tclhttpd/F-7 tclhttpd.spec,1.8,1.9

Michael Thomas (wart) fedora-extras-commits at redhat.com
Tue Jul 10 20:30:33 UTC 2007


Author: wart

Update of /cvs/extras/rpms/tclhttpd/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11558

Modified Files:
	tclhttpd.spec 
Log Message:
Fix download URL.  Remove dependency on fedora-usermgmt




Index: tclhttpd.spec
===================================================================
RCS file: /cvs/extras/rpms/tclhttpd/F-7/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 20:30:00 -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




More information about the fedora-extras-commits mailing list