diff --git a/.gitignore b/.gitignore index b302393..8de7916 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -SOURCES/talloc-2.4.1.tar.gz -SOURCES/talloc.keyring +talloc-2.4.2.tar.gz +talloc.keyring diff --git a/.libtalloc.metadata b/.libtalloc.metadata deleted file mode 100644 index 616c1d0..0000000 --- a/.libtalloc.metadata +++ /dev/null @@ -1,2 +0,0 @@ -235cba1b89f265f0e7745d03c280199c8f1711e3 SOURCES/talloc-2.4.1.tar.gz -182bae75e48aca2e5d40cd13d93d31b4443bd06d SOURCES/talloc.keyring diff --git a/SOURCES/talloc-2.4.1.tar.asc b/SOURCES/talloc-2.4.1.tar.asc deleted file mode 100644 index 0564147..0000000 --- a/SOURCES/talloc-2.4.1.tar.asc +++ /dev/null @@ -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----- diff --git a/SPECS/libtalloc.spec b/libtalloc.spec similarity index 63% rename from SPECS/libtalloc.spec rename to libtalloc.spec index 7db5d68..549a1f9 100644 --- a/SPECS/libtalloc.spec +++ b/libtalloc.spec @@ -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 = 7; + 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.2 +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 \ @@ -95,7 +94,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 +102,129 @@ 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ý - 2.4.1-0 -- resolves: RHEL-16508 - Rebase to version 2.4.1 +## START: Generated by rpmautospec +* Tue Oct 22 2024 Pavel Filipenský - 2.4.2-106 +- Reformat -* Tue Jun 06 2023 Pavel Filipenský - 2.4.0-3 -- resolves: rhbz#2190419 - Rebuild to trigger distrobaker sync +* Mon Jun 24 2024 Troy Dawson - 2.4.2-2 +- Bump release for June 2024 mass rebuild -* Wed May 24 2023 Pavel Filipenský - 2.4.0-2 -- resolves: rhbz#2190419 - Add missing tests to fix osci.brew-build.tier0.functional +* Mon Jan 29 2024 Guenther Deschner - 2.4.2-1 +- rhbz#2260954 - libtalloc-2.4.2 is available -* Thu May 18 2023 Pavel Filipenský - 2.4.0-1 -- resolves: rhbz#2190419 - Rebase to version 2.4.0 +* Thu Jan 25 2024 Fedora Release Engineering - 2.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild -* Mon Oct 24 2022 Andreas Schneider - 2.3.4-1 -- resolves: rhbz#2132056 - Update to version 2.3.4 +* Sun Jan 21 2024 Fedora Release Engineering - 2.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild -* Thu Aug 11 2022 Andreas Schneider - 2.3.3-2 -- resolves: rhbz#2100088 - Rebuild to include python3-talloc-devel in CRB +* Mon Aug 07 2023 Guenther Deschner - 2.4.1-1 +- rhbz#2224330 - libtalloc-2.4.1 is available -* Thu Nov 25 2021 Pavel Filipenský - 2.3.3-1 -- resolves: rhbz#2013601 - Update to version 2.3.3 +* Thu Jul 20 2023 Fedora Release Engineering - 2.4.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild -* Tue May 11 2021 Andreas Schneider - 2.3.2-1 -- resolves: rhbz#1945014 - Update to version 2.3.2 +* Tue Jun 13 2023 Python Maint - 2.4.0-3 +- Rebuilt for Python 3.12 -* Tue Jun 2 2020 Isaac Boukris - 2.3.1-2 -- resolves: rhbz#1817560 - Update to version 2.3.1 +* Thu Feb 23 2023 Pavel Filipenský - 2.4.0-2 +- SPDX migration -* Mon Nov 25 2019 Isaac Boukris - 2.2.0-7 -- related: rhbz#1754417 - Fix PY3 symbol names +* Thu Jan 19 2023 Fedora Release Engineering - 2.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild -* Wed Nov 20 2019 Isaac Boukris - 2.2.0-1 -- Resolves: rhbz#1754417 - Rebase talloc to version 2.2.0 for samba +* Thu Jan 19 2023 Andreas Schneider - 2.4.0-1 +- Update to version 2.4.0 -* Tue Apr 30 2019 Jakub Hrozek - 2.1.16-3 -- Also obsolete python2-libtalloc-debuginfo -- Resolves: rhbz#1567136 - libtalloc: Drop Python 2 subpackage from RHEL 8 +* Thu Jul 21 2022 Fedora Release Engineering - 2.3.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild -* Tue Apr 30 2019 Jakub Hrozek - 2.1.16-2 -- Remove python2 libraries on upgrade -- Resolves: rhbz#1567136 - libtalloc: Drop Python 2 subpackage from RHEL 8 +* Mon Jun 13 2022 Python Maint - 2.3.4-2 +- Rebuilt for Python 3.11 -* Wed Apr 3 2019 Jakub Hrozek - 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 +* Fri Jun 10 2022 Andreas Schneider - 2.3.4-1 +- Update to version 2.3.4 +- resolves: rhbz#2095127 +- resolves: rhbz#2083970 -* Tue Sep 18 2018 Jakub Hrozek - 2.1.14-3 -- Resolves: rhbz#1624136 - Review annocheck distro flag failures in libtalloc +* Thu Jan 20 2022 Fedora Release Engineering - 2.3.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild -* Thu Jul 12 2018 Jakub Hrozek - 2.1.14-2 -- Use pathfix.py to select python2 instead of python +* 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 @@ -358,3 +416,5 @@ cp -a doc/man/man3 %{buildroot}%{_mandir} * Wed May 6 2009 Simo Sorce - 1.3.0-0 - First public independent release from upstream + +## END: Generated by rpmautospec diff --git a/sources b/sources new file mode 100644 index 0000000..1eb5964 --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (talloc-2.4.2.tar.gz) = fb91665ffbe0cce96b1359940ff3ed21330c81c5331140788a26aa94f82b50492176e6000ff54b31d1a434bb1cb53a6a2c7894153545252a1fd91bda7c05a213 +SHA512 (talloc.keyring) = a01c5698c7130718c02ba72142ec9c7ebb5ca97ed9a5d4a8e609cad870bca1fb877c69db6fcb12ee0c714012af57edbc83c98f6424ae531efcf6b6ef730b8d1d diff --git a/talloc-2.4.2.tar.asc b/talloc-2.4.2.tar.asc new file mode 100644 index 0000000..54f023f --- /dev/null +++ b/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-----