Accepting request 1006430 from home:npower:update_samba

- update to 1.4.7:
  * configure/Makefile: export PYTHONHASHSEED=1 in all 'configure/Makefile' scripts
  * lib:tdb: Reformat shell scripts
- spec file cleanups

OBS-URL: https://build.opensuse.org/request/show/1006430
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=112
This commit is contained in:
David Mulder 2022-09-29 14:50:07 +00:00 committed by Git OBS Bridge
parent 59c1b7448a
commit d0ad59c11b
6 changed files with 43 additions and 45 deletions

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmHumnwACgkQR5ORYRMI
QCV1LQf/QoEaez2rifYIheDdqrYQ6uTwecc4DVeK/TZjbtJxnwL4L+5ZXII2LK/q
2BP6BWos9imLsFKuj4wcJbBDddiEB/n24ZsTCwJ5vahL2n8CSlZU2GsK1Q2SnV+K
Z+lVUO7Ib1VazVpyneQDWYB5MlFoxQ9FLPSxdR0xzmYaOjzd0uIYS275DUi3upSx
jyMJ4crX7ctEM7N4v4RbpbJBbO18FYXGzPcGPM0t3AE8ix169V23m2Cevv514WbC
2Miq7NBKPSsk78HkM93jWaoxw9hO6baD1l6TE5XkPDC1dlQDdI8I09Tiyh2fbOha
UuhJOJgvYoADaikGNc/HpaFSy+npVg==
=L5MD
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d6892bd8befe04a77642a1dd56e4a879349bf1cf5b2c0bf5fb841061938def0b
size 736747

11
tdb-1.4.7.tar.asc Normal file
View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmKhdjAACgkQR5ORYRMI
QCVzTAgAhdy0HkdutoHbnUJg/ZgfDv21HE5SWVTRXlX93PJFXqzhZWu7GL6C75tY
kuVGF2+Vljcm5BDUGG4REomLW/rZoqUOJDMhBzeW5ZZvPWMMLPoYbX03en7y4fXn
woECYhrT40lxdtR43sTUEdCGoxsQ1bL/tlz30Edyc6UbxV3LvM1Yaju95yTY4ax6
JHFNQp1o+MwGyjeR9VPPYFn9Y+p+aLpxk3jypcbvW1oijR9GyzEWS6NqMOzuQwMz
BtIJNUXd8gDjaPZPiiX52JnrnSc62My5D5ORYY2YjZw97K3bT0O+/DNv9/roiG5Y
qFxwM0bUiX/ucG/Z6pbkJWKS/ZQAeg==
=wdUI
-----END PGP SIGNATURE-----

3
tdb-1.4.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a4fb168def533f31ff2c07f7d9844bb3131e6799f094ebe77d0380adc987c20e
size 741714

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Sep 17 07:44:38 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.4.7:
* configure/Makefile: export PYTHONHASHSEED=1 in all 'configure/Makefile' scripts
* lib:tdb: Reformat shell scripts
- spec file cleanups
-------------------------------------------------------------------
Wed Mar 16 11:01:29 UTC 2022 - Johannes Engel <jcnengel@gmail.com>

View File

@ -16,28 +16,26 @@
#
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?py3_soflags: %global py3_soflags cpython-%{python3_version_nodots}m}
Name: tdb
BuildRequires: autoconf
BuildRequires: docbook-xsl-stylesheets
BuildRequires: doxygen
BuildRequires: libxslt
BuildRequires: pkg-config
BuildRequires: python3-devel
URL: https://tdb.samba.org/
Version: 1.4.6
Version: 1.4.7
Release: 0
Summary: Samba Trivial Database
License: LGPL-3.0-or-later
Group: Development/Libraries/C and C++
URL: https://tdb.samba.org/
Source: https://download.samba.org/pub/tdb/tdb-%{version}.tar.gz
Source1: https://download.samba.org/pub/tdb/tdb-%{version}.tar.asc
Source2: tdb.keyring
Source4: baselibs.conf
Patch0: build_pie.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: docbook-xsl-stylesheets
BuildRequires: doxygen
BuildRequires: libxslt
BuildRequires: pkgconfig
BuildRequires: python3-devel
%description
TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB,
@ -59,7 +57,7 @@ This package contains the tdb1 library.
Summary: Libraries and Header Files to Develop Programs with tdb1 Support
Group: Development/Libraries/C and C++
Requires: libtdb1 = %{version}
Requires: pkg-config
Requires: pkgconfig
%description -n libtdb-devel
TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB,
@ -89,27 +87,24 @@ Obsoletes: python-tdb
This package contains the Python3 bindings for the Tdb library.
%prep
%setup -n tdb-%{version} -q
%setup -q -n tdb-%{version}
%autopatch -p1
%build
export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS"
CONFIGURE_OPTIONS="\
--prefix=%{_prefix} \
./configure --prefix=%{_prefix} \
--libdir=%{_libdir} \
--disable-rpath \
--disable-rpath-install \
--disable-silent-rules \
--bundled-libraries=NONE \
"
./configure ${CONFIGURE_OPTIONS}
make %{?_smp_mflags} \
all
--bundled-libraries=NONE
%make_build all
doxygen doxy.config
%check
%if 0%{!?qemu_user_space_build:1}
make test
%make_build test
%endif
%install
@ -119,33 +114,28 @@ mkdir -p %{buildroot}/%{_mandir}/man3/
cp -a docs/man/man3/tdb.3 %{buildroot}/%{_mandir}/man3/
%post -n libtdb1 -p /sbin/ldconfig
%postun -n libtdb1 -p /sbin/ldconfig
%files -n libtdb1
%defattr(-,root,root)
%{_libdir}/libtdb.so.*
%files -n libtdb-devel
%defattr(-,root,root)
%{_includedir}/tdb.h
%{_libdir}/libtdb.so
%{_libdir}/pkgconfig/tdb.pc
%{_mandir}/man3/tdb.3.*
%{_mandir}/man3/tdb.3%{?ext_man}
%files -n tdb-tools
%defattr(-,root,root)
%{_bindir}/tdbbackup
%{_bindir}/tdbdump
%{_bindir}/tdbrestore
%{_bindir}/tdbtool
%{_mandir}/man8/tdbbackup.8*
%{_mandir}/man8/tdbdump.8*
%{_mandir}/man8/tdbrestore.8*
%{_mandir}/man8/tdbtool.8*
%{_mandir}/man8/tdbbackup.8%{?ext_man}
%{_mandir}/man8/tdbdump.8%{?ext_man}
%{_mandir}/man8/tdbrestore.8%{?ext_man}
%{_mandir}/man8/tdbtool.8%{?ext_man}
%files -n python3-tdb
%defattr(-,root,root)
%{python3_sitearch}/tdb.%{py3_soflags}.so
%{python3_sitearch}/_tdb_text.py
%if 0%{?centos_version} > 599 || 0%{?fedora_version} > 11 || 0%{?rhel_version} > 599