rpms/python-couchdb/F-12 python-couchdb-shebang.patch, NONE, 1.1 python-couchdb.spec, NONE, 1.1 sources, 1.1, 1.2

Jef Spaleta jspaleta at fedoraproject.org
Thu Dec 17 01:02:26 UTC 2009


Author: jspaleta

Update of /cvs/pkgs/rpms/python-couchdb/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28453

Modified Files:
	sources 
Added Files:
	python-couchdb-shebang.patch 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


python-couchdb-shebang.patch:
 tests/couch_tests.py             |    1 -
 tools/dump.py                    |    1 -
 tools/load.py                    |    1 -
 tools/replication_helper.py      |    1 -
 tools/replication_helper_test.py |    1 -
 view.py                          |    1 -
 6 files changed, 6 deletions(-)

--- NEW FILE python-couchdb-shebang.patch ---
diff -u -r CouchDB-0.6.1/couchdb/tests/couch_tests.py CouchDB-0.6.1-new/couchdb/tests/couch_tests.py
--- CouchDB-0.6.1/couchdb/tests/couch_tests.py	2009-12-14 03:16:29.000000000 -0900
+++ CouchDB-0.6.1-new/couchdb/tests/couch_tests.py	2009-12-15 13:58:38.000000000 -0900
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright (C) 2007-2008 Christopher Lenz
diff -u -r CouchDB-0.6.1/couchdb/tools/dump.py CouchDB-0.6.1-new/couchdb/tools/dump.py
--- CouchDB-0.6.1/couchdb/tools/dump.py	2009-12-14 03:16:29.000000000 -0900
+++ CouchDB-0.6.1-new/couchdb/tools/dump.py	2009-12-15 13:56:13.000000000 -0900
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright (C) 2007-2009 Christopher Lenz
diff -u -r CouchDB-0.6.1/couchdb/tools/load.py CouchDB-0.6.1-new/couchdb/tools/load.py
--- CouchDB-0.6.1/couchdb/tools/load.py	2009-12-08 09:38:52.000000000 -0900
+++ CouchDB-0.6.1-new/couchdb/tools/load.py	2009-12-15 13:56:19.000000000 -0900
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright (C) 2007-2009 Christopher Lenz
diff -u -r CouchDB-0.6.1/couchdb/tools/replication_helper.py CouchDB-0.6.1-new/couchdb/tools/replication_helper.py
--- CouchDB-0.6.1/couchdb/tools/replication_helper.py	2009-12-08 09:38:52.000000000 -0900
+++ CouchDB-0.6.1-new/couchdb/tools/replication_helper.py	2009-12-15 13:56:42.000000000 -0900
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2008 Jan Lehnardt <jan at apache.org>
diff -u -r CouchDB-0.6.1/couchdb/tools/replication_helper_test.py CouchDB-0.6.1-new/couchdb/tools/replication_helper_test.py
--- CouchDB-0.6.1/couchdb/tools/replication_helper_test.py	2009-12-08 09:38:52.000000000 -0900
+++ CouchDB-0.6.1-new/couchdb/tools/replication_helper_test.py	2009-12-15 13:58:48.000000000 -0900
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright 2008 Jan lehnardt <jan at apache.org>
diff -u -r CouchDB-0.6.1/couchdb/view.py CouchDB-0.6.1-new/couchdb/view.py
--- CouchDB-0.6.1/couchdb/view.py	2009-12-14 03:16:29.000000000 -0900
+++ CouchDB-0.6.1-new/couchdb/view.py	2009-12-15 13:56:25.000000000 -0900
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
 # Copyright (C) 2007-2008 Christopher Lenz


--- NEW FILE python-couchdb.spec ---
# 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:        2%{?dist}
Summary:        A Python library for working with CouchDB

Group:          Development/Languages
License:        BSD
URL:            http://code.google.com/p/couchdb-python/
Source0:        http://pypi.python.org/packages/source/C/CouchDB/CouchDB-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0:         python-couchdb-shebang.patch

BuildArch:      noarch
BuildRequires:  python-setuptools python-devel
Requires:       couchdb
Requires:       python-httplib2
Requires:       python-simplejson

%package devel
Summary:        The  API reference files for CouchDB 
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}


%description
Providing a convenient high level interface for the CouchDB server.

%description devel
CouchDB python binding API reference documentation for use in development. 


%prep
%setup -q -n CouchDB-%{version}
%patch0 -p1


%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT

# calm rpmlint down
find  $RPM_BUILD_ROOT/%{python_sitelib}/couchdb -name \*.py -print0 | xargs --null chmod 0644


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc ChangeLog.txt COPYING README.txt 
%{_bindir}/couchdb-dump
%{_bindir}/couchdb-load
%{_bindir}/couchdb-replicate
%{_bindir}/couchpy
%{python_sitelib}/CouchDB-%{version}-py%{python_version}.egg-info
%{python_sitelib}/couchdb

%files devel
%defattr(-,root,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

* Mon Dec 14 2009 Jef Spaleta <jspaleta at fedoraproject.org> - 0.6-2
- Specfile cleanup based on review feedback

* Wed Nov 25 2009 Sebastian Dziallas <sebastian at when.com> - 0.6-1
- initial packaging


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-couchdb/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	16 Dec 2009 05:28:56 -0000	1.1
+++ sources	17 Dec 2009 01:02:25 -0000	1.2
@@ -0,0 +1 @@
+a5f11977d8c7e26d8dbc9c5f56a9bf6b  CouchDB-0.6.1.tar.gz




More information about the fedora-extras-commits mailing list