Compare commits

...

No commits in common. "imports/c9-beta/libtdb-1.4.12-1.el9" and "c8" have entirely different histories.

5 changed files with 66 additions and 118 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
SOURCES/tdb-1.4.12.tar.gz SOURCES/tdb-1.4.9.tar.gz
SOURCES/tdb.keyring SOURCES/tdb.keyring

View File

@ -1,2 +0,0 @@
fc34460e132110e335b8b6caf9e92a50293fd7f8 SOURCES/tdb-1.4.12.tar.gz
41c0b3a84123968a0df75d416c57fe2879205585 SOURCES/tdb.keyring

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmaymp8ACgkQR5ORYRMI
QCVZDggAvaeoNP+T6mDFqDVzu5WKUS7ffqCNTLk9FBaVmWx4+rU/sGTzoejGKmqz
eJIbw5JvYSQJy48pCHB1pspI0IwbC9D1xIZ3MNxbV8ELYw0jgOedcJopiK0O+Zfa
RyZ57ixg7gPbC1qgv8XLOtk7YTbk/QeBPWRa1cgECQoIX9hSSgDJVCQZqBDxrr0h
ZYUmUa/h3lHtl8sM3MbFNppoGZga0Lrx1qK+AQCl8ekGPCeNeKC0sVkMRO3YfzMk
lj5EvIl2DvOC/q6MJduDSzxUexIw2ItK4Bo7AUHL8lI7BBFo5+43P226aJwKQ0PK
8xXihgfK2hVMQ1PuIVoDEv+Q230gCA==
=D935
-----END PGP SIGNATURE-----

11
SOURCES/tdb-1.4.9.tar.asc Normal file
View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmS5EQcACgkQR5ORYRMI
QCVEJAf/fs1Nzq/ipbjmD7O4bOJ8QOWtbg3sJ5UeD7hRAtSWs0DuNlWQOXMYSXS3
kA3bjU896uWqEnkSQWdedWkOVe4TKMRYB464UMfRF4o+7mv8kf04auExMW0jQizt
ORXUID1edICT39mcXF5tWzMpdMZGYrnstd2VOKlVEDavJ3eq4EHaQrxHf+cKVvog
+9LdXUDYDjppyLjNoY8TimSmOPA7cN5O/yGorpOUsRrie9n1q6G65ZgnlYRIIKmy
FCyn9JKNGVgLeqmuANt62b0ENI0DM29pEauqIIsSEgbwDiMLu88l+jkt1n5kPKLm
p3ASZafnW7MncjtjpIzCcv5bBAfC5Q==
=UUVZ
-----END PGP SIGNATURE-----

View File

