Compare commits

...

No commits in common. "c8" and "c9-beta" have entirely different histories.
c8 ... c9-beta

5 changed files with 116 additions and 79 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
SOURCES/talloc-2.4.1.tar.gz
SOURCES/talloc-2.4.3.tar.gz
SOURCES/talloc.keyring

View File

@ -1,2 +1,2 @@
235cba1b89f265f0e7745d03c280199c8f1711e3 SOURCES/talloc-2.4.1.tar.gz
9b2d09033c738abdf19cad0215cc6683c57967a2 SOURCES/talloc-2.4.3.tar.gz
182bae75e48aca2e5d40cd13d93d31b4443bd06d SOURCES/talloc.keyring

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmS5ENkACgkQR5ORYRMI
QCWf8Af/WlOBXNzd6BBhku1mF75Sfnjzr0FNxWlFWrf9vbVH3HVrbCVNo3Rb7Llt
SfhaeXY99EsWyCOCMB4+2CI4dHNCRg6zvDNUcZgIgQG3nFWOHa8RYOZhVbDTbf2u
UPZTAXypv08rlNiqClP+sw07JIGeAumqKrwEtFuUEmwIF4ymXSnvVNpp5NJYiYlA
4XnQdH25ud4/rb5jkiLY/54zkLaEoAADb1MJqRSs0FEm6jT85rl2K9Y+n8ATsMan
+P6F1f8b6+bMJmWXR/1+AzlXTJjmJ2lHrs8CmffD0rO5bzOKBVOFvWmgM3cpsiA2
OnBQZKM6RTUChcZAZHXBC+1iqfo5Kg==
=VFin
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmekrQIACgkQR5ORYRMI
QCUrxwgAmKz1qDwOPPsYh/0YeKJx6MHRK8IDXlKop1YiR/EBERavE7bPYX3q+2DJ
bCEE9rZ6f6s5a3bKf6usMD1NflJ4Lv93cqi0mE8ycpDbfO5Sup8xeu5u8q1Luu6i
NmvyYbfMNBlp9qfRT4Wz4wylvft2lrhlO4ZfDiAZy60tmwce0YoDfABVGcs92+JY
T9JfU60lM4nOWC3ZfNdUkzDOlxkt0vmCBZ4+f5G8G78UOaK6nB1OrrQH1Br3KIR1
E6udtxFNz/oHFWWYxHlRtxDR0mQRjIE93zspdFgpHExPu9y/67HwSZQifq9+nsEa
0irulZwNE17qg0SMYBS1BZk0/8s6RA==
=OElp
-----END PGP SIGNATURE-----

View File

