forked from pool/python-bsddb3
Accepting request 84170 from devel:languages:python
- Update to version 5.2.0:
* Support for Berkeley DB 5.2.
* Support for the newly available replication manager events:
DB_EVENT_REP_SITE_ADDED, DB_EVENT_REP_SITE_REMOVED,
DB_EVENT_REP_LOCAL_SITE_REMOVED, DB_EVENT_REP_CONNECT_BROKEN,
DB_EVENT_REP_CONNECT_ESTD, DB_EVENT_REP_CONNECT_TRY_FAILED,
DB_EVENT_REP_INIT_DONE.
* New Object: "DB_SITE". Support for all its methods.
* Parameters for "DB_SITE->set_config()": DB_BOOTSTRAP_HELPER,
DB_GROUP_CREATOR, DB_LEGACY, DB_LOCAL_SITE, DB_REPMGR_PEER.
* Support for some stuff in the new "Dynamic Environment Configuration":
DB_MEM_LOCK, DB_MEM_LOCKOBJECT, DB_MEM_LOCKER, DB_MEM_LOGID,
DB_MEM_TRANSACTION, DB_MEM_THREAD.
* Add "bytes" to "DBEnv_memp_stat()". Original patch from Garrett Cooper.
- Spec file cleanup:
* Split of devel package for headers
* Don't package tests
* Fix non-executable bits
OBS-URL: https://build.opensuse.org/request/show/84170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bsddb3?expand=0&rev=10
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a9bb929a4eed5d092d365ee2d738862a91f4ef3e7a11cea437248d36074aadd1
|
|
||||||
size 276869
|
|
||||||
3
bsddb3-5.2.0.tar.gz
Normal file
3
bsddb3-5.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6e1522c4b826d06bef4cb7ae13eadde29c5f2c65916c894c11118b8b866ed6cb
|
||||||
|
size 377968
|
||||||
@@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 21 12:24:42 UTC 2011 - saschpe@suse.de
|
||||||
|
|
||||||
|
- Update to version 5.2.0:
|
||||||
|
* Support for Berkeley DB 5.2.
|
||||||
|
* Support for the newly available replication manager events:
|
||||||
|
DB_EVENT_REP_SITE_ADDED, DB_EVENT_REP_SITE_REMOVED,
|
||||||
|
DB_EVENT_REP_LOCAL_SITE_REMOVED, DB_EVENT_REP_CONNECT_BROKEN,
|
||||||
|
DB_EVENT_REP_CONNECT_ESTD, DB_EVENT_REP_CONNECT_TRY_FAILED,
|
||||||
|
DB_EVENT_REP_INIT_DONE.
|
||||||
|
* New Object: "DB_SITE". Support for all its methods.
|
||||||
|
* Parameters for "DB_SITE->set_config()": DB_BOOTSTRAP_HELPER,
|
||||||
|
DB_GROUP_CREATOR, DB_LEGACY, DB_LOCAL_SITE, DB_REPMGR_PEER.
|
||||||
|
* Support for some stuff in the new "Dynamic Environment Configuration":
|
||||||
|
DB_MEM_LOCK, DB_MEM_LOCKOBJECT, DB_MEM_LOCKER, DB_MEM_LOGID,
|
||||||
|
DB_MEM_TRANSACTION, DB_MEM_THREAD.
|
||||||
|
* Add "bytes" to "DBEnv_memp_stat()". Original patch from Garrett Cooper.
|
||||||
|
- Spec file cleanup:
|
||||||
|
* Split of devel package for headers
|
||||||
|
* Don't package tests
|
||||||
|
* Fix non-executable bits
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 18 15:03:47 UTC 2010 - hvogel@novell.com
|
Thu Nov 18 15:03:47 UTC 2010 - hvogel@novell.com
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-bsddb3 (Version 5.1.1)
|
# spec file for package python-bsddb3
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,19 +16,22 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define modname bsddb3
|
|
||||||
|
|
||||||
Name: python-bsddb3
|
Name: python-bsddb3
|
||||||
Version: 5.1.1
|
Version: 5.2.0
|
||||||
Release: 1
|
Release: 0
|
||||||
Summary: Python interface for Berkeley DB
|
|
||||||
Url: http://pypi.python.org/pypi/bsddb3
|
Url: http://pypi.python.org/pypi/bsddb3
|
||||||
License: MIT License
|
Summary: Python interface for Berkeley DB
|
||||||
|
License: MIT
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Source: %{modname}-%{version}.tar.bz2
|
Source: http://pypi.python.org/packages/source/b/bsddb3/bsddb3-5.2.0.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{py_requires}
|
BuildRequires: db-devel
|
||||||
BuildRequires: db-devel python python-devel
|
BuildRequires: python-devel
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
%py_requires
|
||||||
|
%endif
|
||||||
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module provides a nearly complete wrapping of the Oracle/Sleepycat C API
|
This module provides a nearly complete wrapping of the Oracle/Sleepycat C API
|
||||||
@@ -37,19 +40,40 @@ Transaction objects, and each of these is exposed as a Python type in the
|
|||||||
bsddb3.db module.
|
bsddb3.db module.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{modname}-%{version}
|
%setup -q -n bsddb3-%{version}
|
||||||
|
sed -i "1d" Lib/bsddb/dbshelve.py # Fix non-executable bits
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This module provides a nearly complete wrapping of the Oracle/Sleepycat C API
|
||||||
|
for the Database Environment, Database, Cursor, Log Cursor, Sequence and
|
||||||
|
Transaction objects, and each of these is exposed as a Python type in the
|
||||||
|
bsddb3.db module.
|
||||||
|
|
||||||
|
This package contains the development files for %{name}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
|
||||||
python setup.py build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
rm -rf %{buildroot}%{python_sitearch}/bsddb3/tests # Remove wrongly packaged tests
|
||||||
|
|
||||||
%clean
|
# Disabled testsuite, takes quite some time to finish:
|
||||||
rm -rf %{buildroot}
|
#%%check
|
||||||
|
#python test.py
|
||||||
|
|
||||||
%files -f INSTALLED_FILES
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
|
%doc ChangeLog TODO.txt docs/*
|
||||||
|
%{python_sitearch}/*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_includedir}/python*/bsddb3
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user