rpms/python-prioritized-methods/devel python-prioritized-methods.spec, 1.6, 1.7

Toshio くらとみ toshio at fedoraproject.org
Sat Jul 3 16:14:46 UTC 2010


Author: toshio

Update of /cvs/pkgs/rpms/python-prioritized-methods/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv9656

Modified Files:
	python-prioritized-methods.spec 
Log Message:
Minor cleanups.  Not rebuilding for this



Index: python-prioritized-methods.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-prioritized-methods/devel/python-prioritized-methods.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- python-prioritized-methods.spec	26 Jul 2009 20:52:57 -0000	1.6
+++ python-prioritized-methods.spec	3 Jul 2010 16:14:45 -0000	1.7
@@ -1,6 +1,8 @@
-%{!?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
 
-%define packagename prioritized_methods
+%global packagename prioritized_methods
 
 Name:           python-prioritized-methods
 Version:        0.2.1
@@ -14,8 +16,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
 
 Requires:       python-peak-rules
 



More information about the scm-commits mailing list