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

Jef Spaleta jspaleta at fedoraproject.org
Thu Dec 17 00:57:02 UTC 2009


Author: jspaleta

Update of /cvs/pkgs/rpms/python-couchdb/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27406

Modified Files:
	python-couchdb.spec 
Log Message:
* Wed Dec 16 2009 Jef Spaleta <jspaleta at fedoraproject.org> - 0.6.1-2
- Brown paper bag packaging fixes for the Fedora build system



Index: python-couchdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-couchdb/devel/python-couchdb.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- python-couchdb.spec	17 Dec 2009 00:09:57 -0000	1.1
+++ python-couchdb.spec	17 Dec 2009 00:57:02 -0000	1.2
@@ -1,9 +1,10 @@
 # sitelib for noarch packages, sitearch for others (remove the unneeded one)
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%define python_version %(%{__python} -c "import sys ; print sys.version[:3] ")
 
 Name:           python-couchdb
 Version:        0.6.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A Python library for working with CouchDB
 
 Group:          Development/Languages
@@ -14,7 +15,7 @@ BuildRoot:      %{_tmppath}/%{name}-%{ve
 Patch0:         python-couchdb-shebang.patch
 
 BuildArch:      noarch
-BuildRequires:  python-devel
+BuildRequires:  python-setuptools python-devel
 Requires:       couchdb
 Requires:       python-httplib2
 Requires:       python-simplejson
@@ -60,7 +61,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/couchdb-load
 %{_bindir}/couchdb-replicate
 %{_bindir}/couchpy
-%{python_sitelib}/CouchDB-%{version}-py2.5.egg-info
+%{python_sitelib}/CouchDB-%{version}-py%{python_version}.egg-info
 %{python_sitelib}/couchdb
 
 %files devel
@@ -68,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc doc/api doc/index.html
 
 %changelog
+* Wed Dec 16 2009 Jef Spaleta <jspaleta at fedoraproject.org> - 0.6.1-2
+- Brown paper bag packaging fixes for the Fedora build system
+
 * Tue Dec 15 2009 Jef Spaleta <jspaleta at fedoraproject.org> - 0.6.1-1
 - New upstream version
 




More information about the fedora-extras-commits mailing list