import libtalloc-2.4.2-106.el10

i10cs changed/i10cs/libtalloc-2.4.2-106.el10
MSVSphere Packaging Team 4 months ago
parent 994aebce1e
commit 2550a807be
Signed by: sys_gitsync
GPG Key ID: B2B0B9F29E528FE8

@ -1,12 +1,16 @@
%if 0%{?fedora} || 0%{?rhel} > 7 ## START: Set by rpmautospec
%bcond_without python3 ## (rpmautospec version 0.6.5)
%else ## RPMAUTOSPEC: autorelease, autochangelog
%bcond_with python3 %define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
%endif 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 Name: libtalloc
Version: 2.4.2 Version: 2.4.2
Release: 2%{?dist} Release: %autorelease -b 100
Summary: The talloc library Summary: The talloc library
License: LGPL-3.0-or-later License: LGPL-3.0-or-later
URL: https://talloc.samba.org/ URL: https://talloc.samba.org/
@ -15,15 +19,11 @@ Source0: https://www.samba.org/ftp/talloc/talloc-%{version}.tar.gz
Source1: https://www.samba.org/ftp/talloc/talloc-%{version}.tar.asc Source1: https://www.samba.org/ftp/talloc/talloc-%{version}.tar.asc
Source2: https://download.samba.org/pub/samba/samba-pubkey.asc#/talloc.keyring Source2: https://download.samba.org/pub/samba/samba-pubkey.asc#/talloc.keyring
# Patches
BuildRequires: make BuildRequires: make
BuildRequires: gcc BuildRequires: gcc
BuildRequires: libxslt BuildRequires: libxslt
BuildRequires: docbook-style-xsl BuildRequires: docbook-style-xsl
%if %{with python3}
BuildRequires: python3-devel BuildRequires: python3-devel
%endif
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: gnupg2 BuildRequires: gnupg2
@ -36,14 +36,15 @@ A library that implements a hierarchical allocator with destructors.
%package devel %package devel
Summary: Developer tools for the Talloc library Summary: Developer tools for the Talloc library
Requires: libtalloc = %{version}-%{release} Requires: libtalloc = %{version}-%{release}
%description devel %description devel
Header files needed to develop programs that link against the Talloc library. Header files needed to develop programs that link against the Talloc library.
%if %{with python3}
%package -n python3-talloc %package -n python3-talloc
Summary: Python bindings for the Talloc library Summary: Python bindings for the Talloc library
Requires: libtalloc = %{version}-%{release} Requires: libtalloc = %{version}-%{release}
%{?python_provide:%python_provide python3-talloc} %{?python_provide:%python_provide python3-talloc}
@ -52,20 +53,18 @@ Python 3 libraries for creating bindings using talloc
%package -n python3-talloc-devel %package -n python3-talloc-devel
Summary: Development libraries for python3-talloc Summary: Development libraries for python3-talloc
Requires: python3-talloc = %{version}-%{release} Requires: python3-talloc = %{version}-%{release}
%{?python_provide:%python_provide python3-talloc-devel} %{?python_provide:%python_provide python3-talloc-devel}
%description -n python3-talloc-devel %description -n python3-talloc-devel
Development libraries for python3-talloc Development libraries for python3-talloc
%endif
%prep %prep
%autosetup -n talloc-%{version} -p1 %autosetup -n talloc-%{version} -p1
%build %build
zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} - zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1217376
export python_LDFLAGS=""
%configure --disable-rpath \ %configure --disable-rpath \
--disable-rpath-install \ --disable-rpath-install \
@ -95,7 +94,6 @@ cp -a doc/man/man3 %{buildroot}%{_mandir}
%{_mandir}/man3/talloc*.3* %{_mandir}/man3/talloc*.3*
%{_mandir}/man3/libtalloc*.3* %{_mandir}/man3/libtalloc*.3*
%if %{with python3}
%files -n python3-talloc %files -n python3-talloc
%{_libdir}/libpytalloc-util.cpython*.so.* %{_libdir}/libpytalloc-util.cpython*.so.*
%{python3_sitearch}/talloc.cpython*.so %{python3_sitearch}/talloc.cpython*.so
@ -104,18 +102,18 @@ cp -a doc/man/man3 %{buildroot}%{_mandir}
%{_includedir}/pytalloc.h %{_includedir}/pytalloc.h
%{_libdir}/pkgconfig/pytalloc-util.cpython-*.pc %{_libdir}/pkgconfig/pytalloc-util.cpython-*.pc
%{_libdir}/libpytalloc-util.cpython*.so %{_libdir}/libpytalloc-util.cpython*.so
%endif
%ldconfig_scriptlets %ldconfig_scriptlets
%if %{with python3}
%ldconfig_scriptlets -n python3-talloc %ldconfig_scriptlets -n python3-talloc
%endif
%changelog %changelog
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.4.2-2 ## START: Generated by rpmautospec
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.4.2-106
- Rebuilt for MSVSphere 10 - Rebuilt for MSVSphere 10
* Tue Oct 22 2024 Pavel Filipenský <pfilipensky@samba.org> - 2.4.2-106
- Reformat
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.4.2-2 * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.4.2-2
- Bump release for June 2024 mass rebuild - Bump release for June 2024 mass rebuild
@ -421,3 +419,5 @@ cp -a doc/man/man3 %{buildroot}%{_mandir}
* Wed May 6 2009 Simo Sorce <ssorce@redhat.com> - 1.3.0-0 * Wed May 6 2009 Simo Sorce <ssorce@redhat.com> - 1.3.0-0
- First public independent release from upstream - First public independent release from upstream
## END: Generated by rpmautospec

Loading…
Cancel
Save