Compare commits

..

2 Commits

Author SHA1 Message Date
Pavel Filipenský 3e8c77a566 Rebase to version 2.4.2 2024-04-26 02:48:04 +00:00
Andreas Schneider 2a27d99352 Rebase to version 2.4.1
resolves: RHEL-16479
2023-11-30 12:29:48 +01:00
4 changed files with 10 additions and 24 deletions

2
.gitignore vendored
View File

@ -33,3 +33,5 @@
/talloc-2.4.0.tar.gz
/talloc-2.4.1.tar.gz
/talloc-2.4.1.tar.asc
/talloc-2.4.2.tar.asc
/talloc-2.4.2.tar.gz

View File

@ -1,2 +1,2 @@
235cba1b89f265f0e7745d03c280199c8f1711e3 talloc-2.4.1.tar.gz
272c787f1669dcd66eef26586b853f163836345d talloc-2.4.1.tar.asc
3094368eaa5f4486f12f54beeae2fb1eabc209a0 talloc-2.4.2.tar.asc
775ee0798f23bf13cd8dc3df1742fff7648d6052 talloc-2.4.2.tar.gz

View File

@ -1,11 +1,5 @@
%if 0%{?fedora} || 0%{?rhel} > 7
%bcond_without python3
%else
%bcond_with python3
%endif
Name: libtalloc
Version: 2.4.1
Version: 2.4.2
Release: 1%{?dist}
Summary: The talloc library
License: LGPL-3.0-or-later
@ -15,15 +9,11 @@ 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
@ -41,7 +31,6 @@ 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}
@ -57,15 +46,12 @@ Requires: python3-talloc = %{version}-%{release}
%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 +81,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,15 +89,14 @@ 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 Apr 24 2024 Pavel Filipenský <pfilipen@redhat.com> - 2.4.2-1
- resolves: RHEL-33758 - Rebase to version 2.4.2
* Thu Nov 30 2023 Andreas Schneider <asn@redhat.com> - 2.4.1-1
- resolves: RHEL-16479 - Rebase to version 2.4.1

View File

@ -1,2 +1,2 @@
SHA512 (talloc-2.4.1.tar.gz) = 4de3b66d7cd1ff3f53e28e86bf9e89528635465c67868e1262aab6946106c228b2c184e988561361c3194fb260d83e016477254c9dbea7abff40c4dc0d31c76c
SHA512 (talloc-2.4.1.tar.asc) = 422cd1a8ba6613f9181cd7fce6d42f2da8a119f66cf6bf490f8a4271101cadeadea78eadeb7533c57b3695be862b9f9c56319aab9a89c446c5463ed08651d226
SHA512 (talloc-2.4.2.tar.asc) = ab3cf2c1770a2d77bcbe950d20cf1509f5827cd773bc0153ffa301dc96de9bcec2c10ec57d7dfdf4ca0bdd4e41eed0dd896faecbcf15527e5b2ab5a50b27e4b3
SHA512 (talloc-2.4.2.tar.gz) = fb91665ffbe0cce96b1359940ff3ed21330c81c5331140788a26aa94f82b50492176e6000ff54b31d1a434bb1cb53a6a2c7894153545252a1fd91bda7c05a213