Compare commits
No commits in common. "imports/c8-beta/libtevent-0.12.0-0.el8" and "c8" have entirely different histories.
imports/c8
...
c8
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,2 @@
|
|||||||
SOURCES/tevent-0.12.0.tar.gz
|
SOURCES/tevent-0.16.0.tar.gz
|
||||||
SOURCES/tevent.keyring
|
SOURCES/tevent.keyring
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
b1926eb99a2e9b9d754bfd6b67c97d4a0363b556 SOURCES/tevent-0.12.0.tar.gz
|
|
||||||
5d2957f5d63a72a6fc196af3e45242f3d321f6cf SOURCES/tevent.keyring
|
|
@ -1,11 +0,0 @@
|
|||||||
-----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-----
|
|
11
SOURCES/tevent-0.16.0.tar.asc
Normal file
11
SOURCES/tevent-0.16.0.tar.asc
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmUs8V4ACgkQR5ORYRMI
|
||||||
|
QCWl4gf+NmjfvovCjcT8chpjSQakKh8TjS5Shb0Z9HN6VFGsFovDtyiChx4CjmrK
|
||||||
|
iHdVuS7PdeAcXOo6Y0nlpFcYl4Yo0MJWe+xrUIpT7OSq4jQW50pBv77QMEmCPSew
|
||||||
|
LJY/SMuMDCIlsD6BWfVav3SU2w0CL6iSBT4db1x+HDr8yjmZf40N8SaIu94NjSpE
|
||||||
|
ayKXlQxHiq8yT11fAg/MFl5RyCXHixgw7Ylzm7zGYxQB5ftUUaqCXgJcefBil1xs
|
||||||
|
fhChO+t2Rpb81fBhpgofLv1gcdUraBORfFHJLzOE+XSMnS229k88LyBsGOja9gpK
|
||||||
|
TvrMY9lzEwZXKvTwupFa74mKb7I0ng==
|
||||||
|
=863s
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -1,33 +1,40 @@
|
|||||||
%global talloc_version 2.3.1
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||||
|
%bcond_without python3
|
||||||
|
%else
|
||||||
|
%bcond_with python3
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%global talloc_version 2.4.1
|
||||||
|
|
||||||
Name: libtevent
|
Name: libtevent
|
||||||
Version: 0.12.0
|
Version: 0.16.0
|
||||||
Release: 0%{?dist}
|
Release: 0%{?dist}
|
||||||
Summary: The tevent library
|
Summary: The tevent library
|
||||||
License: LGPLv3+
|
License: LGPL-3.0-or-later
|
||||||
URL: http://tevent.samba.org/
|
URL: http://tevent.samba.org/
|
||||||
Source0: 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
|
Source1: http://samba.org/ftp/tevent/tevent-%{version}.tar.asc
|
||||||
# gpg2 --no-default-keyring --keyring ./tevent.keyring --recv-keys 9147A339719518EE9011BCB54793916113084025
|
# gpg2 --no-default-keyring --keyring ./tevent.keyring --recv-keys 9147A339719518EE9011BCB54793916113084025
|
||||||
Source2: tevent.keyring
|
Source2: tevent.keyring
|
||||||
|
|
||||||
BuildRequires: gcc
|
# Patches
|
||||||
BuildRequires: libtalloc-devel >= %{talloc_version}
|
|
||||||
BuildRequires: libcmocka-devel >= 1.1.3
|
|
||||||
BuildRequires: doxygen
|
|
||||||
BuildRequires: docbook-style-xsl
|
BuildRequires: docbook-style-xsl
|
||||||
BuildRequires: libxslt
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: gcc
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
|
BuildRequires: libcmocka-devel >= 1.1.3
|
||||||
Provides: bundled(libreplace)
|
BuildRequires: libtalloc-devel >= %{talloc_version}
|
||||||
|
BuildRequires: libxslt
|
||||||
|
BuildRequires: make
|
||||||
|
%if %{with python3}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-talloc-devel >= %{talloc_version}
|
BuildRequires: python3-talloc-devel >= %{talloc_version}
|
||||||
|
#endif with python
|
||||||
|
%endif
|
||||||
|
|
||||||
Obsoletes: python2-tevent < %{version}-%{release}
|
Provides: bundled(libreplace)
|
||||||
Obsoletes: python2-tevent-debuginfo < %{version}-%{release}
|
Obsoletes: python2-tevent < 0.10.0-1
|
||||||
|
|
||||||
# Patches
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Tevent is an event system based on the talloc memory management library.
|
Tevent is an event system based on the talloc memory management library.
|
||||||
@ -39,13 +46,13 @@ tevent_req (Tevent Request) functions.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Developer tools for the Tevent library
|
Summary: Developer tools for the Tevent library
|
||||||
Requires: libtevent%{?_isa} = %{version}-%{release}
|
Requires: libtevent%{?_isa} = %{version}-%{release}
|
||||||
Requires: libtalloc-devel%{?_isa} >= 2.0.7
|
Requires: libtalloc-devel%{?_isa} >= %{talloc_version}
|
||||||
Requires: pkgconfig
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Header files needed to develop programs that link against the Tevent library.
|
Header files needed to develop programs that link against the Tevent library.
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with python3}
|
||||||
%package -n python3-tevent
|
%package -n python3-tevent
|
||||||
Summary: Python 3 bindings for the Tevent library
|
Summary: Python 3 bindings for the Tevent library
|
||||||
Requires: libtevent%{?_isa} = %{version}-%{release}
|
Requires: libtevent%{?_isa} = %{version}-%{release}
|
||||||
@ -54,23 +61,10 @@ Requires: libtevent%{?_isa} = %{version}-%{release}
|
|||||||
|
|
||||||
%description -n python3-tevent
|
%description -n python3-tevent
|
||||||
Python 3 bindings for libtevent
|
Python 3 bindings for libtevent
|
||||||
|
#endif with python
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%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} -
|
zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
|
||||||
%autosetup -n tevent-%{version} -p1
|
%autosetup -n tevent-%{version} -p1
|
||||||
|
|
||||||
@ -79,20 +73,20 @@ zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
|
|||||||
--bundled-libraries=NONE \
|
--bundled-libraries=NONE \
|
||||||
--builtin-libraries=replace
|
--builtin-libraries=replace
|
||||||
|
|
||||||
make %{?_smp_mflags} V=1
|
%make_build
|
||||||
|
|
||||||
doxygen doxy.config
|
doxygen doxy.config
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
%make_build check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%make_install
|
||||||
|
|
||||||
# Install API docs
|
# Install API docs
|
||||||
rm -f doc/man/man3/todo*
|
rm -f doc/man/man3/todo*
|
||||||
install -d -m 0755 %{buildroot}%{_mandir}
|
install -d -m0755 %{buildroot}%{_mandir}
|
||||||
cp -a doc/man/* %{buildroot}%{_mandir}
|
cp -a doc/man/man3 %{buildroot}%{_mandir}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_libdir}/libtevent.so.*
|
%{_libdir}/libtevent.so.*
|
||||||
@ -103,14 +97,31 @@ cp -a doc/man/* %{buildroot}%{_mandir}
|
|||||||
%{_libdir}/pkgconfig/tevent.pc
|
%{_libdir}/pkgconfig/tevent.pc
|
||||||
%{_mandir}/man3/tevent*.gz
|
%{_mandir}/man3/tevent*.gz
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%if %{with python3}
|
||||||
|
|
||||||
%files -n python3-tevent
|
%files -n python3-tevent
|
||||||
%{python3_sitearch}/tevent.py
|
%{python3_sitearch}/tevent.py
|
||||||
%{python3_sitearch}/__pycache__/tevent.*
|
%{python3_sitearch}/__pycache__/tevent.*
|
||||||
%{python3_sitearch}/_tevent.cpython*.so
|
%{python3_sitearch}/_tevent.cpython*.so
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon May 02 2022 Pavel Filipenský <pfilipen@redhat.com> - 0.12.0-0
|
||||||
- resolves: rhbz#2077485 - Update to version 0.12.0
|
- resolves: rhbz#2077485 - Update to version 0.12.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user