[python-simpletal] * Fri Jul 30 2010 Thomas Moschny <thomas.moschny at gmx.de> - 4.2-4 - Forcefully create egg-info files.

Thomas Moschny thm at fedoraproject.org
Fri Jul 30 21:28:14 UTC 2010


commit 97c4463473e56cd0047a83313d6b6e654251fb3f
Author: Thomas Moschny <thm at fedoraproject.org>
Date:   Fri Jul 30 23:28:07 2010 +0200

    * Fri Jul 30 2010 Thomas Moschny <thomas.moschny at gmx.de> - 4.2-4
    - Forcefully create egg-info files.

 python-simpletal.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/python-simpletal.spec b/python-simpletal.spec
index 564b80b..e3a0a97 100644
--- a/python-simpletal.spec
+++ b/python-simpletal.spec
@@ -4,7 +4,7 @@
 
 Name:           python-simpletal
 Version:        4.2
-Release:        3%{?dist}
+Release:        4%{?dist}
 
 Summary:        An XML based template processor for TAL, TALES and METAL specifications
 
@@ -16,6 +16,7 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 BuildRequires:  python-devel
+BuildRequires:  python-setuptools
 
 
 %description
@@ -28,12 +29,13 @@ METAL specifications used in Zope to power HTML and XML templates.
 
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' build
 
 
 %install
 rm -rf %{buildroot}
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+%{__python} -c 'import setuptools; execfile("setup.py")' install -O1 \
+            --skip-build --root %{buildroot}
 
 # remove x-bits from example files
 find examples -name '*.py' -exec chmod -x {} \;
@@ -54,6 +56,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Fri Jul 30 2010 Thomas Moschny <thomas.moschny at gmx.de> - 4.2-4
+- Forcefully create egg-info files.
+
 * Thu Jul 22 2010 David Malcolm <dmalcolm at redhat.com> - 4.2-3
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 


More information about the scm-commits mailing list