rpms/python-sprox/devel python-sprox.spec,1.3,1.4
Toshio くらとみ
toshio at fedoraproject.org
Wed Jun 30 07:40:18 UTC 2010
- Previous message: rpms/liborigin2/F-12 liborigin2-svn1748-path.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 liborigin2.spec, 1.3, 1.4 sources, 1.3, 1.4 liborigin2-path.patch, 1.2, NONE
- Next message: rpms/nspluginwrapper/F-13 nspluginwrapper.spec, 1.86, 1.87 plugin-config-time-check.patch, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: toshio
Update of /cvs/pkgs/rpms/python-sprox/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv16760
Modified Files:
python-sprox.spec
Log Message:
Misc small cleanups for new python uidelines. No end user visiible changes so no rebuild made.
Index: python-sprox.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-sprox/devel/python-sprox.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- python-sprox.spec 5 May 2010 06:41:48 -0000 1.3
+++ python-sprox.spec 30 Jun 2010 07:40:17 -0000 1.4
@@ -1,4 +1,6 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%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-sprox
Version: 0.6.10
@@ -13,8 +15,12 @@ Source0: http://pypi.python.org/p
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: python-devel
+BuildRequires: python2-devel
+%if 0%{?fedora} && 0%{?fedora} < 13
BuildRequires: python-setuptools-devel
+%else
+BuildRequires: python-setuptools
+%endif
BuildRequires: python-tw-forms python-genshi python-sqlalchemy
Requires: python-sqlalchemy >= 0.5
@@ -40,7 +46,7 @@ other content with customizable data.
%install
rm -rf %{buildroot}
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+%{__python} setup.py install --skip-build --root %{buildroot}
rm -fr %{buildroot}%{python_sitelib}/tests
# python-tw-dojo needs to be packaged first...
- Previous message: rpms/liborigin2/F-12 liborigin2-svn1748-path.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 liborigin2.spec, 1.3, 1.4 sources, 1.3, 1.4 liborigin2-path.patch, 1.2, NONE
- Next message: rpms/nspluginwrapper/F-13 nspluginwrapper.spec, 1.86, 1.87 plugin-config-time-check.patch, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list