Blame SPECS/libtalloc.spec

a0319d
%if 0%{?fedora} || 0%{?rhel} > 7
a0319d
%bcond_without python3
a0319d
%else
a0319d
%bcond_with python3
a0319d
%endif
a0319d
a26281
Name: libtalloc
bd3cd8
Version: 2.3.4
bd3cd8
Release: 1%{?dist}
a26281
Summary: The talloc library
a26281
License: LGPLv3+
a26281
URL: https://talloc.samba.org/
a26281
a0319d
Source0: https://www.samba.org/ftp/talloc/talloc-%{version}.tar.gz
a0319d
Source1: https://www.samba.org/ftp/talloc/talloc-%{version}.tar.asc
a0319d
Source2: https://download.samba.org/pub/samba/samba-pubkey.asc#/talloc.keyring
a0319d
a0319d
# Patches
a0319d
Patch0001: 0003-wafsamba-Fix-few-SyntaxWarnings-caused-by-regular-ex.patch
a0319d
a0319d
BuildRequires: make
a26281
BuildRequires: gcc
a26281
BuildRequires: libxslt
a26281
BuildRequires: docbook-style-xsl
a0319d
%if %{with python3}
a26281
BuildRequires: python3-devel
a0319d
%endif
a26281
BuildRequires: doxygen
a0319d
BuildRequires: gnupg2
a26281
a26281
Provides: bundled(libreplace)
0824d0
Obsoletes: python2-talloc < 2.2.0-1
0824d0
Obsoletes: python2-talloc-devel < 2.2.0-1
a26281
a26281
%description
a26281
A library that implements a hierarchical allocator with destructors.
a26281
a26281
%package devel
a26281
Summary: Developer tools for the Talloc library
a26281
Requires: libtalloc = %{version}-%{release}
a26281
a26281
%description devel
a26281
Header files needed to develop programs that link against the Talloc library.
a26281
a0319d
%if %{with python3}
a26281
%package -n python3-talloc
a26281
Summary: Python bindings for the Talloc library
a26281
Requires: libtalloc = %{version}-%{release}
a26281
%{?python_provide:%python_provide python3-talloc}
a26281
a26281
%description -n python3-talloc
a26281
Python 3 libraries for creating bindings using talloc
a26281
a26281
%package -n python3-talloc-devel
a26281
Summary: Development libraries for python3-talloc
a26281
Requires: python3-talloc = %{version}-%{release}
a26281
%{?python_provide:%python_provide python3-talloc-devel}
a26281
a26281
%description -n python3-talloc-devel
a26281
Development libraries for python3-talloc
a0319d
%endif
a26281
a26281
%prep
a26281
%autosetup -n talloc-%{version} -p1
a26281
a26281
%build
0824d0
zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
a26281
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1217376
a26281
export python_LDFLAGS=""
a26281
a26281
%configure --disable-rpath \
a26281
           --disable-rpath-install \
a26281
           --bundled-libraries=NONE \
a26281
           --builtin-libraries=replace \
a0319d
           --disable-silent-rules
