Import from AlmaLinux stable repository

This commit is contained in:
eabdullin 2025-12-04 12:32:27 +00:00
parent c3647ec239
commit b2cf291806
5 changed files with 47 additions and 39 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
SOURCES/tevent-0.16.0.tar.gz
SOURCES/tevent-0.16.2.tar.gz
SOURCES/tevent.keyring

View File

@ -1,2 +1,2 @@
e92d3befb59b5404e9f2445e1ffeacc2b6c65f1f SOURCES/tevent-0.16.0.tar.gz
95ac347a736a6b3d9e6b98e1d83247bb516f95c9 SOURCES/tevent-0.16.2.tar.gz
5d2957f5d63a72a6fc196af3e45242f3d321f6cf SOURCES/tevent.keyring

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmUs8V4ACgkQR5ORYRMI
QCWl4gf+NmjfvovCjcT8chpjSQakKh8TjS5Shb0Z9HN6VFGsFovDtyiChx4CjmrK
iHdVuS7PdeAcXOo6Y0nlpFcYl4Yo0MJWe+xrUIpT7OSq4jQW50pBv77QMEmCPSew
LJY/SMuMDCIlsD6BWfVav3SU2w0CL6iSBT4db1x+HDr8yjmZf40N8SaIu94NjSpE
ayKXlQxHiq8yT11fAg/MFl5RyCXHixgw7Ylzm7zGYxQB5ftUUaqCXgJcefBil1xs
fhChO+t2Rpb81fBhpgofLv1gcdUraBORfFHJLzOE+XSMnS229k88LyBsGOja9gpK
TvrMY9lzEwZXKvTwupFa74mKb7I0ng==
=863s
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmekrScACgkQR5ORYRMI
QCV2BAf/ST99z47iqQOl8mUO30QZSqiCiSQcB7XrqagseRi2Cd/jX7T0kiaBW8lm
CVwC1P6T3NZdAbEF/0ep2xd8Uc+3EBLpbiM6QnsdfaFJq2rhlqb57CXuuyCEiMGa
N5exA5j49BLQNwww3DC+MaeGN2ZVmoh8ihDB7OuID8OZRYwV4Z54sqSp3/2qa9Sm
hTsBY6M5Kac4agcN5HAE6qRScYrmvzyuNJi37lnn5vjLo+7hI1RdtpHFJdNL/h0d
Yt7LIa+WskO5kZJ5Rsw+dEDmkSPkKuQwrfwNb6m6rr/S2VUCyhh2lvhT2WGkv2GY
s3w62sAHwyh554mlD7pB39WvJMkxlg==
=7VO8
-----END PGP SIGNATURE-----

View File

@ -1,21 +1,25 @@
%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 = 1;
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
%global talloc_version 2.4.1
%global talloc_version 2.4.3
Name: libtevent
Version: 0.16.0
Release: 1%{?dist}
Summary: The tevent library
License: LGPL-3.0-or-later
URL: http://tevent.samba.org/
Source0: http://samba.org/ftp/tevent/tevent-%{version}.tar.gz
Source1: http://samba.org/ftp/tevent/tevent-%{version}.tar.asc
Name: libtevent
Version: 0.16.2
Release: %autorelease
Summary: The tevent library
License: LGPL-3.0-or-later
URL: http://tevent.samba.org/
Source0: http://samba.org/ftp/tevent/tevent-%{version}.tar.gz
Source1: http://samba.org/ftp/tevent/tevent-%{version}.tar.asc
# gpg2 --no-default-keyring --keyring ./tevent.keyring --recv-keys 9147A339719518EE9011BCB54793916113084025
Source2: tevent.keyring
Source2: tevent.keyring
# Patches
@ -27,11 +31,8 @@ BuildRequires: libcmocka-devel >= 1.1.3
BuildRequires: libtalloc-devel >= %{talloc_version}
BuildRequires: libxslt
BuildRequires: make
%if %{with python3}
BuildRequires: python3-devel
BuildRequires: python3-talloc-devel >= %{talloc_version}
#endif with python
%endif
Provides: bundled(libreplace)
Obsoletes: python2-tevent < 0.10.0-1
@ -44,7 +45,8 @@ Tevent also provide helpers to deal with asynchronous code providing the
tevent_req (Tevent Request) functions.
%package devel
Summary: Developer tools for the Tevent library
Summary: Developer tools for the Tevent library
Requires: libtevent%{?_isa} = %{version}-%{release}
Requires: libtalloc-devel%{?_isa} >= %{talloc_version}
@ -52,17 +54,14 @@ Requires: libtalloc-devel%{?_isa} >= %{talloc_version}
Header files needed to develop programs that link against the Tevent library.
%if %{with python3}
%package -n python3-tevent
Summary: Python 3 bindings for the Tevent library
Requires: libtevent%{?_isa} = %{version}-%{release}
Summary: Python 3 bindings for the Tevent library
Requires: libtevent%{?_isa} = %{version}-%{release}
%{?python_provide:%python_provide python3-tevent}
%description -n python3-tevent
Python 3 bindings for libtevent
#endif with python
%endif
%prep
zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
@ -89,6 +88,7 @@ install -d -m0755 %{buildroot}%{_mandir}
cp -a doc/man/man3 %{buildroot}%{_mandir}
%files
%license LICENSE
%{_libdir}/libtevent.so.*
%files devel
@ -97,16 +97,22 @@ cp -a doc/man/man3 %{buildroot}%{_mandir}
%{_libdir}/pkgconfig/tevent.pc
%{_mandir}/man3/tevent*.gz
%if %{with python3}
%files -n python3-tevent
%{python3_sitearch}/tevent.py
%{python3_sitearch}/__pycache__/tevent.*
%{python3_sitearch}/_tevent.cpython*.so
%endif
%ldconfig_scriptlets
%changelog
## START: Generated by rpmautospec
* Mon May 19 2025 Pavel Filipenský <pfilipensky@samba.org> - 0.16.2-1
- Update to version 0.16.2
- resolves: RHEL-89881
* Thu Apr 25 2024 Pavel Filipenský <pfilipen@redhat.com> - 0.16.1-1
- resolves: RHEL-33755 - Rebase to version 0.16.1
* Mon Dec 04 2023 Andreas Schneider <asn@redhat.com> - 0.16.0-1
- resolves: RHEL-16481 - Rebase to version 0.16.0
@ -405,3 +411,5 @@ cp -a doc/man/man3 %{buildroot}%{_mandir}
* Tue Sep 8 2009 Simo Sorce <ssorce@redhat.com> - 0.9.8-1
- First independent release for tevent 0.9.8
## END: Generated by rpmautospec