@ -1,29 +1,29 @@
%if 0%{?fedora} || 0%{?rhel} > 7
%bcond_without python3
%else
%bcond_with python3
%endif
## START: Set by rpmautospec
## (rpmautospec version 0.6.5)
## RPMAUTOSPEC: autorelease, autochangelog
%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: libtalloc
Version: 2.4.1
Release: 0%{?dist}
Summary: The talloc library
License: LGPL-3.0-or-later
URL: https://talloc.samba.org/
Name: libtalloc
Version: 2.4.3
Release: %autorelease
Summary: The talloc library
License: LGPL-3.0-or-later
URL: https://talloc.samba.org/
Source0: https://www.samba.org/ftp/talloc/talloc-%{version}.tar.gz
Source1: https://www.samba.org/ftp/talloc/talloc-%{version}.tar.asc
Source2: https://download.samba.org/pub/samba/samba-pubkey.asc#/talloc.keyring
# Patches
Source0: https://www.samba.org/ftp/talloc/talloc-%{version}.tar.gz
Source1: https://www.samba.org/ftp/talloc/talloc-%{version}.tar.asc
Source2: https://download.samba.org/pub/samba/samba-pubkey.asc#/talloc.keyring
BuildRequires: make
BuildRequires: gcc
BuildRequires: libxslt
BuildRequires: docbook-style-xsl
%if %{with python3}
BuildRequires: python3-devel
%endif
BuildRequires: doxygen
BuildRequires: gnupg2
@ -35,15 +35,16 @@ Obsoletes: python2-talloc-devel < 2.2.0-1
A library that implements a hierarchical allocator with destructors.
%package devel
Summary: Developer tools for the Talloc library
Summary: Developer tools for the Talloc library
Requires: libtalloc = %{version}-%{release}
%description devel
Header files needed to develop programs that link against the Talloc library.
%if %{with python3}
%package -n python3-talloc
Summary: Python bindings for the Talloc library
Summary: Python bindings for the Talloc library
Requires: libtalloc = %{version}-%{release}
%{?python_provide:%python_provide python3-talloc}
@ -51,21 +52,19 @@ Requires: libtalloc = %{version}-%{release}
Python 3 libraries for creating bindings using talloc
%package -n python3-talloc-devel
Summary: Development libraries for python3-talloc
Summary: Development libraries for python3-talloc
Requires: python3-talloc = %{version}-%{release}
%{?python_provide:%python_provide python3-talloc-devel}
%description -n python3-talloc-devel
Development libraries for python3-talloc
%endif
%prep
%autosetup -n talloc-%{version} -p1
%build
zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1217376
export python_LDFLAGS=""
%configure --disable-rpath \
--disable-rpath-install \
@ -86,6 +85,7 @@ doxygen doxy.config
cp -a doc/man/man3 %{buildroot}%{_mandir}
%files
%license LICENSE
%{_libdir}/libtalloc.so.*
%files devel
@ -95,7 +95,6 @@ cp -a doc/man/man3 %{buildroot}%{_mandir}
%{_mandir}/man3/talloc*.3*
%{_mandir}/man3/libtalloc*.3*
%if %{with python3}
%files -n python3-talloc
%{_libdir}/libpytalloc-util.cpython*.so.*
%{python3_sitearch}/talloc.cpython*.so
@ -104,69 +103,105 @@ cp -a doc/man/man3 %{buildroot}%{_mandir}
%{_includedir}/pytalloc.h
%{_libdir}/pkgconfig/pytalloc-util.cpython-*.pc
%{_libdir}/libpytalloc-util.cpython*.so
%endif
%ldconfig_scriptlets
%if %{with python3}
%ldconfig_scriptlets -n python3-talloc
%endif
%changelog
* Wed Nov 15 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.4.1-0
- resolves: RHEL-16508 - Rebase to version 2.4.1
## START: Generated by rpmautospec
* Mon May 19 2025 Pavel Filipenský <pfilipensky@samba.org> - 2.4.3-1
- Rebase to version 2.4.3
- resolves: RHEL-89882
* Tue Jun 06 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.4.0-3
- resolves: rhbz#2190419 - Rebuild to trigger distrobaker sync
* Wed Apr 24 2024 Pavel Filipenský <pfilipen@redhat.com> - 2.4.2-1
- resolves: RHEL-33758 - Rebase to version 2.4.2
* Wed May 24 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.4.0-2
- resolves: rhbz#2190419 - Add missing tests to fix osci.brew-build.tier0.functional
* Thu Nov 30 2023 Andreas Schneider <asn@redhat.com> - 2.4.1-1
- resolves: RHEL-16479 - Rebase to version 2.4.1
* Thu May 18 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.4.0-1
- resolves: rhbz#2190419 - Rebase to version 2.4.0
* Mon Jun 05 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.4.0-2
- resolves: rhbz#2190418 - Rebuilt to retrigger brew build
* Mon Oct 24 2022 Andreas Schneider <asn@redhat.com> - 2.3.4-1
- resolves: rhbz#2132056 - Update to version 2.3.4
* Tue May 16 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.4.0-1
- resolves: rhbz#2190418 - Rebase to version 2.4.0
* Thu Aug 11 2022 Andreas Schneider <asn@redhat.com> - 2.3.3-2
- resolves: rhbz#2100088 - Rebuild to include python3-talloc-devel in CRB
* Thu Oct 20 2022 Andreas Schneider <asn@redhat.com> - 2.3.4-1
- resolves: rhbz#2132000 - Rebase to version 2.3.4
* Thu Nov 25 2021 Pavel Filipenský <pfilipen@redhat.com> - 2.3.3-1
- resolves: rhbz#2013601 - Update to version 2.3.3
* Mon Nov 29 2021 Pavel Filipenský <pfilipen@redhat.com> - 2.3.3-1
- resolves: rhbz#2013581 - Rebase to version 2.3.3
* Tue May 11 2021 Andreas Schneider <asn@redhat.com> - 2.3.2-1
- resolves: rhbz#1945014 - Update to version 2.3.2
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.3.2-5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Tue Jun 2 2020 Isaac Boukris <iboukris@redhat.com> - 2.3.1-2
- resolves: rhbz#1817560 - Update to version 2.3.1
* Mon May 31 2021 Andreas Schneider <asn@redhat.com> - 2.3.2-4
- related: rhbz#1962773 - Rebuilt for running gating tests
* Mon Nov 25 2019 Isaac Boukris <iboukris@redhat.com> - 2.2.0-7
- related: rhbz#1754417 - Fix PY3 symbol names
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.3.2-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Nov 20 2019 Isaac Boukris <iboukris@redhat.com> - 2.2.0-1
- Resolves: rhbz#1754417 - Rebase talloc to version 2.2.0 for samba
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Apr 30 2019 Jakub Hrozek <jhrozek@redhat.com> - 2.1.16-3
- Also obsolete python2-libtalloc-debuginfo
- Resolves: rhbz#1567136 - libtalloc: Drop Python 2 subpackage from RHEL 8
* Mon Jan 25 2021 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.3.2-1
- libtalloc-2.3.2 is available
* Tue Apr 30 2019 Jakub Hrozek <jhrozek@redhat.com> - 2.1.16-2
- Remove python2 libraries on upgrade
- Resolves: rhbz#1567136 - libtalloc: Drop Python 2 subpackage from RHEL 8
* Thu Oct 22 2020 Andreas Schneider <asn@redhat.com> - 2.3.1-6
- Spec file cleanup and improvements
* Wed Apr 3 2019 Jakub Hrozek <jhrozek@redhat.com> - 2.1.16-1
- Resolves: rhbz#1684577 - Rebase libtalloc to version 2.1.16 for Samba
- Resolves: rhbz#1597315 - libtalloc uses Python 2 to build
- Resolves: rhbz#1567136 - libtalloc: Drop Python 2 subpackage from RHEL 8
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Sep 18 2018 Jakub Hrozek <jhrozek@redhat.com> - 2.1.14-3
- Resolves: rhbz#1624136 - Review annocheck distro flag failures in libtalloc
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 2.3.1-4
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Thu Jul 12 2018 Jakub Hrozek <jhrozek@redhat.com> - 2.1.14-2
- Use pathfix.py to select python2 instead of python
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.3.1-3
- Rebuilt for Python 3.9
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jan 22 2020 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.3.1-1
- rhbz#1748815 - libtalloc-2.3.1 is available
* Wed Sep 11 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.3.0-1
- rhbz#1748815 - libtalloc-2.3.0 is available
* Mon Aug 26 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.2.0-1
- rhbz#1691297 - libtalloc-2.2.0 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> - 2.1.16-5
- Rebuilt for Python 3.8
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.16-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Jun 14 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.1.16-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> - 2.1.16-2
- rhbz#1711638 - fails to build with Python 3.8.0a4
* Tue Feb 26 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.1.16-1
- rhbz#1683211 - libtalloc-2.1.16 is available
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jan 17 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.1.15-1
- rhbz#1667471 - libtalloc-2.1.15 is available
* Fri Jul 13 2018 Jakub Hrozek <jhrozek@redhat.com> - 2.1.14-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> - 2.1.14-1
- New upstream release - 2.1.14
- 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
@ -358,3 +393,5 @@ cp -a doc/man/man3 %{buildroot}%{_mandir}
* Wed May 6 2009 Simo Sorce <ssorce@redhat.com> - 1.3.0-0
- First public independent release from upstream
## END: Generated by rpmautospec