a26281
a0319d
%make_build
a26281
doxygen doxy.config
a26281
a26281
%check
a0319d
%make_build check
a26281
a26281
%install
a0319d
%make_install
a26281
a26281
# Install API docs
a0319d
cp -a doc/man/man3 %{buildroot}%{_mandir}
a26281
a26281
%files
a26281
%{_libdir}/libtalloc.so.*
a26281
a26281
%files devel
a26281
%{_includedir}/talloc.h
a26281
%{_libdir}/libtalloc.so
a26281
%{_libdir}/pkgconfig/talloc.pc
a0319d
%{_mandir}/man3/talloc*.3*
a0319d
%{_mandir}/man3/libtalloc*.3*
a26281
a0319d
%if %{with python3}
a26281
%files -n python3-talloc
a26281
%{_libdir}/libpytalloc-util.cpython*.so.*
a26281
%{python3_sitearch}/talloc.cpython*.so
a26281
a26281
%files -n python3-talloc-devel
a26281
%{_includedir}/pytalloc.h
a26281
%{_libdir}/pkgconfig/pytalloc-util.cpython-*.pc
a26281
%{_libdir}/libpytalloc-util.cpython*.so
a0319d
%endif
a26281
a26281
%ldconfig_scriptlets
a26281
a0319d
%if %{with python3}
a26281
%ldconfig_scriptlets -n python3-talloc
a0319d
%endif
a26281
a26281
%changelog
bd3cd8
* Mon Oct 24 2022 Andreas Schneider <asn@redhat.com> - 2.3.4-1
bd3cd8
- resolves: rhbz#2132056 - Update to version 2.3.4
bd3cd8
5e6b97
* Thu Aug 11 2022 Andreas Schneider <asn@redhat.com> - 2.3.3-2
5e6b97
- resolves: rhbz#2100088 - Rebuild to include python3-talloc-devel in CRB
5e6b97
0824d0
* Thu Nov 25 2021 Pavel Filipenský <pfilipen@redhat.com> - 2.3.3-1
0824d0
- resolves: rhbz#2013601 - Update to version 2.3.3
0824d0
a0319d
* Tue May 11 2021 Andreas Schneider <asn@redhat.com> - 2.3.2-1
a0319d
- resolves: rhbz#1945014 - Update to version 2.3.2
a0319d
e0a576
* Tue Jun 2 2020 Isaac Boukris <iboukris@redhat.com> - 2.3.1-2
e0a576
- resolves: rhbz#1817560 - Update to version 2.3.1
e0a576
ee0d90
* Mon Nov 25 2019 Isaac Boukris <iboukris@redhat.com> - 2.2.0-7
ee0d90
- related: rhbz#1754417 - Fix PY3 symbol names
ee0d90
ee0d90
* Wed Nov 20 2019 Isaac Boukris <iboukris@redhat.com> - 2.2.0-1
ee0d90
- Resolves: rhbz#1754417 - Rebase talloc to version 2.2.0 for samba
ee0d90
a26281
* Tue Apr 30 2019 Jakub Hrozek <jhrozek@redhat.com> - 2.1.16-3
a26281
- Also obsolete python2-libtalloc-debuginfo
a26281
- Resolves: rhbz#1567136 - libtalloc: Drop Python 2 subpackage from RHEL 8
a26281
a26281
* Tue Apr 30 2019 Jakub Hrozek <jhrozek@redhat.com> - 2.1.16-2
a26281
- Remove python2 libraries on upgrade
a26281
- Resolves: rhbz#1567136 - libtalloc: Drop Python 2 subpackage from RHEL 8
a26281
a26281
* Wed Apr  3 2019 Jakub Hrozek <jhrozek@redhat.com> - 2.1.16-1
a26281
- Resolves: rhbz#1684577 - Rebase libtalloc to version 2.1.16 for Samba
a26281
- Resolves: rhbz#1597315 - libtalloc uses Python 2 to build
a26281
- Resolves: rhbz#1567136 - libtalloc: Drop Python 2 subpackage from RHEL 8
a26281
a26281
* Tue Sep 18 2018 Jakub Hrozek <jhrozek@redhat.com> - 2.1.14-3
a26281
- Resolves: rhbz#1624136 - Review annocheck distro flag failures in libtalloc
a26281
a26281
* Thu Jul 12 2018 Jakub Hrozek <jhrozek@redhat.com> - 2.1.14-2
a26281
- Use pathfix.py to select python2 instead of python
a26281
a26281
* Thu Jul 12 2018 Jakub Hrozek <jhrozek@redhat.com> - 2.1.14-1
a26281
- New upstream release - 2.1.14
a26281
- Patch the waf script to explicitly call python2 as "env python" doesn't
a26281
  yield py2 anymore
