template-specs: trac-plugin.spec - update

glen glen at pld-linux.org
Mon Sep 13 16:40:03 CEST 2010


Author: glen                         Date: Mon Sep 13 14:40:03 2010 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- update

---- Files affected:
template-specs:
   trac-plugin.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: template-specs/trac-plugin.spec
diff -u template-specs/trac-plugin.spec:1.4 template-specs/trac-plugin.spec:1.5
--- template-specs/trac-plugin.spec:1.4	Wed Sep  1 20:44:34 2010
+++ template-specs/trac-plugin.spec	Mon Sep 13 16:39:58 2010
@@ -5,10 +5,9 @@
 Name:		trac-plugin-%{plugin}
 Version:	0.1
 Release:	0.1
-License:	BSD-like
+License:	BSD-like / GPL / ...
 Group:		Applications/WWW
-# Source0Download:	http://trac-hacks.org/changeset/latest/wikirenameplugin?old_path=/&filename=wikirenameplugin&format=zip
-Source0:	%{plugin}plugin.zip
+Source0:	http://trac-hacks.org/changeset/latest/tracsqlhelperscript?old_path=/&filename=%{plugin}-%{version}&format=zip#/%{plugin}-%{version}.zip
 # Source0-md5:	9f706e733d205d4467ce6534772cb505
 URL:		http://trac-hacks.org/wiki/PLUGIN_NAME
 BuildRequires:	python-devel
@@ -21,6 +20,8 @@
 %prep
 %setup -q -n %{plugin}plugin
 %setup -q -n trac%{plugin}plugin
+%setup -qc
+mv %{plugin}plugin/%{trac_ver}/* .
 
 %build
 cd %{plugin}/%{version}
@@ -28,6 +29,9 @@
 %{__python} setup.py build
 %{__python} setup.py egg_info
 
+ver=$(awk '$1 == "Version:" {print $2}' *.egg-info/PKG-INFO)
+test "$ver" = %{version}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 cd %{plugin}/%{version}
@@ -57,6 +61,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2010/09/13 14:39:58  glen
+- update
+
 Revision 1.4  2010/09/01 18:44:34  glen
 - we have trac 0.12 now
 
================================================================

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



More information about the pld-cvs-commit mailing list