packages: trac-plugin-accountldap/trac-plugin-accountldap.spec - reversed l...

zbyniu zbyniu at pld-linux.org
Mon Oct 3 18:22:45 CEST 2011


Author: zbyniu                       Date: Mon Oct  3 16:22:45 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- reversed last mindless changes; R: python-ldap, md5sum, rel 0.2

---- Files affected:
packages/trac-plugin-accountldap:
   trac-plugin-accountldap.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/trac-plugin-accountldap/trac-plugin-accountldap.spec
diff -u packages/trac-plugin-accountldap/trac-plugin-accountldap.spec:1.2 packages/trac-plugin-accountldap/trac-plugin-accountldap.spec:1.3
--- packages/trac-plugin-accountldap/trac-plugin-accountldap.spec:1.2	Mon Oct  3 13:19:13 2011
+++ packages/trac-plugin-accountldap/trac-plugin-accountldap.spec	Mon Oct  3 18:22:39 2011
@@ -4,13 +4,15 @@
 Summary:	AccountLdap Plugin for Trac
 Name:		trac-plugin-%{plugin}
 Version:	0.32
-Release:	0.1
+Release:	0.2
 License:	LGPL
 Group:		Applications/WWW
-Source0:	http://trac-hacks.org/changeset/latest/tracsqlhelperscript?old_path=/&format=zip#/%{plugin}.zip
-# Source0-md5:	9f706e733d205d4467ce6534772cb505
+# Source0Download:	http://trac-hacks.org/changeset/latest/accountldapplugin?old_path=/&filename=accountldapplugin&format=zip
+Source0:	%{plugin}.zip
+# Source0-md5:	2258bc33b77b648ed7463bff12876364
 URL:		http://trac-hacks.org/wiki/AccountLdapPlugin
 BuildRequires:	python-devel
+Requires:	python-ldap
 Requires:	trac >= %{trac_ver}
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -21,16 +23,15 @@
 properties in Trac.
 
 %prep
-%setup -qc
-mv tracsqlhelperscript/anyrelease/* .
+%setup -q -n %{plugin}plugin
+mv %{trac_ver}/* .
 
 %build
 %{__python} setup.py build
 %{__python} setup.py egg_info
 
 ver=$(awk '$1 == "Version:" {print $2}' *.egg-info/PKG-INFO)
-# it detects version 0.2.1 from egg
-#test "$ver" = %{version}
+test "$ver" = %{version}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -50,7 +51,7 @@
 
 %files
 %defattr(644,root,root,755)
-%{py_sitescriptdir}/tracsqlhelper
+%{py_sitescriptdir}/%{plugin}
 %{py_sitescriptdir}/*-*.egg-info
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -59,6 +60,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2011/10/03 16:22:39  zbyniu
+- reversed last mindless changes; R: python-ldap, md5sum, rel 0.2
+
 Revision 1.2  2011/10/03 11:19:13  glen
 - make it build
 
================================================================

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



More information about the pld-cvs-commit mailing list