rpms/python-catwalk/devel python-catwalk.spec,1.1,1.2

Toshio くらとみ toshio at fedoraproject.org
Mon Jun 28 18:37:50 UTC 2010


Author: toshio

Update of /cvs/pkgs/rpms/python-catwalk/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv28055

Modified Files:
	python-catwalk.spec 
Log Message:

* Mon Jun 28 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 2.0.2-2
- Minor cleanups



Index: python-catwalk.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-catwalk/devel/python-catwalk.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- python-catwalk.spec	30 Sep 2009 19:39:07 -0000	1.1
+++ python-catwalk.spec	28 Jun 2010 18:37:50 -0000	1.2
@@ -1,9 +1,10 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
+%if 0%{?fedora} < 13 || 0%{?rhel} < 6
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%endif
 
 Name:           python-catwalk
 Version:        2.0.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A way to view your models using TurboGears
 
 Group:          Development/Languages
@@ -13,7 +14,11 @@ Source0:        http://pypi.python.org/p
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
+%if 0%{?fedora} < 13
 BuildRequires:  python-setuptools-devel
+%else
+BuildRequires: python-setuptools
+%endif
 BuildRequires:  python-nose python-sprox python-tgext-admin
 Requires:       python-sprox python-tgext-admin
 
@@ -33,7 +38,7 @@ your data.
 
 %install
 rm -rf %{buildroot}
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+%{__python} setup.py install --skip-build --root %{buildroot}
 
 
 # Disabled until chameleon.genshi is packaged
@@ -53,5 +58,8 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Jun 28 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 2.0.2-2
+- Minor cleanups
+
 * Mon Jun 01 2009 Luke Macken <lmacken at redhat.com> - 2.0.2-1
 - Initial package



More information about the scm-commits mailing list