[python-simpletal] - Update to 4.3. - Use %global instead of %define.

Thomas Moschny thm at fedoraproject.org
Tue Jan 18 00:03:23 UTC 2011


commit 80c186cf7d0f6a80789f564c36dcda95ee68156a
Author: Thomas Moschny <thm at fedoraproject.org>
Date:   Tue Jan 18 01:02:48 2011 +0100

    - Update to 4.3.
    - Use %global instead of %define.

 .gitignore            |    1 +
 python-simpletal.spec |   14 +++++++++-----
 sources               |    2 +-
 3 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 43a67e7..88cdf51 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 SimpleTAL-4.2.tar.gz
+/SimpleTAL-4.3.tar.gz
diff --git a/python-simpletal.spec b/python-simpletal.spec
index e3a0a97..29e0edc 100644
--- a/python-simpletal.spec
+++ b/python-simpletal.spec
@@ -1,10 +1,10 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
-%define srcname SimpleTAL
+%global srcname SimpleTAL
 
 Name:           python-simpletal
-Version:        4.2
-Release:        4%{?dist}
+Version:        4.3
+Release:        1%{?dist}
 
 Summary:        An XML based template processor for TAL, TALES and METAL specifications
 
@@ -29,7 +29,7 @@ METAL specifications used in Zope to power HTML and XML templates.
 
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' build
+%{__python} -c 'import setuptools; execfile("setup.py")' build
 
 
 %install
@@ -56,6 +56,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Jan 17 2011 Thomas Moschny <thomas.moschny at gmx.de> - 4.3-1
+- Update to 4.3.
+- Use %%global instead of %%define.
+
 * Fri Jul 30 2010 Thomas Moschny <thomas.moschny at gmx.de> - 4.2-4
 - Forcefully create egg-info files.
 
diff --git a/sources b/sources
index 9d77b3d..ea991c5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-24b5f2ee0a9cb851cfc5e093f60f5a67  SimpleTAL-4.2.tar.gz
+147035bae18e4d37aea26c7d2019a0d2  SimpleTAL-4.3.tar.gz


More information about the scm-commits mailing list