import libtevent-0.11.0-0.el8

This commit is contained in:
CentOS Sources 2021-11-09 05:08:40 -05:00 committed by Stepan Oksanichenko
parent 81955407a3
commit e7812eddbd
4 changed files with 30 additions and 15 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/tevent-0.10.2.tar.gz
SOURCES/tevent-0.11.0.tar.gz
SOURCES/tevent.keyring

View File

@ -1 +1,2 @@
2b42026f3a949aebdd8860f32b90f65c5ff1f405 SOURCES/tevent-0.10.2.tar.gz
74ce247737590b4c9ae0cf4897d5a46dddaddd41 SOURCES/tevent-0.11.0.tar.gz
5d2957f5d63a72a6fc196af3e45242f3d321f6cf SOURCES/tevent.keyring

View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmDmrNEACgkQR5ORYRMI
QCV0hgf/Ut1mIa5+mnNRRT0a5RK1/25INuFtghvJri+9kh7jnEMGhTqZGTGL3tAV
s824Fg0CKEASIdUPwnTR9jBZunm6d+nHyFX378QwF3540R5Gp6VMjlovsObe9O5f
vP45j47SE5mgpH8AU6UGeLsqAz06KcEHNgwnWhA6Zk3k8z3LA8r+Y3RJcuH5FTkF
a4TDXTk8DMg3dyraGX6mqWfvfhb6xgjRF91/dNdM+NGR6uKGWhfWYzludJgPmVa1
Znx1DUyikBUb3Yvky+ONcJKs1ZHG46wn18CQHdktqsomzEbum8wWHLUzd6VmAkSO
gLnp0ceE0CXnJPqoRrbdOauZ8Z+QRQ==
=eXzb
-----END PGP SIGNATURE-----

View File

@ -1,19 +1,23 @@
%global talloc_version 2.3.1
Name: libtevent
Version: 0.10.2
Release: 2%{?dist}
Version: 0.11.0
Release: 0%{?dist}
Summary: The tevent library
License: LGPLv3+
URL: http://tevent.samba.org/
Source: http://samba.org/ftp/tevent/tevent-%{version}.tar.gz
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
BuildRequires: gcc
BuildRequires: libtirpc-devel
BuildRequires: libtalloc-devel >= %{talloc_version}
BuildRequires: libcmocka-devel >= 1.1.3
BuildRequires: doxygen
BuildRequires: docbook-style-xsl
BuildRequires: libxslt
BuildRequires: gnupg2
Provides: bundled(libreplace)
@ -67,7 +71,8 @@ UpdateTimestamps() {
done
}
%setup -q -n tevent-%{version}
zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
%autosetup -n tevent-%{version} -p1
%build
%configure --disable-rpath \
@ -84,16 +89,10 @@ make %{?_smp_mflags} check
%install
make install DESTDIR=$RPM_BUILD_ROOT
# Shared libraries need to be marked executable for
# rpmbuild to strip them and include them in debuginfo
find $RPM_BUILD_ROOT -name "*.so*" -exec chmod -c +x {} \;
rm -f $RPM_BUILD_ROOT%{_libdir}/libtevent.a
# Install API docs
rm -f doc/man/man3/todo*
mkdir -p $RPM_BUILD_ROOT/%{_mandir}
cp -a doc/man/* $RPM_BUILD_ROOT/%{_mandir}
install -d -m 0755 %{buildroot}%{_mandir}
cp -a doc/man/* %{buildroot}%{_mandir}
%files
%{_libdir}/libtevent.so.*
@ -112,6 +111,9 @@ cp -a doc/man/* $RPM_BUILD_ROOT/%{_mandir}
%{python3_sitearch}/_tevent.cpython*.so
%changelog
* Fri Jul 09 2021 Andreas Schneider <asn@redhat.com> - 0.11.0-0
- resolves: rhbz#1980346 - Update to version 0.11.0
* Tue Jun 2 2020 Isaac Boukris <iboukris@redhat.com> - 0.10.2-2
- Resolves: #1817563 - Upgrade tevent to 0.10.2 version for samba