a26281
a26281
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.1.13-2
a26281
- Rebuilt for Python 3.7
a26281
a26281
* Fri Apr 06 2018 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.1.13-1
a26281
- rhbz#1564323 New upstream release - 2.1.13
a26281
a26281
* Thu Mar 22 2018 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.1.12-1
a26281
- rhbz#1559378 New upstream release - 2.1.12
a26281
a26281
* Fri Mar 02 2018 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.1.11-6
a26281
- Disable link time optimisation for python3 related libs
a26281
- Workaround for rhbz#1548823
a26281
a26281
* Mon Feb 26 2018 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.1.11-5
a26281
- Add gcc to Buildroot
a26281
- https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
a26281
a26281
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.11-4
a26281
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a26281
a26281
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.1.11-3
a26281
- Switch to %%ldconfig_scriptlets
a26281
a26281
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 2.1.11-2
a26281
- Rebuilt for switch to libxcrypt
a26281
a26281
* Sat Jan 13 2018 Lukas Slebodnik <lslebodn@fedoraproject.org> - 2.1.11-1
a26281
- rhbz#1534136 New upstream release - 2.1.11
a26281
a26281
* Wed Nov 29 2017 Merlin Mathesius <mmathesi@redhat.com> - 2.1.10-5
a26281
- Cleanup spec file conditionals
a26281
a26281
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.10-4
a26281
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a26281
a26281
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.10-3
a26281
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a26281
a26281
* Mon Jul 24 2017 Lukas Slebodnik  <lslebodn@redhat.com> - 2.1.10-2
a26281
- fix location of pkgconfig files for libpytalloc*
a26281
a26281
* Mon Jul 24 2017 Lukas Slebodnik  <lslebodn@redhat.com> - 2.1.10-1
a26281
- rhbz#1473997 New upstream release - 2.1.10
a26281
- enable unit tests
a26281
a26281
* Thu Jul 06 2017 Andreas Schneider <asn@redhat.com> - 2.1.9-2
a26281
- Install pytalloc-util for python3 as well
a26281
a26281
* Tue Feb 28 2017 Lukas Slebodnik  <lslebodn@redhat.com> - 2.1.9-1
a26281
- rhbz#1427352 New upstream release - 2.1.9
a26281
- rhbz#1401225 - Rename python packages to match packaging guidelines
a26281
  https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
