Compare commits
No commits in common. "imports/c8s/libtdb-1.4.2-2.el8" and "c8" have entirely different histories.
imports/c8
...
c8
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
SOURCES/tdb-1.4.2.tar.gz
|
SOURCES/tdb-1.4.9.tar.gz
|
||||||
|
SOURCES/tdb.keyring
|
||||||
|
@ -1 +0,0 @@
|
|||||||
9a6e51cde16a2400b76448c4e7de2f87656477a2 SOURCES/tdb-1.4.2.tar.gz
|
|
11
SOURCES/tdb-1.4.9.tar.asc
Normal file
11
SOURCES/tdb-1.4.9.tar.asc
Normal 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-----
|
@ -1,30 +1,38 @@
|
|||||||
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||||
|
%global with_python3 1
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: libtdb
|
Name: libtdb
|
||||||
Version: 1.4.2
|
Version: 1.4.9
|
||||||
Release: 2%{?dist}
|
Release: 0%{?dist}
|
||||||
Summary: The tdb library
|
Summary: The tdb library
|
||||||
License: LGPLv3+
|
License: LGPL-3.0-or-later
|
||||||
URL: http://tdb.samba.org/
|
URL: http://tdb.samba.org/
|
||||||
Source: 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
|
||||||
BuildRequires: gcc
|
# gpg2 --no-default-keyring --keyring ./tdb.keyring --recv-keys 9147A339719518EE9011BCB54793916113084025
|
||||||
BuildRequires: libxslt
|
Source2: tdb.keyring
|
||||||
BuildRequires: docbook-style-xsl
|
|
||||||
BuildRequires: python3-devel
|
|
||||||
|
|
||||||
Obsoletes: python2-tdb < %{version}-%{release}
|
|
||||||
Obsoletes: python2-tdb-debuginfo < %{version}-%{release}
|
|
||||||
|
|
||||||
Provides: bundled(libreplace)
|
|
||||||
|
|
||||||
# Patches
|
# 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
|
||||||
|
|
||||||
%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}
|
||||||
Requires: pkgconfig
|
|
||||||
|
|
||||||
%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.
|
||||||
@ -36,6 +44,7 @@ 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}
|
||||||
@ -43,29 +52,25 @@ 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
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
|
||||||
%configure --disable-rpath \
|
%configure --disable-rpath \
|
||||||
--bundled-libraries=NONE \
|
--bundled-libraries=NONE \
|
||||||
--builtin-libraries=replace
|
--builtin-libraries=replace
|
||||||
|
|
||||||
make %{?_smp_mflags} V=1
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
%make_build check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
# Shared libraries need to be marked executable for
|
|
||||||
# rpmbuild to strip them and include them in debuginfo
|
|
||||||
find $RPM_BUILD_ROOT -name "*.so*" -exec chmod -c +x {} \;
|
|
||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libtdb.a
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_libdir}/libtdb.so.*
|
%{_libdir}/libtdb.so.*
|
||||||
|
|
||||||
@ -85,20 +90,40 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libtdb.a
|
|||||||
%{_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
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post -n python3-tdb -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n python3-tdb -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 17 2023 Pavel Filipenský <pfilipen@redhat.com> - 1.4.9-0
|
||||||
|
- resolves: RHEL-16507 - Update to version libtdb-1.4.9
|
||||||
|
|
||||||
|
* Tue Jun 06 2023 Pavel Filipenský <pfilipen@redhat.com> - 1.4.8-3
|
||||||
|
- resolves: rhbz#2190421 - Rebuild to trigger distrobaker sync
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Thu May 18 2023 Pavel Filipenský <pfilipen@redhat.com> - 1.4.8-1
|
||||||
|
- resolves: rhbz#2190421 - Update to version 1.4.8
|
||||||
|
|
||||||
|
* Mon Oct 24 2022 Andreas Schneider <asn@redhat.com> - 1.4.7-1
|
||||||
|
- resolves: rhbz#2132054 - Rebase to version 1.4.7
|
||||||
|
|
||||||
|
* Mon May 02 2022 Pavel Filipenský <pfilipen@redhat.com> - 1.4.6-1
|
||||||
|
- resolves: rhbz#2077482 - Rebase to version 1.4.6
|
||||||
|
|
||||||
|
* Thu Nov 25 2021 Pavel Filipenský <pfilipen@redhat.com> - 1.4.4-1
|
||||||
|
* resolves: rhbz#2013604 - Rebase to version 1.4.4
|
||||||
|
|
||||||
|
* Tue Jun 2 2020 Isaac Boukris <iboukris@redhat.com> - 1.4.3-1
|
||||||
|
- Resolves: rhbz#1817565 - Rebase libtdb 1.4.3 for samba
|
||||||
|
|
||||||
* Tue Nov 26 2019 Isaac Boukris <iboukris@redhat.com> - 1.4.2-2
|
* Tue Nov 26 2019 Isaac Boukris <iboukris@redhat.com> - 1.4.2-2
|
||||||
- Resolves: rhbz#1754420 - Rebase libtdb 1.4.2 for samba
|
- Resolves: rhbz#1754420 - Rebase libtdb 1.4.2 for samba
|
||||||
- Related: rhbz#1754420 - Fix sssd tests (tdb)
|
- Related: rhbz#1754420 - Fix sssd tests (tdb)
|
||||||
|
Loading…
Reference in New Issue
Block a user