[Erp5-report] r25087 - /spec/mandriva/2008.0/python2.4-lxml/python2.4-lxml.spec

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jan 13 10:14:08 CET 2009


Author: kazuhiko
Date: Tue Jan 13 10:14:08 2009
New Revision: 25087

URL: http://svn.erp5.org?rev=25087&view=rev
Log:
* Mon Jan 12 2009 Kazuhiko Shiozaki <kazuhiko at nexedi.com> 2.1.5-1nxd2009.0
- new upstream release (bug fixes).

* Fri Dec 26 2008 Kazuhiko Shiozaki <kazuhiko at nexedi.com> 2.1.3-2nxd2009.0
- requires python2.4 instead of python

Modified:
    spec/mandriva/2008.0/python2.4-lxml/python2.4-lxml.spec

Modified: spec/mandriva/2008.0/python2.4-lxml/python2.4-lxml.spec
URL: http://svn.erp5.org/spec/mandriva/2008.0/python2.4-lxml/python2.4-lxml.spec?rev=25087&r1=25086&r2=25087&view=diff
==============================================================================
--- spec/mandriva/2008.0/python2.4-lxml/python2.4-lxml.spec [utf8] (original)
+++ spec/mandriva/2008.0/python2.4-lxml/python2.4-lxml.spec [utf8] Tue Jan 13 10:14:08 2009
@@ -1,19 +1,19 @@
 %define modname lxml
 %define pyver 2.4
-%define py_platsitedir %{_libdir}/python2.4/site-packages
+%define py_platsitedir %{_libdir}/python%{pyver}/site-packages
 
-Name:           python2.4-%{modname}
+Name:           python%{pyver}-%{modname}
 URL:            http://codespeak.net/lxml/
 Summary:        A Pythonic binding for the libxml2 and libxslt libraries
-Version:        2.1.3
+Version:        2.1.5
 Release:        %mkrel 1
 License:        BSD
 Group:          Development/Python
 Source:         http://codespeak.net/lxml/%{modname}-%{version}.tgz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
-Requires:       python
+Requires:       python%{pyver}
 
-BuildRequires:  libxml2-devel libxslt-devel python2.4-devel
+BuildRequires:  libxml2-devel libxslt-devel python%{pyver}-devel
 
 %description
 lxml is a Pythonic binding for the libxml2 and libxslt libraries. It follows
@@ -26,13 +26,13 @@
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS"
-python2.4 setup.py build
+python%{pyver} setup.py build
 
 export PYTHONPATH="$RPM_BUILD_ROOT%{_libdir}/python%{pyver}/site-packages"
 
 %install
 [ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf  %{buildroot}
-python2.4 setup.py install --root=$RPM_BUILD_ROOT
+python%{pyver} setup.py install --root=$RPM_BUILD_ROOT
 
 %clean
 [ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf  %{buildroot}
@@ -43,5 +43,11 @@
 %py_platsitedir/lxml*
 
 %changelog
+* Mon Jan 12 2009 Kazuhiko Shiozaki <kazuhiko at nexedi.com> 2.1.5-1nxd2009.0
+- new upstream release (bug fixes).
+
+* Fri Dec 26 2008 Kazuhiko Shiozaki <kazuhiko at nexedi.com> 2.1.3-2nxd2009.0
+- requires python2.4 instead of python
+
 * Mon Dec  8 2008 Kazuhiko Shiozaki <kazuhiko at nexedi.com> 2.1.3-1nxd2009.0
 - initial package




More information about the Erp5-report mailing list