[python-tw-forms/el6/master: 7/8] Update define to global -- not built

Toshio くらとみ toshio at fedoraproject.org
Fri Dec 24 17:57:59 UTC 2010


commit bb258911ffe5ae892bf2f188384077d09de7b59c
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Fri Dec 24 09:56:30 2010 -0800

    Update define to global -- not built

 python-tw-forms.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/python-tw-forms.spec b/python-tw-forms.spec
index 512056d..0bc5ac4 100644
--- a/python-tw-forms.spec
+++ b/python-tw-forms.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 tw.forms
+%global srcname tw.forms
 
 Name:           python-tw-forms
 Version:        0.9.9
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Web Widgets for building and validating forms in ToscaWidgets
 Group:          Development/Languages
 # The javascript for the calendar widget is licensed under LGPLv2.1+
@@ -14,7 +14,7 @@ Source0:        http://pypi.python.org/packages/source/t/%{srcname}/%{srcname}-%
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  python-devel
+BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
 Requires:       python-toscawidgets >= 0.9.6
 Requires:       python-formencode >= 1.0.1
@@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Dec 24 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 0.9.9-3
+- Update define to global
+
 * Thu Jul 22 2010 David Malcolm <dmalcolm at redhat.com> - 0.9.9-2
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 


More information about the scm-commits mailing list