-
Notifications
You must be signed in to change notification settings - Fork 569
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Base Version: Updating version from 0.14.1 -> 0.16.1 (Fedora 41).
- Loading branch information
1 parent
b3e6eba
commit c832644
Showing
7 changed files
with
37 additions
and
209 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
{ | ||
"Signatures": { | ||
"libtevent-LICENSE.txt": "e3a994d82e644b03a792a930f574002658412f62407f5fee083f2555c5f23118", | ||
"tevent-0.14.1.tar.asc": "4e6b80f531b75d3db3f1fe8da52d0bdbcf6cae76f901709bee8da9aabe2a3ef7", | ||
"tevent-0.14.1.tar.gz": "ef85fcaa80ffd2351036ba4b347630fef2a1ac3da964a7f1820466bad03cd00d", | ||
"tevent-0.16.1.tar.asc": "8eb98d2d9714304ce7f24ddb0a6aab9e2285248ac644b6c17567a161b38e6a53", | ||
"tevent-0.16.1.tar.gz": "362971e0f32dc1905f6fe4736319c4b8348c22dc85aa6c3f690a28efe548029e", | ||
"tevent.keyring": "11197db7d14c377d77cc931c089246da99800ba4b2e87884449f60ceb5dfe4ea" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,31 @@ | ||
Vendor: Microsoft Corporation | ||
Distribution: Azure Linux | ||
|
||
%global with_python3 1 | ||
|
||
%global talloc_version 2.3.4 | ||
%global talloc_version 2.4.2 | ||
|
||
Name: libtevent | ||
Version: 0.14.1 | ||
Version: 0.16.1 | ||
Release: 1%{?dist} | ||
Summary: The tevent library | ||
License: LGPLv3+ | ||
URL: https://tevent.samba.org/ | ||
Source0: https://samba.org/ftp/tevent/tevent-%{version}.tar.gz | ||
Source1: https://samba.org/ftp/tevent/tevent-%{version}.tar.asc | ||
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 | ||
Source3: %{name}-LICENSE.txt | ||
|
||
# Patches | ||
|
||
BuildRequires: docbook-style-xsl | ||
BuildRequires: doxygen | ||
BuildRequires: gcc | ||
BuildRequires: gnupg2 | ||
BuildRequires: libcmocka-devel >= 1.1.3 | ||
BuildRequires: libtalloc-devel >= %{talloc_version} | ||
BuildRequires: doxygen | ||
BuildRequires: docbook-style-xsl | ||
BuildRequires: libxslt | ||
BuildRequires: gnupg2 | ||
BuildRequires: which | ||
%if 0%{?with_python3} | ||
BuildRequires: make | ||
BuildRequires: python3-devel | ||
BuildRequires: python3-talloc-devel >= %{talloc_version} | ||
%endif | ||
|
||
Provides: bundled(libreplace) | ||
Obsoletes: python2-tevent < 0.10.0-1 | ||
|
@@ -49,7 +46,6 @@ Requires: libtalloc-devel%{?_isa} >= %{talloc_version} | |
Header files needed to develop programs that link against the Tevent library. | ||
|
||
|
||
%if 0%{?with_python3} | ||
%package -n python3-tevent | ||
Summary: Python 3 bindings for the Tevent library | ||
Requires: libtevent%{?_isa} = %{version}-%{release} | ||
|
@@ -58,35 +54,32 @@ Requires: libtevent%{?_isa} = %{version}-%{release} | |
|
||
%description -n python3-tevent | ||
Python 3 bindings for libtevent | ||
%endif | ||
|
||
%prep | ||
zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} - | ||
%autosetup -n tevent-%{version} -p1 | ||
cp %{SOURCE3} ./LICENSE.txt | ||
|
||
%build | ||
zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} - | ||
%configure --disable-rpath \ | ||
--bundled-libraries=NONE \ | ||
--builtin-libraries=replace | ||
|
||
make %{?_smp_mflags} V=1 | ||
%make_build | ||
|
||
doxygen doxy.config | ||
|
||
%check | ||
make %{?_smp_mflags} check | ||
%make_build check | ||
|
||
%install | ||
make install DESTDIR=$RPM_BUILD_ROOT | ||
%make_install | ||
|
||
# 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 -m0755 %{buildroot}%{_mandir} | ||
cp -a doc/man/man3 %{buildroot}%{_mandir} | ||
|
||
%files | ||
%license LICENSE.txt | ||
%{_libdir}/libtevent.so.* | ||
|
||
%files devel | ||
|
@@ -95,16 +88,17 @@ cp -a doc/man/* $RPM_BUILD_ROOT/%{_mandir} | |
%{_libdir}/pkgconfig/tevent.pc | ||
%{_mandir}/man3/tevent*.gz | ||
|
||
%if 0%{?with_python3} | ||
%files -n python3-tevent | ||
%{python3_sitearch}/tevent.py | ||
%{python3_sitearch}/__pycache__/tevent.* | ||
%{python3_sitearch}/_tevent.cpython*.so | ||
%endif | ||
|
||
%ldconfig_scriptlets | ||
|
||
%changelog | ||
* Thu Nov 21 2024 Sreenivasulu Malavathula <[email protected]> - 0.16.1-1 | ||
- Updating Azure-Linux to import from Fedora 41 (license: MIT) | ||
|
||
* Wed Aug 07 2024 Sindhu Karri <[email protected]> - 0.14.1-1 | ||
- Update to 0.14.1 to build with Python 3.12 | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-----BEGIN PGP SIGNATURE----- | ||
|
||
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmW30BoACgkQR5ORYRMI | ||
QCXwYQgAlEFamvk7spwV0d6m7B1jSorshXVxTqWa8bqMa+bnm9GRM0b8unJsvDpY | ||
GhkW0GAE//1eU4AjPdMJRSFZ41NoXK03b6YOmsa/KKMIkR1dmSLHE9jMd6KSa44N | ||
Xv09QchmtD1BqxrF2N0vri8gDV8eAeGVzD/jbjd1koOO5d0vlWj71uONDALzCi1I | ||
7RYAYOntkS90Fi+ykZnrwByHRapn8Opl1DTHQoKKU/2xRwpVCpkdfI3IIOZvmSrn | ||
LvpST8+gbGKiLolfzyJ/oL2F5Q2MjjptwWr24jxJj9zutBk+E7TRSGB7f6qyz5+r | ||
hQYSGDIggvvDJlgFpYN5M2/6R9GiGg== | ||
=w1hX | ||
-----END PGP SIGNATURE----- |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters