New version 1.3.7 with Python 3 bindings
This commit is contained in:
parent
ef81590cea
commit
d301dd214f
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@
|
||||
/tdb-1.3.4.tar.gz
|
||||
/tdb-1.3.5.tar.gz
|
||||
/tdb-1.3.6.tar.gz
|
||||
/tdb-1.3.7.tar.gz
|
||||
|
||||
39
libtdb.spec
39
libtdb.spec
@ -1,12 +1,6 @@
|
||||
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
%endif
|
||||
%{!?python_version: %global python_version %(%{__python} -c "from distutils.sysconfig import get_python_version; print(get_python_version())")}
|
||||
|
||||
Name: libtdb
|
||||
Version: 1.3.6
|
||||
Release: 2%{?dist}
|
||||
Version: 1.3.7
|
||||
Release: 1%{?dist}
|
||||
Group: System Environment/Daemons
|
||||
Summary: The tdb library
|
||||
License: LGPLv3+
|
||||
@ -17,7 +11,8 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: docbook-style-xsl
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python3-devel
|
||||
|
||||
Provides: bundled(libreplace)
|
||||
|
||||
@ -51,13 +46,22 @@ Requires: libtdb = %{version}-%{release}
|
||||
%description -n python-tdb
|
||||
Python bindings for libtdb
|
||||
|
||||
%package -n python3-tdb
|
||||
Group: Development/Libraries
|
||||
Summary: Python3 bindings for the Tdb library
|
||||
Requires: libtdb = %{version}-%{release}
|
||||
|
||||
%description -n python3-tdb
|
||||
Python3 bindings for libtdb
|
||||
|
||||
%prep
|
||||
%setup -q -n tdb-%{version}
|
||||
|
||||
%build
|
||||
%configure --disable-rpath \
|
||||
--bundled-libraries=NONE \
|
||||
--builtin-libraries=replace
|
||||
--builtin-libraries=replace \
|
||||
--extra-python=%{__python3}
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%install
|
||||
@ -99,6 +103,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files -n python-tdb
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/tdb.so
|
||||
%{python_sitearch}/_tdb_text.py*
|
||||
|
||||
%files -n python3-tdb
|
||||
%defattr(-,root,root,-)
|
||||
%{python3_sitearch}/__pycache__/_tdb_text.cpython-%{python3_version_nodots}.py[co]
|
||||
%{python3_sitearch}/tdb.cpython-%{python3_version_nodots}m.so
|
||||
%{python3_sitearch}/_tdb_text.py
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
@ -108,7 +119,15 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%postun -n python-tdb -p /sbin/ldconfig
|
||||
|
||||
%post -n python3-tdb -p /sbin/ldconfig
|
||||
|
||||
%postun -n python3-tdb -p /sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
* Wed Jul 22 2015 Jakub Hrozek <jhrozek@redhat.com> - 1.3.7-1
|
||||
- New upstream release 1.3.7
|
||||
- Build Python3 bindings
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user