rpms/python-cherrypy/F-8 python-cherrypy.spec,1.16,1.17

Toshio くらとみ (toshio) fedora-extras-commits at redhat.com
Wed Jan 23 03:03:42 UTC 2008


Author: toshio

Update of /cvs/pkgs/rpms/python-cherrypy/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30012

Modified Files:
	python-cherrypy.spec 
Log Message:

* Thu Jan 22 2008 Toshio Kuratomi <toshio at fedoraproject.org> 2.3.0-3
- Add egg-info so that the new TurboGears can build against cherrypy on F-7
  and F-8 as well as Rawhide.



Index: python-cherrypy.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-cherrypy/F-8/python-cherrypy.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- python-cherrypy.spec	18 Jan 2008 03:13:38 -0000	1.16
+++ python-cherrypy.spec	23 Jan 2008 03:02:54 -0000	1.17
@@ -2,7 +2,7 @@
 
 Name:           python-cherrypy
 Version:        2.3.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A pythonic, object-oriented web development framework
 Group:          Development/Libraries
 License:        BSD
@@ -16,6 +16,11 @@
 BuildArch:      noarch
 
 BuildRequires:  python-devel
+%if 0%{?fedora} >= 8
+BuildRequires: python-setuptools-devel
+%else
+BuildRequires: python-setuptools
+%endif
 
 %description
 CherryPy allows developers to build web applications in much the same way 
@@ -31,11 +36,11 @@
 %{__sed} -i 's/\r//' CHANGELOG.txt README.txt CHERRYPYTEAM.txt cherrypy/tutorial/README.txt
 
 %build
-%{__python} setup.py build
+%{__python} -c 'import setuptools; execfile("setup.py")' build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --prefix=%{_prefix}
+%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
 
 %check
 cd cherrypy/test
@@ -51,6 +56,10 @@
 %{python_sitelib}/*
 
 %changelog
+* Thu Jan 22 2008 Toshio Kuratomi <toshio at fedoraproject.org> 2.3.0-3
+- Add egg-info so that the new TurboGears can build against cherrypy on F-7
+  and F-8 as well as Rawhide.
+
 * Thu Jan 17 2008 Toshio Kuratomi <toshio at fedoraproject.org> 2.3.0-2
 - EINTR Patch needed to be forwarded ported as well as it is only applied to
   CP trunk (3.x).




More information about the fedora-extras-commits mailing list