Rebase to version 1.4.10

This commit is contained in:
Pavel Filipenský 2024-04-24 14:32:00 +02:00 committed by root
parent 48d03dc7c6
commit a4d616710f
4 changed files with 11 additions and 16 deletions

2
.gitignore vendored
View File

@ -35,3 +35,5 @@
/tdb-1.4.8.tar.gz
/tdb-1.4.9.tar.gz
/tdb-1.4.9.tar.asc
/tdb-1.4.10.tar.asc
/tdb-1.4.10.tar.gz

2
.libtdb.metadata Normal file
View File

@ -0,0 +1,2 @@
36f3fde462949b3581a379ab6a6d1ccd78f6b717 tdb-1.4.10.tar.asc
284c7927ca381502cda87631945808f69833c582 tdb-1.4.10.tar.gz

View File

@ -1,9 +1,5 @@
%if 0%{?fedora} || 0%{?rhel} > 7
%global with_python3 1
%endif
Name: libtdb
Version: 1.4.9
Version: 1.4.10
Release: 1%{?dist}
Summary: The tdb library
License: LGPL-3.0-or-later
@ -13,16 +9,12 @@ Source1: http://samba.org/ftp/tdb/tdb-%{version}.tar.asc
# gpg2 --no-default-keyring --keyring ./tdb.keyring --recv-keys 9147A339719518EE9011BCB54793916113084025
Source2: tdb.keyring
# Patches
BuildRequires: make
BuildRequires: gcc
BuildRequires: gnupg2
BuildRequires: libxslt
BuildRequires: docbook-style-xsl
%if 0%{?with_python3}
BuildRequires: python3-devel
%endif
Provides: bundled(libreplace)
Obsoletes: python2-tdb < 1.4.2-1
@ -44,7 +36,6 @@ Requires: libtdb = %{version}-%{release}
%description -n tdb-tools
Tools to manage Tdb files
%if 0%{?with_python3}
%package -n python3-tdb
Summary: Python3 bindings for the Tdb library
Requires: libtdb = %{version}-%{release}
@ -52,7 +43,6 @@ Requires: libtdb = %{version}-%{release}
%description -n python3-tdb
Python3 bindings for libtdb
%endif
%prep
%autosetup -n tdb-%{version} -p1
@ -69,7 +59,7 @@ zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
%make_build check
%install
make install DESTDIR=$RPM_BUILD_ROOT
%make_install
%files
%{_libdir}/libtdb.so.*
@ -90,16 +80,17 @@ make install DESTDIR=$RPM_BUILD_ROOT
%{_mandir}/man8/tdbtool.8*
%{_mandir}/man8/tdbrestore.8*
%if 0%{?with_python3}
%files -n python3-tdb
%{python3_sitearch}/__pycache__/_tdb_text.cpython*.py[co]
%{python3_sitearch}/tdb.cpython*.so
%{python3_sitearch}/_tdb_text.py
%endif
%ldconfig_scriptlets
%changelog
* Wed Apr 24 2024 Pavel Filipenský <pfilipen@redhat.com> - 1.4.10-1
- resolves: RHEL-33756 - Rebase to version 1.4.10
* Mon Dec 04 2023 Andreas Schneider <asn@redhat.com> - 1.4.9-1
- resolves: RHEL-16480 - Rebase to version 1.4.9

View File

@ -1,2 +1,2 @@
SHA512 (tdb-1.4.9.tar.gz) = 6b0109075826b8630f6b5a7e7ade2fcff95c5d05338340af78219422610947c520707b3e484ff13fbd40bbfffe13977976e8ddcb1be7b13e13ac78b4e3ec06c2
SHA512 (tdb-1.4.9.tar.asc) = 7325426d979b22c5bcc4a7e31c2090167e4032c6f4a90c4f716f56cc401d20babd7e739a4fdec74ea15338cd5b6fc1452efb968033176a8891569af616e7fc71
SHA512 (tdb-1.4.10.tar.asc) = 7bc9616aa6a3badba33e508777eec307de51c2abb494836677356e432036970641b53f3b7c0c207efe909194343d3554af7932412d163f59db0ec8877fd19848
SHA512 (tdb-1.4.10.tar.gz) = b5147d811617d90a025d1070abf16c42744b3fc3cac1042fbff03b1e635af2eaf9c957a7bffdb3f56b4a0c775b44f8027def9f23deb1b3ede817b95bbece2ce9