Accepting request 56848 from home:elchevive
OBS-URL: https://build.opensuse.org/request/show/56848 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=23
This commit is contained in:
parent
bdcf7a3f62
commit
82e4ad5a3f
3
_service
Normal file
3
_service
Normal file
@ -0,0 +1,3 @@
|
||||
<services>
|
||||
<service name="download_url"><param name="path">/psycopg/tarballs/PSYCOPG-2-3/psycopg2-2.3.2.tar.gz</param><param name="host">initd.org</param></service>
|
||||
</services>
|
3
_service:download_url:psycopg2-2.3.2.tar.gz
Normal file
3
_service:download_url:psycopg2-2.3.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7da36f7b04e58c6f80665b715fe2b1d7ab307c3019390a27f2363a7c3acaf429
|
||||
size 587987
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:31874c7cb0de8d88498b5c9f576fcbd7a64f6b3f9cd8c346eed5d7201429dd82
|
||||
size 416652
|
2
python-psycopg2-rpmlintrc
Normal file
2
python-psycopg2-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
||||
#
|
||||
addFilter("non-executable-script")
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 27 15:01:00 UTC 2010 - elchevive@opensuse.org
|
||||
|
||||
- Update to version 2.3.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 27 02:43:22 UTC 2010 - termim@gmail.com
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package python
|
||||
# spec file for package python-psycopg2
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -9,23 +9,26 @@
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
#
|
||||
# norootforbuild
|
||||
|
||||
|
||||
%define modname psycopg2
|
||||
|
||||
Name: python-psycopg2
|
||||
Summary: A PostgreSQL database adapter for Python
|
||||
Version: 2.2.2
|
||||
Release: 1
|
||||
Url: http://initd.org/tracker/psycopg
|
||||
License: GPL with exceptions or ZPL
|
||||
Version: 2.3.2
|
||||
Release: %{release}
|
||||
Url: http://initd.org/psycopg/
|
||||
License: LGPLv3+ with exceptions
|
||||
# The exceptions allow linking to OpenSSL and PostgreSQL's libpq
|
||||
Group: Development/Languages/Python
|
||||
Source: %{modname}-%{version}.tar.bz2
|
||||
Source: %{modname}-%{version}.tar.gz
|
||||
Source1: %{name}-rpmlintrc
|
||||
%{py_requires}
|
||||
BuildRequires: postgresql-devel python-devel >= 2.4 dos2unix
|
||||
BuildRequires: postgresql-devel python-devel >= 2.4 dos2unix fdupes
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
#Vendor: Federico Di Gregorio <fog@initd.org>
|
||||
|
||||
|
||||
%description
|
||||
psycopg is a PostgreSQL database adapter for the Python programming language.
|
||||
@ -40,11 +43,30 @@ cursors and make a conspicuous number of concurrent INSERTs or UPDATEs.
|
||||
psycopg 2 also provide full asycronous operations for the really brave
|
||||
programmer.
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Federico Di Gregorio <fog@initd.org>
|
||||
|
||||
|
||||
|
||||
%package doc
|
||||
License: LGPLv3+
|
||||
Summary: Documentation for psycopg python PostgreSQL database adapter
|
||||
Group: Documentation/HTML
|
||||
Requires: %{name} = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation and example files for the psycopg python PostgreSQL database adapter.
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Federico Di Gregorio <fog@initd.org>
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
|
||||
@ -52,19 +74,31 @@ Authors:
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
%{__python} setup.py build
|
||||
%{__rm} -rf doc/src
|
||||
%{__rm} doc/html/.buildinfo
|
||||
|
||||
%install
|
||||
%{__python} setup.py install \
|
||||
--prefix=%{_prefix} \
|
||||
--root=$RPM_BUILD_ROOT \
|
||||
--record-rpm=INSTALLED_FILES \
|
||||
--optimize=2
|
||||
|
||||
|
||||
# create symlinks for man pages
|
||||
%fdupes -s $RPM_BUILD_ROOT/%_mandir
|
||||
# create hardlinks for the rest
|
||||
%fdupes $RPM_BUILD_ROOT
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc doc examples AUTHORS ChangeLog PKG-INFO README
|
||||
%doc AUTHORS ChangeLog PKG-INFO README
|
||||
%{python_sitearch}/psycopg2
|
||||
%{python_sitearch}/psycopg2-%{version}-py%{py_ver}.egg-info
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%doc doc examples/
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user