]> git.pld-linux.org Git - projects/template-specs.git/blobdiff - trac-plugin.spec
- drop alt_kernel<>build_kernels conflict error, build_kernels will always take prece...
[projects/template-specs.git] / trac-plugin.spec
index ee36bdba1b7a46c27dd21b899d33f0f3494274e2..7d66a308042891d99a47a98688619276e2aa3d5c 100644 (file)
@@ -6,11 +6,13 @@ Version:      0.1
 Release:       0.1
 License:       BSD-like / GPL / ...
 Group:         Applications/WWW
-Source0:       http://trac-hacks.org/changeset/latest/tracsqlhelperscript?old_path=/&filename=%{plugin}-%{version}&format=zip#/%{plugin}-%{version}.zip
+Source0:       http://trac-hacks.org/changeset/latest/tracsqlhelperscript?old_path=/&format=zip#/%{plugin}-%{version}.zip
 # Source0-md5: 9f706e733d205d4467ce6534772cb505
 URL:           http://trac-hacks.org/wiki/PLUGIN_NAME
 BuildRequires: python-devel
 Requires:      trac >= %{trac_ver}
+# for trac 0.11:
+#Requires:     trac >= %{trac_ver}.7-3
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -21,10 +23,9 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %setup -q -n trac%{plugin}plugin
 %setup -qc
 mv %{plugin}plugin/%{trac_ver}/* .
+mv %{trac_ver}/* .
 
 %build
-cd %{plugin}/%{version}
-cd %{trac_ver}
 %{__python} setup.py build
 %{__python} setup.py egg_info
 
@@ -33,8 +34,6 @@ test "$ver" = %{version}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-cd %{plugin}/%{version}
-cd %{trac_ver}
 %{__python} setup.py install \
        --single-version-externally-managed \
        --optimize 2 \
@@ -47,7 +46,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 # XXX: try to figure out from .egg-info / __init__py at build time
-trac-enableplugin %{plugin}.Trac%{plugin}Module
+#trac-enableplugin "%{plugin}.Trac%{plugin}Module"
 
 %files
 %defattr(644,root,root,755)
This page took 0.094955 seconds and 4 git commands to generate.