|
|
|
|
@ -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 -b 100
|
|
|
|
|
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,133 @@ 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
|
|
|
|
|
* Thu May 15 2025 Pavel Filipenský <pfilipensky@samba.org> - 2.4.3-100
|
|
|
|
|
- Update to version 2.4.3
|
|
|
|
|
- resolves: RHEL-89875
|
|
|
|
|
|
|
|
|
|
* Tue Jun 06 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.4.0-3
|
|
|
|
|
- resolves: rhbz#2190419 - Rebuild to trigger distrobaker sync
|
|
|
|
|
* Tue Oct 22 2024 Pavel Filipenský <pfilipensky@samba.org> - 2.4.2-106
|
|
|
|
|
- Reformat
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.4.2-2
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Thu May 18 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.4.0-1
|
|
|
|
|
- resolves: rhbz#2190419 - Rebase to version 2.4.0
|
|
|
|
|
* Mon Jan 29 2024 Guenther Deschner <gdeschne@redhat.com> - 2.4.2-1
|
|
|
|
|
- rhbz#2260954 - libtalloc-2.4.2 is available
|
|
|
|
|
|
|
|
|
|
* Mon Oct 24 2022 Andreas Schneider <asn@redhat.com> - 2.3.4-1
|
|
|
|
|
- resolves: rhbz#2132056 - Update to version 2.3.4
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Aug 11 2022 Andreas Schneider <asn@redhat.com> - 2.3.3-2
|
|
|
|
|
- resolves: rhbz#2100088 - Rebuild to include python3-talloc-devel in CRB
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Nov 25 2021 Pavel Filipenský <pfilipen@redhat.com> - 2.3.3-1
|
|
|
|
|
- resolves: rhbz#2013601 - Update to version 2.3.3
|
|
|
|
|
* Mon Aug 07 2023 Guenther Deschner <gdeschne@redhat.com> - 2.4.1-1
|
|
|
|
|
- rhbz#2224330 - libtalloc-2.4.1 is available
|
|
|
|
|
|
|
|
|
|
* Tue May 11 2021 Andreas Schneider <asn@redhat.com> - 2.3.2-1
|
|
|
|
|
- resolves: rhbz#1945014 - Update to version 2.3.2
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 2 2020 Isaac Boukris <iboukris@redhat.com> - 2.3.1-2
|
|
|
|
|
- resolves: rhbz#1817560 - Update to version 2.3.1
|
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.4.0-3
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Mon Nov 25 2019 Isaac Boukris <iboukris@redhat.com> - 2.2.0-7
|
|
|
|
|
- related: rhbz#1754417 - Fix PY3 symbol names
|
|
|
|
|
* Thu Feb 23 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.4.0-2
|
|
|
|
|
- SPDX migration
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_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
|
|
|
|
|
* Thu Jan 19 2023 Andreas Schneider <asn@redhat.com> - 2.4.0-1
|
|
|
|
|
- Update to version 2.4.0
|
|
|
|
|
|
|
|
|
|
* 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 Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.4-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.3.4-2
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Tue Sep 18 2018 Jakub Hrozek <jhrozek@redhat.com> - 2.1.14-3
|
|
|
|
|
- Resolves: rhbz#1624136 - Review annocheck distro flag failures in libtalloc
|
|
|
|
|
* Fri Jun 10 2022 Andreas Schneider <asn@redhat.com> - 2.3.4-1
|
|
|
|
|
- Update to version 2.3.4
|
|
|
|
|
- resolves: rhbz#2095127
|
|
|
|
|
- resolves: rhbz#2083970
|
|
|
|
|
|
|
|
|
|
* Thu Jul 12 2018 Jakub Hrozek <jhrozek@redhat.com> - 2.1.14-2
|
|
|
|
|
- Use pathfix.py to select python2 instead of python
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 15 2021 Guenther Deschner <gdeschne@redhat.com> - 2.3.3-1
|
|
|
|
|
- rhbz#1982578 - libtalloc-2.3.3 is available
|
|
|
|
|
|
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.3.2-3
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 25 2021 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.3.2-1
|
|
|
|
|
- libtalloc-2.3.2 is available
|
|
|
|
|
|
|
|
|
|
* Thu Oct 22 2020 Andreas Schneider <asn@redhat.com> - 2.3.1-6
|
|
|
|
|
- Spec file cleanup and improvements
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 2.3.1-4
|
|
|
|
|
- Use make macros
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
|
|
|
|
|
* 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 +421,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
|