packages: python-genshi/python-genshi.spec - Up to 0.6 - New upstream defau...
caleb
caleb at pld-linux.org
Mon Jun 14 11:12:11 CEST 2010
Author: caleb Date: Mon Jun 14 09:12:11 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- Up to 0.6
- New upstream default is to not build with speedups
---- Files affected:
packages/python-genshi:
python-genshi.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: packages/python-genshi/python-genshi.spec
diff -u packages/python-genshi/python-genshi.spec:1.7 packages/python-genshi/python-genshi.spec:1.8
--- packages/python-genshi/python-genshi.spec:1.7 Fri Feb 20 11:35:50 2009
+++ packages/python-genshi/python-genshi.spec Mon Jun 14 11:12:06 2010
@@ -1,16 +1,19 @@
# $Revision$, $Date$
+# TODO:
+# - fails to build --with speedups
+#
# Conditional build:
-%bcond_without speedups # skip optional C extension build
+%bcond_with speedups # skip optional C extension build
%bcond_without tests # build without tests
#
Summary: Python toolkit for generation of output for the web
Name: python-genshi
-Version: 0.5.1
-Release: 3
+Version: 0.6
+Release: 1
License: BSD
Group: Development/Languages/Python
-Source0: http://ftp.edgewall.com/pub/genshi/Genshi-%{version}.tar.bz2
-# Source0-md5: 822942bbc3109da9f6b472eb8ea4e3a4
+Source0: http://ftp.edgewall.com/pub/genshi/Genshi-%{version}.tar.gz
+# Source0-md5: 604e8b23b4697655d36a69c2d8ef7187
URL: http://genshi.edgewall.org/
BuildRequires: python-devel
BuildRequires: python-devel-tools
@@ -38,13 +41,13 @@
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py \
- %{!?with_speedups:--without-speedups} \
+ %{?with_speedups:--with-speedups} \
install \
--optimize=2 \
--root=$RPM_BUILD_ROOT
-%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
-%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_postclean
%clean
@@ -54,19 +57,19 @@
%defattr(644,root,root,755)
%doc ChangeLog
-%dir %{py_sitedir}/genshi
-%{py_sitedir}/genshi/*.py[co]
-%dir %{py_sitedir}/genshi/filters
-%{py_sitedir}/genshi/filters/*.py[co]
-%dir %{py_sitedir}/genshi/template
-%{py_sitedir}/genshi/template/*.py[co]
+%dir %{py_sitescriptdir}/genshi
+%{py_sitescriptdir}/genshi/*.py[co]
+%dir %{py_sitescriptdir}/genshi/filters
+%{py_sitescriptdir}/genshi/filters/*.py[co]
+%dir %{py_sitescriptdir}/genshi/template
+%{py_sitescriptdir}/genshi/template/*.py[co]
%if %{with speedups}
-%attr(755,root,root) %{py_sitedir}/genshi/_speedups.so
+%attr(755,root,root) %{py_sitescriptdir}/genshi/_speedups.so
%endif
# egg-info is built with setuptools under py 2.4 too
-%{py_sitedir}/Genshi-*.egg-info
+%{py_sitescriptdir}/Genshi-*.egg-info
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -74,6 +77,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2010/06/14 09:12:06 caleb
+- Up to 0.6
+- New upstream default is to not build with speedups
+
Revision 1.7 2009/02/20 10:35:50 arekm
- release 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-genshi/python-genshi.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list