packages: trac-plugin-xmlrpc/trac-plugin-xmlrpc.spec - up to 1.1.2, use tra...

glen glen at pld-linux.org
Sat Sep 24 12:15:30 CEST 2011


Author: glen                         Date: Sat Sep 24 10:15:30 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.1.2, use trac-enableplugin to autoenable

---- Files affected:
packages/trac-plugin-xmlrpc:
   trac-plugin-xmlrpc.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/trac-plugin-xmlrpc/trac-plugin-xmlrpc.spec
diff -u packages/trac-plugin-xmlrpc/trac-plugin-xmlrpc.spec:1.5 packages/trac-plugin-xmlrpc/trac-plugin-xmlrpc.spec:1.6
--- packages/trac-plugin-xmlrpc/trac-plugin-xmlrpc.spec:1.5	Mon Jan 24 03:21:19 2011
+++ packages/trac-plugin-xmlrpc/trac-plugin-xmlrpc.spec	Sat Sep 24 12:15:25 2011
@@ -3,12 +3,11 @@
 %define		plugin		xmlrpc
 Summary:	Remote Procedure Call plugin for Trac
 Name:		trac-plugin-%{plugin}
-Version:	0
-Release:	0.4
+Version:	1.1.2
+Release:	1
 License:	BSD
 Group:		Applications/WWW
-# Source0Download:	http://trac-hacks.org/changeset/latest/xmlrpcplugin?old_path=/&filename=xmlrpcplugin&format=zip
-Source0:	%{plugin}plugin.zip
+Source0:	http://trac-hacks.org/changeset/latest/xmlrpcplugin?old_path=/&filename=xmlrpcplugin&format=zip#/%{plugin}-%{version}.zip
 # Source0-md5:	c7dc2526551d2955721fc10d55a3a86b
 URL:		http://trac-hacks.org/wiki/XmlRpcPlugin
 BuildRequires:	python-devel
@@ -28,16 +27,15 @@
 more protocols.
 
 %prep
-%setup -q -n %{plugin}plugin
+%setup -qc
+mv %{plugin}plugin/trunk/* .
 
 %build
-cd trunk
 %{__python} setup.py build
 %{__python} setup.py egg_info
 
 %install
 rm -rf $RPM_BUILD_ROOT
-cd trunk
 %{__python} setup.py install \
 	--single-version-externally-managed \
 	--optimize 2 \
@@ -49,14 +47,7 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-if [ "$1" = "1" ]; then
-	%banner -e %{name} <<-'EOF'
-	To enable the %{plugin} plugin, add to conf/trac.ini:
-
-	[components]
-	tracrpc.* = enabled
-EOF
-fi
+trac-enableplugin "tracrpc.*"
 
 %files
 %defattr(644,root,root,755)
@@ -69,6 +60,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2011/09/24 10:15:25  glen
+- up to 1.1.2, use trac-enableplugin to autoenable
+
 Revision 1.5  2011/01/24 02:21:19  sparky
 - BR: python-modules, python-setuptools, rpm-pythonprov
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/trac-plugin-xmlrpc/trac-plugin-xmlrpc.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list