Compare commits

...

No commits in common. "c8" and "c10s" have entirely different histories.
c8 ... c10s

7 changed files with 232 additions and 124 deletions

42
.gitignore vendored
View File

@ -1,2 +1,40 @@
SOURCES/tdb-1.4.9.tar.gz
SOURCES/tdb.keyring
/tdb-1.2.9.tar.gz
/tdb-1.2.10.tar.gz
/tdb-1.2.11.tar.gz
/tdb-1.2.12.tar.gz
/tdb-1.2.13.tar.gz
/tdb-1.3.0.tar.gz
/tdb-1.3.1.tar.gz
/tdb-1.3.3.tar.gz
/tdb-1.3.4.tar.gz
/tdb-1.3.5.tar.gz
/tdb-1.3.6.tar.gz
/tdb-1.3.7.tar.gz
/tdb-1.3.8.tar.gz
/tdb-1.3.9.tar.gz
/tdb-1.3.10.tar.gz
/tdb-1.3.11.tar.gz
/tdb-1.3.12.tar.gz
/tdb-1.3.13.tar.gz
/tdb-1.3.14.tar.gz
/tdb-1.3.15.tar.gz
/tdb-1.3.16.tar.gz
/tdb-1.3.17.tar.gz
/tdb-1.3.18.tar.gz
/tdb-1.4.2.tar.gz
/tdb-1.4.3.tar.asc
/tdb-1.4.3.tar.gz
/tdb-1.4.4.tar.gz
/tdb-1.4.4.tar.asc
/tdb-1.4.6.tar.asc
/tdb-1.4.6.tar.gz
/tdb-1.4.7.tar.gz
/tdb-1.4.7.tar.asc
/tdb-1.4.8.tar.gz
/tdb-1.4.8.tar.asc
/tdb-1.4.9.tar.gz
/tdb-1.4.9.tar.asc
/tdb-1.4.10.tar.gz
/tdb-1.4.10.tar.asc
/tdb-1.4.12.tar.asc
/tdb-1.4.12.tar.gz

View File

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

View File

