From 9507e936265e9b098343e4a4877896c18df79924 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Tue, 5 Nov 2024 04:44:34 +0300 Subject: [PATCH] import libtdb-1.4.12-102.el10 --- .gitignore | 2 +- .libtdb.metadata | 2 +- SOURCES/tdb-1.4.10.tar.asc | 11 ------ SOURCES/tdb-1.4.12.tar.asc | 11 ++++++ SPECS/libtdb.spec | 78 ++++++++++++++++++++++++-------------- 5 files changed, 63 insertions(+), 41 deletions(-) delete mode 100644 SOURCES/tdb-1.4.10.tar.asc create mode 100644 SOURCES/tdb-1.4.12.tar.asc diff --git a/.gitignore b/.gitignore index cb6f98a..2247a68 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -SOURCES/tdb-1.4.10.tar.gz +SOURCES/tdb-1.4.12.tar.gz SOURCES/tdb.keyring diff --git a/.libtdb.metadata b/.libtdb.metadata index 451cfb4..f10cc54 100644 --- a/.libtdb.metadata +++ b/.libtdb.metadata @@ -1,2 +1,2 @@ -284c7927ca381502cda87631945808f69833c582 SOURCES/tdb-1.4.10.tar.gz +fc34460e132110e335b8b6caf9e92a50293fd7f8 SOURCES/tdb-1.4.12.tar.gz 5d2957f5d63a72a6fc196af3e45242f3d321f6cf SOURCES/tdb.keyring diff --git a/SOURCES/tdb-1.4.10.tar.asc b/SOURCES/tdb-1.4.10.tar.asc deleted file mode 100644 index b081fc5..0000000 --- a/SOURCES/tdb-1.4.10.tar.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmW3z+8ACgkQR5ORYRMI -QCWNmQf9Fj4OVCqllUuspTEazoSvmmX+HBp/GwdCHOtyPHL882zidxW+jphxF5Mc -xgVr2jKsodKkCFekVaQNqed8PrcXtel/T6uvLgt8G8h90Zu06SlxXmFPZx8Rjx+g -y5CCh/HZqWhHwOyRR5VWi3OotQj3FoNypV7+btvqFGuSvw/9OXv/14oD3tPgkHik -jTC/DQiJwL2b0uwIC1HDGNlEODyc7fmV0jL5yhzd05LO0nPKdkNTEeLzVJegeRP6 -+tIT2tHDnqKceRfOgkIVZ4DEnpCfrhMFfV8WOpmMRPpDqLdFJZpl6JLITNOsAdvH -W5jtR4SZ3+WxaKuFO45LTnnsBxOewg== -=8I9w ------END PGP SIGNATURE----- diff --git a/SOURCES/tdb-1.4.12.tar.asc b/SOURCES/tdb-1.4.12.tar.asc new file mode 100644 index 0000000..022002c --- /dev/null +++ b/SOURCES/tdb-1.4.12.tar.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmaymp8ACgkQR5ORYRMI +QCVZDggAvaeoNP+T6mDFqDVzu5WKUS7ffqCNTLk9FBaVmWx4+rU/sGTzoejGKmqz +eJIbw5JvYSQJy48pCHB1pspI0IwbC9D1xIZ3MNxbV8ELYw0jgOedcJopiK0O+Zfa +RyZ57ixg7gPbC1qgv8XLOtk7YTbk/QeBPWRa1cgECQoIX9hSSgDJVCQZqBDxrr0h +ZYUmUa/h3lHtl8sM3MbFNppoGZga0Lrx1qK+AQCl8ekGPCeNeKC0sVkMRO3YfzMk +lj5EvIl2DvOC/q6MJduDSzxUexIw2ItK4Bo7AUHL8lI7BBFo5+43P226aJwKQ0PK +8xXihgfK2hVMQ1PuIVoDEv+Q230gCA== +=D935 +-----END PGP SIGNATURE----- diff --git a/SPECS/libtdb.spec b/SPECS/libtdb.spec index cd7ec2d..7c6e8a5 100644 --- a/SPECS/libtdb.spec +++ b/SPECS/libtdb.spec @@ -1,28 +1,30 @@ -%if 0%{?fedora} || 0%{?rhel} > 7 -%global with_python3 1 -%endif - -Name: libtdb -Version: 1.4.10 -Release: 2%{?dist} -Summary: The tdb library -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 +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 3; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +Name: libtdb +Version: 1.4.12 +Release: %autorelease -b 100 +Summary: The tdb library +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 -Source2: tdb.keyring - -# Patches +Source2: tdb.keyring 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 @@ -30,21 +32,22 @@ Obsoletes: python2-tdb < 1.4.2-1 %description A library that implements a trivial database. -%package devel -Summary: Header files need to link the Tdb library +%package devel +Summary: Header files need to link the Tdb library + Requires: libtdb = %{version}-%{release} %description devel Header files needed to develop programs that link against the Tdb library. %package -n tdb-tools -Summary: Developer tools for the Tdb library +Summary: Developer tools for the Tdb library + 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 +55,6 @@ Requires: libtdb = %{version}-%{release} %description -n python3-tdb Python3 bindings for libtdb -%endif %prep %autosetup -n tdb-%{version} -p1 @@ -69,7 +71,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,21 +92,39 @@ 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 -* Fri Oct 25 2024 MSVSphere Packaging Team - 1.4.10-2 +## START: Generated by rpmautospec +* Fri Oct 25 2024 MSVSphere Packaging Team - 1.4.12-102 - Rebuilt for MSVSphere 10 -* Mon Jun 24 2024 Troy Dawson - 1.4.10-2 -- Bump release for June 2024 mass rebuild +* Mon Oct 21 2024 Pavel Filipenský - 1.4.12-102 +- Enable gating tests for libtdb + +* Wed Oct 02 2024 Pavel Filipenský - 1.4.12-101 +- resolves: RHEL-34923 + +* Thu Sep 26 2024 Pavel Filipenský - 1.4.12-1 +- Update to version 1.4.12 +- resolves: RHEL-59782 + +* Mon Jul 29 2024 Guenther Deschner - 1.4.11-1 +- rhbz#2300485 - libtdb-1.4.11 is available + +* Thu Jul 18 2024 Fedora Release Engineering - 1.4.10-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 1.4.10-3 +- Rebuilt for Python 3.13 + +* Wed Apr 24 2024 Pavel Filipenský - 1.4.10-2 +- Cleanup spec file * Mon Jan 29 2024 Guenther Deschner - 1.4.10-1 - rhbz#2260955 - libtdb-1.4.10 is available @@ -429,3 +449,5 @@ make install DESTDIR=$RPM_BUILD_ROOT * Wed May 6 2009 Simo Sorce - 1.1.3-15 - First public independent release from upstream + +## END: Generated by rpmautospec