From 207e977db53ef6104f29bee9188c03606d095819 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Tue, 26 Nov 2024 17:16:04 +0300 Subject: [PATCH] import libtalloc-2.4.2-2.el10 --- .gitignore | 2 + .libtalloc.metadata | 2 + SOURCES/talloc-2.4.2.tar.asc | 11 + SPECS/libtalloc.spec | 423 +++++++++++++++++++++++++++++++++++ 4 files changed, 438 insertions(+) create mode 100644 .gitignore create mode 100644 .libtalloc.metadata create mode 100644 SOURCES/talloc-2.4.2.tar.asc create mode 100644 SPECS/libtalloc.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a12ffc9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/talloc-2.4.2.tar.gz +SOURCES/talloc.keyring diff --git a/.libtalloc.metadata b/.libtalloc.metadata new file mode 100644 index 0000000..b55a0c9 --- /dev/null +++ b/.libtalloc.metadata @@ -0,0 +1,2 @@ +775ee0798f23bf13cd8dc3df1742fff7648d6052 SOURCES/talloc-2.4.2.tar.gz +182bae75e48aca2e5d40cd13d93d31b4443bd06d SOURCES/talloc.keyring diff --git a/SOURCES/talloc-2.4.2.tar.asc b/SOURCES/talloc-2.4.2.tar.asc new file mode 100644 index 0000000..54f023f --- /dev/null +++ b/SOURCES/talloc-2.4.2.tar.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmW3z9IACgkQR5ORYRMI +QCV/wQf/Q1xrEKBqph8qZznb2/RTt7qd6aGS7A8DZL9prPRD4yHHBYOx6ve0+j54 +faUmK9SY31FOGh6P78H51VmoNkKDZzSlUbO+rVx8FSJSHLC44BSPy4KvmJ+ZsLdM +ma5QeFm/CiMn821tQTs0A3ul80yjf6ur/gsu59X2qVX9ErmDIvUh3Z0TNzN367kx +kWdcC30qhth+T9662yp1SM/wE11IcSLvdsFm44GaZo5fhoDm59UaYQhUfj+c2Zhr +qaUuctmbxnpvNnSPYKK4j2II8fOGjANvXvtfpVWtdlm1IRMzZOgdWtLYqxwQMxxF +k7PGxr7ijIZoeYTq+KOBBq4zEk8b8Q== +=YnJL +-----END PGP SIGNATURE----- diff --git a/SPECS/libtalloc.spec b/SPECS/libtalloc.spec new file mode 100644 index 0000000..d87c38c --- /dev/null +++ b/SPECS/libtalloc.spec @@ -0,0 +1,423 @@ +%if 0%{?fedora} || 0%{?rhel} > 7 +%bcond_without python3 +%else +%bcond_with python3 +%endif + +Name: libtalloc +Version: 2.4.2 +Release: 2%{?dist} +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 + +BuildRequires: make +BuildRequires: gcc +BuildRequires: libxslt +BuildRequires: docbook-style-xsl +%if %{with python3} +BuildRequires: python3-devel +%endif +BuildRequires: doxygen +BuildRequires: gnupg2 + +Provides: bundled(libreplace) +Obsoletes: python2-talloc < 2.2.0-1 +Obsoletes: python2-talloc-devel < 2.2.0-1 + +%description +A library that implements a hierarchical allocator with destructors. + +%package devel +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 +Requires: libtalloc = %{version}-%{release} +%{?python_provide:%python_provide python3-talloc} + +%description -n python3-talloc +Python 3 libraries for creating bindings using talloc + +%package -n python3-talloc-devel +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 \ + --bundled-libraries=NONE \ + --builtin-libraries=replace \ + --disable-silent-rules + +%make_build +doxygen doxy.config + +%check +%make_build check + +%install +%make_install + +# Install API docs +cp -a doc/man/man3 %{buildroot}%{_mandir} + +%files +%{_libdir}/libtalloc.so.* + +%files devel +%{_includedir}/talloc.h +%{_libdir}/libtalloc.so +%{_libdir}/pkgconfig/talloc.pc +%{_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 + +%files -n python3-talloc-devel +%{_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 +* Tue Nov 26 2024 MSVSphere Packaging Team - 2.4.2-2 +- Rebuilt for MSVSphere 10 + +* Mon Jun 24 2024 Troy Dawson - 2.4.2-2 +- Bump release for June 2024 mass rebuild + +* Mon Jan 29 2024 Guenther Deschner - 2.4.2-1 +- rhbz#2260954 - libtalloc-2.4.2 is available + +* Thu Jan 25 2024 Fedora Release Engineering - 2.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 2.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Aug 07 2023 Guenther Deschner - 2.4.1-1 +- rhbz#2224330 - libtalloc-2.4.1 is available + +* Thu Jul 20 2023 Fedora Release Engineering - 2.4.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 2.4.0-3 +- Rebuilt for Python 3.12 + +* Thu Feb 23 2023 Pavel Filipenský - 2.4.0-2 +- SPDX migration + +* Thu Jan 19 2023 Fedora Release Engineering - 2.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jan 19 2023 Andreas Schneider - 2.4.0-1 +- Update to version 2.4.0 + +* Thu Jul 21 2022 Fedora Release Engineering - 2.3.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 2.3.4-2 +- Rebuilt for Python 3.11 + +* Fri Jun 10 2022 Andreas Schneider - 2.3.4-1 +- Update to version 2.3.4 +- resolves: rhbz#2095127 +- resolves: rhbz#2083970 + +* Thu Jan 20 2022 Fedora Release Engineering - 2.3.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 2.3.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jul 15 2021 Guenther Deschner - 2.3.3-1 +- rhbz#1982578 - libtalloc-2.3.3 is available + +* Fri Jun 04 2021 Python Maint - 2.3.2-3 +- Rebuilt for Python 3.10 + +* Tue Jan 26 2021 Fedora Release Engineering - 2.3.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jan 25 2021 Lukas Slebodnik - 2.3.2-1 +- libtalloc-2.3.2 is available + +* Thu Oct 22 2020 Andreas Schneider - 2.3.1-6 +- Spec file cleanup and improvements + +* Tue Jul 28 2020 Fedora Release Engineering - 2.3.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 13 2020 Tom Stellard - 2.3.1-4 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + +* Tue May 26 2020 Miro Hrončok - 2.3.1-3 +- Rebuilt for Python 3.9 + +* Wed Jan 29 2020 Fedora Release Engineering - 2.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jan 22 2020 Lukas Slebodnik - 2.3.1-1 +- rhbz#1748815 - libtalloc-2.3.1 is available + +* Wed Sep 11 2019 Lukas Slebodnik - 2.3.0-1 +- rhbz#1748815 - libtalloc-2.3.0 is available + +* Mon Aug 26 2019 Lukas Slebodnik - 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 - 2.1.16-5 +- Rebuilt for Python 3.8 + +* Thu Jul 25 2019 Fedora Release Engineering - 2.1.16-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jun 14 2019 Lukas Slebodnik - 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 - 2.1.16-2 +- rhbz#1711638 - fails to build with Python 3.8.0a4 + +* Tue Feb 26 2019 Lukas Slebodnik - 2.1.16-1 +- rhbz#1683211 - libtalloc-2.1.16 is available + +* Fri Feb 01 2019 Fedora Release Engineering - 2.1.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jan 17 2019 Lukas Slebodnik - 2.1.15-1 +- rhbz#1667471 - libtalloc-2.1.15 is available + +* Fri Jul 13 2018 Jakub Hrozek - 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 - 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 + +* Tue Jun 19 2018 Miro Hrončok - 2.1.13-2 +- Rebuilt for Python 3.7 + +* Fri Apr 06 2018 Lukas Slebodnik - 2.1.13-1 +- rhbz#1564323 New upstream release - 2.1.13 + +* Thu Mar 22 2018 Lukas Slebodnik - 2.1.12-1 +- rhbz#1559378 New upstream release - 2.1.12 + +* Fri Mar 02 2018 Lukas Slebodnik - 2.1.11-6 +- Disable link time optimisation for python3 related libs +- Workaround for rhbz#1548823 + +* Mon Feb 26 2018 Lukas Slebodnik - 2.1.11-5 +- Add gcc to Buildroot +- https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot + +* Wed Feb 07 2018 Fedora Release Engineering - 2.1.11-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Feb 03 2018 Igor Gnatenko - 2.1.11-3 +- Switch to %%ldconfig_scriptlets + +* Sat Jan 20 2018 Björn Esser - 2.1.11-2 +- Rebuilt for switch to libxcrypt + +* Sat Jan 13 2018 Lukas Slebodnik - 2.1.11-1 +- rhbz#1534136 New upstream release - 2.1.11 + +* Wed Nov 29 2017 Merlin Mathesius - 2.1.10-5 +- Cleanup spec file conditionals + +* Thu Aug 03 2017 Fedora Release Engineering - 2.1.10-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2.1.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jul 24 2017 Lukas Slebodnik - 2.1.10-2 +- fix location of pkgconfig files for libpytalloc* + +* Mon Jul 24 2017 Lukas Slebodnik - 2.1.10-1 +- rhbz#1473997 New upstream release - 2.1.10 +- enable unit tests + +* Thu Jul 06 2017 Andreas Schneider - 2.1.9-2 +- Install pytalloc-util for python3 as well + +* Tue Feb 28 2017 Lukas Slebodnik - 2.1.9-1 +- rhbz#1427352 New upstream release - 2.1.9 +- rhbz#1401225 - Rename python packages to match packaging guidelines + https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Fri Feb 10 2017 Fedora Release Engineering - 2.1.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 2.1.8-2 +- Rebuild for Python 3.6 + +* Thu Jul 28 2016 Jakub Hrozek - 2.1.8-1 +- New upstream release - 2.1.8 + +* Tue Jul 19 2016 Fedora Release Engineering - 2.1.7-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Fri May 6 2016 Jakub Hrozek - 2.1.7-1 +- New upstream release - 2.1.7 +- Resolves: rhbz#1333790 - libtalloc-2.1.7 is available + +* Wed Mar 9 2016 Jakub Hrozek - 2.1.6-1 +- New upstream release - 2.1.6 + +* Thu Feb 04 2016 Fedora Release Engineering - 2.1.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Nov 11 2015 Fedora Release Engineering - 2.1.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Wed Nov 11 2015 Jakub Hrozek - 2.1.5-1 +- New upstream release - 2.1.5 + +* Tue Nov 10 2015 Fedora Release Engineering - 2.1.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Wed Oct 14 2015 Jakub Hrozek - 2.1.4-1 +- New upstream release - 2.1.4 + +* Wed Jul 22 2015 Jakub Hrozek - 2.1.3-1 +- New upstream release - 2.1.3 +- Resolves: rhbz#1241928 - Switch libtalloc to use python3 +- Rename pytalloc to python-talloc (Miro Hrončok ) + +* Wed Jun 17 2015 Fedora Release Engineering - 2.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Mar 13 2015 Jakub Hrozek - 2.1.2-1 +- New upstream release - 2.1.2 + +* Sun Aug 17 2014 Fedora Release Engineering - 2.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 2.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri May 23 2014 Jakub Hrozek - 2.1.1-1 +- New upstream release + +* Sun Dec 15 2013 Jakub Hrozek - 2.1.0-3 +- Bump NVR in order to tag a build + +* Tue Sep 10 2013 Jakub Hrozek - 2.1.0-2 +- New upstream release + +* Sat Aug 03 2013 Fedora Release Engineering - 2.0.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 2.0.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Dec 01 2012 Jakub Hrozek - 2.0.8-1 +- New upstream release + +* Thu Jul 19 2012 Fedora Release Engineering - 2.0.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 2.0.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Dec 01 2011 Stephen Gallagher - 2.0.7-3 +- Add patch to ignore --disable-silent-rules +- Package API docs into libtalloc-devel + +* Wed Nov 23 2011 Stephen Gallagher - 2.0.7-2 +- Add explicit mention of the bundled libreplace +- https://fedorahosted.org/fpc/ticket/120 + +* Fri Nov 04 2011 Stephen Gallagher - 2.0.7-1 +- New upstream release +- Required for new Samba 4 alpha builds + +* Mon Aug 08 2011 Simo Sorce - 2.0.6-1 +- New upstream release +- Fixes various bugs with talloc_free_children and freeing complex + hierarchies with many siblinbgs. + +* Tue Feb 08 2011 Fedora Release Engineering - 2.0.5-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jan 14 2011 Stephen Gallagher - 2.0.5-7 +- Let rpmbuild strip binaries, make build more verbose. +- Resolves rhbz#669477 - libtalloc 2.0.5-6 binaries not stripped, +- empty -debuginfo +- Original patch by Ville Skyttä + +* Wed Jan 12 2011 Stephen Gallagher - 2.0.5-6 +- Install python bindings in the correct location + +* Tue Jan 11 2011 Stephen Gallagher - 2.0.5-5 +- Run ldconfig on pytalloc + +* Tue Jan 11 2011 Stephen Gallagher - 2.0.5-4 +- Fix build failure on 32-bit platforms + +* Tue Jan 11 2011 Stephen Gallagher - 2.0.5-3 +- New version from upstream +- Add support for pytalloc +- Convert to new WAF build-system + +* Tue Dec 15 2009 Simo Sorce - 2.0.1-1 +- New version from upstream +- Also stop building the compat lib, it is not necessary anymore + +* Tue Sep 8 2009 Simo Sorce - 2.0.0-0 +- New version from upstream. +- Build also sover 1 compat library to ease packages migration + +* Sat Jul 25 2009 Fedora Release Engineering - 1.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Jun 17 2009 Simo Sorce - 1.3.1-1 +- Original tarballs had a screw-up, rebuild with new fixed tarballs from + upstream. + +* Tue Jun 16 2009 Simo Sorce - 1.3.1-0 +- New Upstream release. + +* Wed May 6 2009 Simo Sorce - 1.3.0-0 +- First public independent release from upstream