@ -1,151 +1,131 @@
%if 0%{?fedora} || 0%{?rhel} > 7
%global with_python3 1
%endif
* Mon Jul 29 2024 Guenther Deschner <gdeschne@redhat.com> - 1.4.11-1
- rhbz#2300485 - libtdb-1.4.11 is available
Name: libtdb
Version: 1.4.9
Release: 0%{?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
# gpg2 --no-default-keyring --keyring ./tdb.keyring --recv-keys 9147A339719518EE9011BCB54793916113084025
Source2: tdb.keyring
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
# Patches
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.4.10-3
- Rebuilt for Python 3.13
BuildRequires: make
BuildRequires: gcc
BuildRequires: gnupg2
BuildRequires: libxslt
BuildRequires: docbook-style-xsl
%if 0%{?with_python3}
BuildRequires: python3-devel
%endif
* Wed Apr 24 2024 Pavel Filipenský <pfilipen@redhat.com> - 1.4.10-2
- Cleanup spec file
Provides: bundled(libreplace)
Obsoletes: python2-tdb < 1.4.2-1
* Mon Jan 29 2024 Guenther Deschner <gdeschne@redhat.com> - 1.4.10-1
- rhbz#2260955 - libtdb-1.4.10 is available
%description
A library that implements a trivial database.
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
%package devel
Summary: Header files need to link the Tdb library
Requires: libtdb = %{version}-%{release}
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
%description devel
Header files needed to develop programs that link against the Tdb library.
* Mon Aug 07 2023 Guenther Deschner <gdeschne@redhat.com> - 1.4.9-1
- rhbz#2224331 - libtdb-1.4.9 is available
%package -n tdb-tools
Summary: Developer tools for the Tdb library
Requires: libtdb = %{version}-%{release}
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
%description -n tdb-tools
Tools to manage Tdb files
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.4.8-2
- Rebuilt for Python 3.12
%if 0%{?with_python3}
%package -n python3-tdb
Summary: Python3 bindings for the Tdb library
Requires: libtdb = %{version}-%{release}
%{?python_provide:%python_provide python3-tdb}
* Thu Feb 23 2023 Pavel Filipenský <pfilipen@redhat.com> - 1.4.8-1
- SPDX migration
%description -n python3-tdb
Python3 bindings for libtdb
%endif
* Thu Jan 19 2023 Andreas Schneider <asn@redhat.com> - 1.4.8-1
- Update to version 1.4.8
- resolves: rhbz#2155422 - Fixed waf with python 3.12
%prep
%autosetup -n tdb-%{version} -p1
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.7-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
%build
zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
%configure --disable-rpath \
--bundled-libraries=NONE \
--builtin-libraries=replace
* Wed Dec 14 2022 Florian Weimer <fweimer@redhat.com> - 1.4.7-4
- C99 compatibility fix
%make_build
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
%check
%make_build check
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.4.7-2
- Rebuilt for Python 3.11
%install
make install DESTDIR=$RPM_BUILD_ROOT
* Fri Jun 10 2022 Andreas Schneider <asn@redhat.com> - 1.4.7-1
- Update to version 1.4.7
- resolves: rhbz#2095128
- resolves: rhbz#2083972
%files
%{_libdir}/libtdb.so.*
* Mon Jan 24 2022 Pavel Filipenský <pfilipen@redhat.com> - 1.4.6-1
- rhbz#1984004 - libtdb-1.4.6 is available
%files devel
%doc docs/README
%{_includedir}/tdb.h
%{_libdir}/libtdb.so
%{_libdir}/pkgconfig/tdb.pc
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
%files -n tdb-tools
%{_bindir}/tdbbackup
%{_bindir}/tdbdump
%{_bindir}/tdbtool
%{_bindir}/tdbrestore
%{_mandir}/man8/tdbbackup.8*
%{_mandir}/man8/tdbdump.8*
%{_mandir}/man8/tdbtool.8*
%{_mandir}/man8/tdbrestore.8*
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
%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
* Fri Jul 16 2021 Alexander Bokovoy <abokovoy@redhat.com> - 1.4.4-2
- Revert a change that syntactically broke tdb.h
- Resolves: rhbz#1983011
%ldconfig_scriptlets
* Thu Jul 15 2021 Guenther Deschner <gdeschne@redhat.com> - 1.4.4-1
- rhbz#1982579 - libtdb-1.4.4 is available
%changelog
* Fri Nov 17 2023 Pavel Filipenský <pfilipen@redhat.com> - 1.4.9-0
- resolves: RHEL-16507 - Update to version libtdb-1.4.9
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.4.3-7
- Rebuilt for Python 3.10
* Tue Jun 06 2023 Pavel Filipenský <pfilipen@redhat.com> - 1.4.8-3
- resolves: rhbz#2190421 - Rebuild to trigger distrobaker sync
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed May 24 2023 Pavel Filipenský <pfilipen@redhat.com> - 1.4.8-2
- resolves: rhbz#2190421 - Add missing tests to fix osci.brew-build.tier0.functional
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu May 18 2023 Pavel Filipenský <pfilipen@redhat.com> - 1.4.8-1
- resolves: rhbz#2190421 - Update to version 1.4.8
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 1.4.3-4
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Mon Oct 24 2022 Andreas Schneider <asn@redhat.com> - 1.4.7-1
- resolves: rhbz#2132054 - Rebase to version 1.4.7
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.4.3-3
- Rebuilt for Python 3.9
* Mon May 02 2022 Pavel Filipenský <pfilipen@redhat.com> - 1.4.6-1
- resolves: rhbz#2077482 - Rebase to version 1.4.6
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Nov 25 2021 Pavel Filipenský <pfilipen@redhat.com> - 1.4.4-1
* resolves: rhbz#2013604 - Rebase to version 1.4.4
* Wed Jan 22 2020 Lukas Slebodnik <lslebodn@fedoraproject.org> - 1.4.3-1
- rhbz#1783927 - libtdb-1.4.3 is available
* Tue Jun 2 2020 Isaac Boukris <iboukris@redhat.com> - 1.4.3-1
- Resolves: rhbz#1817565 - Rebase libtdb 1.4.3 for samba
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.4.2-2
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Tue Nov 26 2019 Isaac Boukris <iboukris@redhat.com> - 1.4.2-2
- Resolves: rhbz#1754420 - Rebase libtdb 1.4.2 for samba
- Related: rhbz#1754420 - Fix sssd tests (tdb)
* 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+
* Tue Apr 30 2019 Jakub Hrozek <jhrozek@redhat.com> - 1.3.18.2
- Obsolete the python2 packages on upgrade
- Resolves: rhbz#1567138 - libtdb: Drop Python 2 subpackage from RHEL 8
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.18-5
- Rebuilt for Python 3.8
* Wed Apr 24 2019 Jakub Hrozek <jhrozek@redhat.com> - 1.3.18.1
- 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
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.18-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Sep 20 2018 Jakub Hrozek <jhrozek@redhat.com> - 1.3.16-3
- Resolves: rhbz#1624137 - Review annocheck distro flag failures in libtdb
* 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'
* Thu Jul 12 2018 Jakub Hrozek <jhrozek@redhat.com> - 1.3.16-2
- Use pathfix.py to select python2 instead of pytho
* 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
- New upstream release 1.3.16
- Use RHEL_ALLOW_PYTHON2_FOR_BUILD=1 until libtalloc uses waf3
- Apply a patch to hide local ABI symbols to avoid issues with new binutils
- Patch the waf script to explicitly call python2 as "env python" doesn't
yield py2 anymore

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

93
libtdb.spec Normal file
View File

@ -0,0 +1,93 @@
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
BuildRequires: make
BuildRequires: gcc
BuildRequires: gnupg2
BuildRequires: libxslt
BuildRequires: docbook-style-xsl
BuildRequires: python3-devel
Provides: bundled(libreplace)
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
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
Requires: libtdb = %{version}-%{release}
%description -n tdb-tools
Tools to manage Tdb files
%package -n python3-tdb
Summary: Python3 bindings for the Tdb library
Requires: libtdb = %{version}-%{release}
%{?python_provide:%python_provide python3-tdb}
%description -n python3-tdb
Python3 bindings for libtdb
%prep
%autosetup -n tdb-%{version} -p1
%build
zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
%configure --disable-rpath \
--bundled-libraries=NONE \
--builtin-libraries=replace
%make_build
%check
%make_build check
%install
%make_install
%files
%{_libdir}/libtdb.so.*
%files devel
%doc docs/README
%{_includedir}/tdb.h
%{_libdir}/libtdb.so
%{_libdir}/pkgconfig/tdb.pc
%files -n tdb-tools
%{_bindir}/tdbbackup
%{_bindir}/tdbdump
%{_bindir}/tdbtool
%{_bindir}/tdbrestore
%{_mandir}/man8/tdbbackup.8*
%{_mandir}/man8/tdbdump.8*
%{_mandir}/man8/tdbtool.8*
%{_mandir}/man8/tdbrestore.8*
%files -n python3-tdb
%{python3_sitearch}/__pycache__/_tdb_text.cpython*.py[co]
%{python3_sitearch}/tdb.cpython*.so
%{python3_sitearch}/_tdb_text.py
%ldconfig_scriptlets
%changelog
%autochangelog

2
sources Normal file
View File

@ -0,0 +1,2 @@
SHA512 (tdb-1.4.12.tar.gz) = f41644ae29da7fed26959e4f2e3664e58ec65681b0b7115fbb296a7a8c5642c8190dac6e16e5704b322469466dd5aa15c1f7f72df8226ac9c695b5b10ac85b66
SHA512 (tdb-1.4.12.tar.asc) = a621e9b9f70f6cd03b5a15fdae84a9f4748d0a536219a3e5b869393c074b91c0e0cbb030f57330dbeb1b394b02c938f9b7471fc3e5477b4497b695a9e9b5b123

BIN
tdb.keyring Normal file

Binary file not shown.