Update to version 1.4.12
- resolves: RHEL-59782
This commit is contained in:
parent
3fd21dd471
commit
7cd2de947c
2
.gitignore
vendored
2
.gitignore
vendored
@ -36,3 +36,5 @@
|
|||||||
/tdb-1.4.9.tar.asc
|
/tdb-1.4.9.tar.asc
|
||||||
/tdb-1.4.10.tar.gz
|
/tdb-1.4.10.tar.gz
|
||||||
/tdb-1.4.10.tar.asc
|
/tdb-1.4.10.tar.asc
|
||||||
|
/tdb-1.4.12.tar.asc
|
||||||
|
/tdb-1.4.12.tar.gz
|
||||||
|
40
libtdb.spec
40
libtdb.spec
@ -1,28 +1,20 @@
|
|||||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
Name: libtdb
|
||||||
%global with_python3 1
|
Version: 1.4.12
|
||||||
%endif
|
Release: %autorelease
|
||||||
|
Summary: The tdb library
|
||||||
Name: libtdb
|
License: LGPL-3.0-or-later
|
||||||
Version: 1.4.10
|
URL: http://tdb.samba.org/
|
||||||
Release: 2%{?dist}
|
Source0: http://samba.org/ftp/tdb/tdb-%{version}.tar.gz
|
||||||
Summary: The tdb library
|
Source1: http://samba.org/ftp/tdb/tdb-%{version}.tar.asc
|
||||||
License: LGPL-3.0-or-later
|
|
||||||
URL: http://tdb.samba.org/
|
|
||||||
Source0: http://samba.org/ftp/tdb/tdb-%{version}.tar.gz
|
|
||||||
Source1: http://samba.org/ftp/tdb/tdb-%{version}.tar.asc
|
|
||||||
# gpg2 --no-default-keyring --keyring ./tdb.keyring --recv-keys 9147A339719518EE9011BCB54793916113084025
|
# gpg2 --no-default-keyring --keyring ./tdb.keyring --recv-keys 9147A339719518EE9011BCB54793916113084025
|
||||||
Source2: tdb.keyring
|
Source2: tdb.keyring
|
||||||
|
|
||||||
# Patches
|
|
||||||
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
BuildRequires: docbook-style-xsl
|
BuildRequires: docbook-style-xsl
|
||||||
%if 0%{?with_python3}
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
%endif
|
|
||||||
|
|
||||||
Provides: bundled(libreplace)
|
Provides: bundled(libreplace)
|
||||||
Obsoletes: python2-tdb < 1.4.2-1
|
Obsoletes: python2-tdb < 1.4.2-1
|
||||||
@ -30,21 +22,22 @@ Obsoletes: python2-tdb < 1.4.2-1
|
|||||||
%description
|
%description
|
||||||
A library that implements a trivial database.
|
A library that implements a trivial database.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Header files need to link the Tdb library
|
Summary: Header files need to link the Tdb library
|
||||||
|
|
||||||
Requires: libtdb = %{version}-%{release}
|
Requires: libtdb = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Header files needed to develop programs that link against the Tdb library.
|
Header files needed to develop programs that link against the Tdb library.
|
||||||
|
|
||||||
%package -n tdb-tools
|
%package -n tdb-tools
|
||||||
Summary: Developer tools for the Tdb library
|
Summary: Developer tools for the Tdb library
|
||||||
|
|
||||||
Requires: libtdb = %{version}-%{release}
|
Requires: libtdb = %{version}-%{release}
|
||||||
|
|
||||||
%description -n tdb-tools
|
%description -n tdb-tools
|
||||||
Tools to manage Tdb files
|
Tools to manage Tdb files
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%package -n python3-tdb
|
%package -n python3-tdb
|
||||||
Summary: Python3 bindings for the Tdb library
|
Summary: Python3 bindings for the Tdb library
|
||||||
Requires: libtdb = %{version}-%{release}
|
Requires: libtdb = %{version}-%{release}
|
||||||
@ -52,7 +45,6 @@ Requires: libtdb = %{version}-%{release}
|
|||||||
|
|
||||||
%description -n python3-tdb
|
%description -n python3-tdb
|
||||||
Python3 bindings for libtdb
|
Python3 bindings for libtdb
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n tdb-%{version} -p1
|
%autosetup -n tdb-%{version} -p1
|
||||||
@ -69,7 +61,7 @@ zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
|
|||||||
%make_build check
|
%make_build check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%make_install
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_libdir}/libtdb.so.*
|
%{_libdir}/libtdb.so.*
|
||||||
@ -90,12 +82,10 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man8/tdbtool.8*
|
%{_mandir}/man8/tdbtool.8*
|
||||||
%{_mandir}/man8/tdbrestore.8*
|
%{_mandir}/man8/tdbrestore.8*
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%files -n python3-tdb
|
%files -n python3-tdb
|
||||||
%{python3_sitearch}/__pycache__/_tdb_text.cpython*.py[co]
|
%{python3_sitearch}/__pycache__/_tdb_text.cpython*.py[co]
|
||||||
%{python3_sitearch}/tdb.cpython*.so
|
%{python3_sitearch}/tdb.cpython*.so
|
||||||
%{python3_sitearch}/_tdb_text.py
|
%{python3_sitearch}/_tdb_text.py
|
||||||
%endif
|
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
|||||||
SHA512 (tdb-1.4.10.tar.gz) = b5147d811617d90a025d1070abf16c42744b3fc3cac1042fbff03b1e635af2eaf9c957a7bffdb3f56b4a0c775b44f8027def9f23deb1b3ede817b95bbece2ce9
|
SHA512 (tdb-1.4.12.tar.gz) = f41644ae29da7fed26959e4f2e3664e58ec65681b0b7115fbb296a7a8c5642c8190dac6e16e5704b322469466dd5aa15c1f7f72df8226ac9c695b5b10ac85b66
|
||||||
SHA512 (tdb-1.4.10.tar.asc) = 7bc9616aa6a3badba33e508777eec307de51c2abb494836677356e432036970641b53f3b7c0c207efe909194343d3554af7932412d163f59db0ec8877fd19848
|
SHA512 (tdb-1.4.12.tar.asc) = a621e9b9f70f6cd03b5a15fdae84a9f4748d0a536219a3e5b869393c074b91c0e0cbb030f57330dbeb1b394b02c938f9b7471fc3e5477b4497b695a9e9b5b123
|
||||||
|
Loading…
Reference in New Issue
Block a user