Compare commits
No commits in common. "c8" and "imports/c8-beta/libtevent-0.12.0-0.el8" have entirely different histories.
c8
...
imports/c8
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
SOURCES/tevent-0.16.0.tar.gz
|
||||
SOURCES/tevent-0.12.0.tar.gz
|
||||
SOURCES/tevent.keyring
|
||||
|
2
.libtevent.metadata
Normal file
2
.libtevent.metadata
Normal file
@ -0,0 +1,2 @@
|
||||
b1926eb99a2e9b9d754bfd6b67c97d4a0363b556 SOURCES/tevent-0.12.0.tar.gz
|
||||
5d2957f5d63a72a6fc196af3e45242f3d321f6cf SOURCES/tevent.keyring
|
11
SOURCES/tevent-0.12.0.tar.asc
Normal file
11
SOURCES/tevent-0.12.0.tar.asc
Normal file
@ -0,0 +1,11 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmJUwNIACgkQR5ORYRMI
|
||||
QCU8Lwf/akEtP0Ed0lBvxKEdpAZ41lEYtTHc5n/P7g5b1ynyXVzyNEQY6HaLfFwB
|
||||
L+kFq6bPFlKOKpm4CU+5xAEpvYlpNZ0+I6hivXknBrNuqw4F8WaH55dEEgzdOolp
|
||||
NFf9bExvGceIOsY+9/ku5mYWBCYHqyYCF2+Z9ZdoHpf/eCYoWIKuAdMP25q8el4w
|
||||
f8d3VxoZtq2wwhtgFSbQi/+bsORVuWE9ArfHwZ4i5/GLcLPCPDmDHBWH+tuaKoZ1
|
||||
zZUKwixA8dUupvGRSvCGnX0zhQ6QsYa8Bty0P29KDanULTbwxvwyovIxlUIfWsKB
|
||||
yJbsydQtWO7QPGKbEtfcrB2HM+dLOQ==
|
||||
=01HW
|
||||
-----END PGP SIGNATURE-----
|
@ -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-----
|
@ -1,40 +1,33 @@
|
||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||
%bcond_without python3
|
||||
%else
|
||||
%bcond_with python3
|
||||
%endif
|
||||
|
||||
%global talloc_version 2.4.1
|
||||
%global talloc_version 2.3.1
|
||||
|
||||
Name: libtevent
|
||||
Version: 0.16.0
|
||||
Version: 0.12.0
|
||||
Release: 0%{?dist}
|
||||
Summary: The tevent library
|
||||
License: LGPL-3.0-or-later
|
||||
License: LGPLv3+
|
||||
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
|
||||
|
||||
# Patches
|
||||
|
||||
BuildRequires: docbook-style-xsl
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gnupg2
|
||||
BuildRequires: libcmocka-devel >= 1.1.3
|
||||
BuildRequires: libtalloc-devel >= %{talloc_version}
|
||||
BuildRequires: libcmocka-devel >= 1.1.3
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: docbook-style-xsl
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: make
|
||||
%if %{with python3}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-talloc-devel >= %{talloc_version}
|
||||
#endif with python
|
||||
%endif
|
||||
BuildRequires: gnupg2
|
||||
|
||||
Provides: bundled(libreplace)
|
||||
Obsoletes: python2-tevent < 0.10.0-1
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-talloc-devel >= %{talloc_version}
|
||||
|
||||
Obsoletes: python2-tevent < %{version}-%{release}
|
||||
Obsoletes: python2-tevent-debuginfo < %{version}-%{release}
|
||||
|
||||
# Patches
|
||||
|
||||
%description
|
||||
Tevent is an event system based on the talloc memory management library.
|
||||
@ -46,13 +39,13 @@ tevent_req (Tevent Request) functions.
|
||||
%package devel
|
||||
Summary: Developer tools for the Tevent library
|
||||
Requires: libtevent%{?_isa} = %{version}-%{release}
|
||||
Requires: libtalloc-devel%{?_isa} >= %{talloc_version}
|
||||
Requires: libtalloc-devel%{?_isa} >= 2.0.7
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
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}
|
||||
@ -61,10 +54,23 @@ Requires: libtevent%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n python3-tevent
|
||||
Python 3 bindings for libtevent
|
||||
#endif with python
|
||||
%endif
|
||||
|
||||
%prep
|
||||
# Update timestamps on the files touched by a patch, to avoid non-equal
|
||||
# .pyc/.pyo files across the multilib peers within a build, where "Level"
|
||||
# is the patch prefix option (e.g. -p1)
|
||||
# Taken from specfile for python-simplejson
|
||||
UpdateTimestamps() {
|
||||
Level=$1
|
||||
PatchFile=$2
|
||||
|
||||
# Locate the affected files:
|
||||
for f in $(diffstat $Level -l $PatchFile); do
|
||||
# Set the files to have the same timestamp as that of the patch:
|
||||
touch -r $PatchFile $f
|
||||
done
|
||||
}
|
||||
|
||||
zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
|
||||
%autosetup -n tevent-%{version} -p1
|
||||
|
||||
@ -73,20 +79,20 @@ zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
|
||||
--bundled-libraries=NONE \
|
||||
--builtin-libraries=replace
|
||||
|
||||
%make_build
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
doxygen doxy.config
|
||||
|
||||
%check
|
||||
%make_build check
|
||||
make %{?_smp_mflags} check
|
||||
|
||||
%install
|
||||
%make_install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
# Install API docs
|
||||
rm -f doc/man/man3/todo*
|
||||
install -d -m0755 %{buildroot}%{_mandir}
|
||||
cp -a doc/man/man3 %{buildroot}%{_mandir}
|
||||
install -d -m 0755 %{buildroot}%{_mandir}
|
||||
cp -a doc/man/* %{buildroot}%{_mandir}
|
||||
|
||||
%files
|
||||
%{_libdir}/libtevent.so.*
|
||||
@ -97,31 +103,14 @@ cp -a doc/man/man3 %{buildroot}%{_mandir}
|
||||
%{_libdir}/pkgconfig/tevent.pc
|
||||
%{_mandir}/man3/tevent*.gz
|
||||
|
||||
%if %{with python3}
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files -n python3-tevent
|
||||
%{python3_sitearch}/tevent.py
|
||||
%{python3_sitearch}/__pycache__/tevent.*
|
||||
%{python3_sitearch}/_tevent.cpython*.so
|
||||
%endif
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%changelog
|
||||
* Fri Nov 17 2023 Pavel Filipenský <pfilipen@redhat.com> - 0.16.0-0
|
||||
- resolves: RHEL-16504 - update to version 0.16.0
|
||||
|
||||
* Tue Jun 06 2023 Pavel Filipenský <pfilipen@redhat.com> - 0.14.1-3
|
||||
- resolves: rhbz#2190425 - Rebuild to trigger distrobaker sync
|
||||
|
||||
* Wed May 24 2023 Pavel Filipenský <pfilipen@redhat.com> - 0.14.1-2
|
||||
- resolves: rhbz#2190425 - Add missing tests to fix osci.brew-build.tier0.functional
|
||||
|
||||
* Thu May 18 2023 Pavel Filipenský <pfilipen@redhat.com> - 0.14.1-1
|
||||
- resolves: rhbz#2190425 Update to version 0.14.1
|
||||
|
||||
* Mon Oct 24 2022 Andreas Schneider <asn@redhat.com> - 0.13.0-1
|
||||
- resolves: rhbz#2132055 - Update to version 0.13.0
|
||||
|
||||
* Mon May 02 2022 Pavel Filipenský <pfilipen@redhat.com> - 0.12.0-0
|
||||
- resolves: rhbz#2077485 - Update to version 0.12.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user