@ -1,30 +1,28 @@
## START: Set by rpmautospec %if 0%{?fedora} || 0%{?rhel} > 7
## (rpmautospec version 0.6.5) %global with_python3 1
## RPMAUTOSPEC: autorelease, autochangelog %endif
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
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 Name: libtdb
Version: 1.4.12 Version: 1.4.9
Release: %autorelease Release: 0%{?dist}
Summary: The tdb library Summary: The tdb library
License: LGPL-3.0-or-later License: LGPL-3.0-or-later
URL: http://tdb.samba.org/ URL: http://tdb.samba.org/
Source0: http://samba.org/ftp/tdb/tdb-%{version}.tar.gz Source0: http://samba.org/ftp/tdb/tdb-%{version}.tar.gz
Source1: http://samba.org/ftp/tdb/tdb-%{version}.tar.asc 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
@ -32,22 +30,21 @@ 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}
@ -55,6 +52,7 @@ 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
@ -71,7 +69,7 @@ zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
%make_build check %make_build check
%install %install
%make_install make install DESTDIR=$RPM_BUILD_ROOT
%files %files
%{_libdir}/libtdb.so.* %{_libdir}/libtdb.so.*
@ -92,108 +90,62 @@ zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
%{_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
%changelog %changelog
## START: Generated by rpmautospec * Fri Nov 17 2023 Pavel Filipenský <pfilipen@redhat.com> - 1.4.9-0
* Fri Sep 27 2024 Pavel Filipenský <pfilipensky@samba.org> - 1.4.12-1 - resolves: RHEL-16507 - Update to version libtdb-1.4.9
- Update to version 1.4.12
- resolves: RHEL-59791
* Wed Apr 24 2024 Pavel Filipenský <pfilipen@redhat.com> - 1.4.10-1 * Tue Jun 06 2023 Pavel Filipenský <pfilipen@redhat.com> - 1.4.8-3
- resolves: RHEL-33756 - Rebase to version 1.4.10 - resolves: rhbz#2190421 - Rebuild to trigger distrobaker sync
* Mon Dec 04 2023 Andreas Schneider <asn@redhat.com> - 1.4.9-1 * Wed May 24 2023 Pavel Filipenský <pfilipen@redhat.com> - 1.4.8-2
- resolves: RHEL-16480 - Rebase to version 1.4.9 - resolves: rhbz#2190421 - Add missing tests to fix osci.brew-build.tier0.functional
* Mon Jun 05 2023 Pavel Filipenský <pfilipen@redhat.com> - 1.4.8-2 * Thu May 18 2023 Pavel Filipenský <pfilipen@redhat.com> - 1.4.8-1
- resolves: rhbz#2190420 - Rebuilt to retrigger brew build - resolves: rhbz#2190421 - Update to version 1.4.8
* Tue May 16 2023 Pavel Filipenský <pfilipen@redhat.com> - 1.4.8-1 * Mon Oct 24 2022 Andreas Schneider <asn@redhat.com> - 1.4.7-1
- resolves: rhbz#2190420 - Rebase to version 1.4.8 - resolves: rhbz#2132054 - Rebase to version 1.4.7
* Fri Oct 21 2022 Andreas Schneider <asn@redhat.com> - 1.4.7-1
- resolves: rhbz#2131998 - Rebase to version 1.4.7
* Mon May 02 2022 Pavel Filipenský <pfilipen@redhat.com> - 1.4.6-1 * Mon May 02 2022 Pavel Filipenský <pfilipen@redhat.com> - 1.4.6-1
- resolves: rhbz#2077489 - Rebase libtdb to the version (1.4.6) required by Samba - resolves: rhbz#2077482 - Rebase to version 1.4.6
* Mon Nov 29 2021 Pavel Filipenský <pfilipen@redhat.com> - 1.4.4-1 * Thu Nov 25 2021 Pavel Filipenský <pfilipen@redhat.com> - 1.4.4-1
- resolves: rhbz#2013584 - Rebase to version 1.4.4 * resolves: rhbz#2013604 - Rebase to version 1.4.4
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.3-10 * Tue Jun 2 2020 Isaac Boukris <iboukris@redhat.com> - 1.4.3-1
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Resolves: rhbz#1817565 - Rebase libtdb 1.4.3 for samba
Related: rhbz#1991688
* Fri Jul 23 2021 Andreas Schneider <asn@redhat.com> - 1.4.3-9 * Tue Nov 26 2019 Isaac Boukris <iboukris@redhat.com> - 1.4.2-2
- resolves: rhbz#1938798 - Fix memory leak on transaction error - Resolves: rhbz#1754420 - Rebase libtdb 1.4.2 for samba
- Related: rhbz#1754420 - Fix sssd tests (tdb)
* Mon May 31 2021 Andreas Schneider <asn@redhat.com> - 1.4.3-8 * Tue Apr 30 2019 Jakub Hrozek <jhrozek@redhat.com> - 1.3.18.2
- related: rhbz#1962774 - Rebuilt for running gating tests - Obsolete the python2 packages on upgrade
- Resolves: rhbz#1567138 - libtdb: Drop Python 2 subpackage from RHEL 8
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.3-7 * Wed Apr 24 2019 Jakub Hrozek <jhrozek@redhat.com> - 1.3.18.1
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Resolves: rhbz#1684579 - Rebase libtdb to version 1.3.18 for Samba
- Resolves: rhbz#1597319 - libtdb uses Python 2 to build
- Resolves: rhbz#1567138 - libtdb: Drop Python 2 subpackage from RHEL 8
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-6 * Thu Sep 20 2018 Jakub Hrozek <jhrozek@redhat.com> - 1.3.16-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Resolves: rhbz#1624137 - Review annocheck distro flag failures in libtdb
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-5 * Thu Jul 12 2018 Jakub Hrozek <jhrozek@redhat.com> - 1.3.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Use pathfix.py to select python2 instead of pytho
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 1.4.3-4
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.4.3-3
- Rebuilt for Python 3.9
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jan 22 2020 Lukas Slebodnik <lslebodn@fedoraproject.org> - 1.4.3-1
- rhbz#1783927 - libtdb-1.4.3 is available
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.4.2-2
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Mon Aug 26 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 1.4.2-1
- rhbz#1691299 - libtdb-1.4.2 is available
- rhbz#1737644 - libldb, libtalloc, libtevent, libtdb: Remove Python 2 subpackages from Fedora 31+
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.18-5
- Rebuilt for Python 3.8
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.18-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Jun 14 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 1.3.18-3
- rhbz#1718113 - samba fail to build with Python 3.8
AttributeError: module 'time' has no attribute 'clock'
* Mon Jun 03 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 1.3.18-2
- rhbz#1711638 - fails to build with Python 3.8.0a4
* Tue Feb 26 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 1.3.18-1
- rhbz#1683185 - libtdb-1.3.18 is available
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.17-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jan 17 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 1.3.17-1
- rhbz#1667472 - libtdb-1.3.17 is available
* Fri Jul 13 2018 Jakub Hrozek <jhrozek@redhat.com> - 1.3.16-2
- Drop the unneeded ABI hide patch
- Use pathfix.py instead of a local patch to munge the python path
* Thu Jul 12 2018 Jakub Hrozek <jhrozek@redhat.com> - 1.3.16-1 * Thu Jul 12 2018 Jakub Hrozek <jhrozek@redhat.com> - 1.3.16-1
- New upstream release 1.3.16 - New upstream release 1.3.16
- Apply a patch to hide local ABI symbols to avoid issues with new binutils - Use RHEL_ALLOW_PYTHON2_FOR_BUILD=1 until libtalloc uses waf3
- Patch the waf script to explicitly call python2 as "env python" doesn't - Patch the waf script to explicitly call python2 as "env python" doesn't
yield py2 anymore yield py2 anymore
@ -401,5 +353,3 @@ zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
* Wed May 6 2009 Simo Sorce <ssorce@redhat.com> - 1.1.3-15 * Wed May 6 2009 Simo Sorce <ssorce@redhat.com> - 1.1.3-15
- First public independent release from upstream - First public independent release from upstream
## END: Generated by rpmautospec