a26281
a26281
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.8-3
a26281
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a26281
a26281
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.1.8-2
a26281
- Rebuild for Python 3.6
a26281
a26281
* Thu Jul 28 2016 Jakub Hrozek <jhrozek@redhat.com> - 2.1.8-1
a26281
- New upstream release - 2.1.8
a26281
a26281
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.7-2
a26281
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
a26281
a26281
* Fri May  6 2016 Jakub Hrozek <jhrozek@redhat.com> - 2.1.7-1
a26281
- New upstream release - 2.1.7
a26281
- Resolves: rhbz#1333790 - libtalloc-2.1.7 is available
a26281
a26281
* Wed Mar  9 2016 Jakub Hrozek <jhrozek@redhat.com> - 2.1.6-1
a26281
- New upstream release - 2.1.6
a26281
a26281
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.5-4
a26281
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a26281
a26281
* Wed Nov 11 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.5-3
a26281
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
a26281
a26281
* Wed Nov 11 2015 Jakub Hrozek <jhrozek@redhat.com> - 2.1.5-1
a26281
- New upstream release - 2.1.5
a26281
a26281
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.4-2
a26281
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
a26281
a26281
* Wed Oct 14 2015 Jakub Hrozek <jhrozek@redhat.com> - 2.1.4-1
a26281
- New upstream release - 2.1.4
a26281
a26281
* Wed Jul 22 2015 Jakub Hrozek <jhrozek@redhat.com> - 2.1.3-1
a26281
- New upstream release - 2.1.3
a26281
- Resolves: rhbz#1241928 - Switch libtalloc to use python3
a26281
- Rename pytalloc to python-talloc (Miro Hrončok <mhroncok@redhat.com>)
a26281
a26281
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-2
a26281
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a26281
a26281
* Fri Mar 13 2015 Jakub Hrozek <jhrozek@redhat.com> - 2.1.2-1
a26281
- New upstream release - 2.1.2
a26281
a26281
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-3
a26281
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
a26281
a26281
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-2
a26281
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a26281
a26281
* Fri May 23 2014 Jakub Hrozek <jhrozek@redhat.com> - 2.1.1-1
a26281
- New upstream release
a26281
a26281
* Sun Dec 15 2013 Jakub Hrozek <jhrozek@redhat.com> - 2.1.0-3
a26281
- Bump NVR in order to tag a build
a26281
a26281
* Tue Sep 10 2013 Jakub Hrozek <jhrozek@redhat.com> - 2.1.0-2
a26281
- New upstream release
a26281
a26281
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.8-3
a26281
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a26281
a26281
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.8-2
a26281
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a26281
a26281
* Sat Dec 01 2012 Jakub Hrozek <jhrozek@redhat.com> - 2.0.8-1
a26281
- New upstream release
a26281
a26281
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.7-5
a26281
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a26281
a26281
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.7-4
a26281
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a26281
a26281
* Thu Dec 01 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.7-3
a26281
- Add patch to ignore --disable-silent-rules
a26281
- Package API docs into libtalloc-devel
a26281
a26281
* Wed Nov 23 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.7-2
a26281
- Add explicit mention of the bundled libreplace
a26281
- https://fedorahosted.org/fpc/ticket/120
a26281
a26281
* Fri Nov 04 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.7-1
a26281
- New upstream release
a26281
- Required for new Samba 4 alpha builds
a26281
a26281
* Mon Aug 08 2011 Simo Sorce <ssorce@redhat.com> - 2.0.6-1
a26281
- New upstream release
a26281
- Fixes various bugs with talloc_free_children and freeing complex
a26281
  hierarchies with many siblinbgs.
a26281
a26281
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-8
a26281
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a26281
a26281
* Fri Jan 14 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-7
a26281
- Let rpmbuild strip binaries, make build more verbose.
a26281
- Resolves rhbz#669477 - libtalloc 2.0.5-6 binaries not stripped,
a26281
-                        empty -debuginfo
a26281
- Original patch by Ville Skyttä <ville.skytta@iki.fi>
a26281
a26281
* Wed Jan 12 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-6
a26281
- Install python bindings in the correct location
a26281
a26281
* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-5
a26281
- Run ldconfig on pytalloc
a26281
a26281
* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-4
a26281
- Fix build failure on 32-bit platforms
a26281
a26281
* Tue Jan 11 2011 Stephen Gallagher <sgallagh@redhat.com> - 2.0.5-3
a26281
- New version from upstream
a26281
- Add support for pytalloc
a26281
- Convert to new WAF build-system
a26281
a26281
* Tue Dec 15 2009 Simo Sorce <ssorce@redhat.com> - 2.0.1-1
a26281
- New version from upstream
a26281
- Also stop building the compat lib, it is not necessary anymore
a26281
a26281
* Tue Sep  8 2009 Simo Sorce <ssorce@redhat.com> - 2.0.0-0
a26281
- New version from upstream.
a26281
- Build also sover 1 compat library to ease packages migration
a26281
a26281
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2
a26281
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a26281
a26281
* Wed Jun 17 2009 Simo Sorce <ssorce@redhat.com> - 1.3.1-1
a26281
- Original tarballs had a screw-up, rebuild with new fixed tarballs from
a26281
  upstream.
a26281
a26281
* Tue Jun 16 2009 Simo Sorce <ssorce@redhat.com> - 1.3.1-0
a26281
- New Upstream release.
a26281
a26281
* Wed May 6 2009 Simo Sorce <ssorce@redhat.com> - 1.3.0-0
a26281
- First public independent release from upstream