Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base Version: Updating version from 0.14.1 -> 0.16.1 (Fedora 41). #11180

Open
wants to merge 1 commit into
base: 3.0-dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
165 changes: 0 additions & 165 deletions SPECS-EXTENDED/libtevent/libtevent-LICENSE.txt

This file was deleted.

7 changes: 3 additions & 4 deletions SPECS-EXTENDED/libtevent/libtevent.signatures.json
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"
}
}
}
48 changes: 21 additions & 27 deletions SPECS-EXTENDED/libtevent/libtevent.spec
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
Expand All @@ -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}
Expand All @@ -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
Expand All @@ -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 <v-smalavathu@microsoft.com> - 0.16.1-1
- Updating Azure-Linux to import from Fedora 41 (license: MIT)

* Wed Aug 07 2024 Sindhu Karri <lakarri@microsoft.com> - 0.14.1-1
- Update to 0.14.1 to build with Python 3.12

Expand Down
11 changes: 0 additions & 11 deletions SPECS-EXTENDED/libtevent/tevent-0.10.2.tar.asc

This file was deleted.

11 changes: 11 additions & 0 deletions SPECS-EXTENDED/libtevent/tevent-0.16.1.tar.asc
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 added SPECS-EXTENDED/libtevent/tevent.keyring
Binary file not shown.
4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11121,8 +11121,8 @@
"type": "other",
"other": {
"name": "libtevent",
"version": "0.14.1",
"downloadUrl": "https://samba.org/ftp/tevent/tevent-0.14.1.tar.gz"
"version": "0.16.1",
"downloadUrl": "https://samba.org/ftp/tevent/tevent-0.16.1.tar.gz"
}
}
},
Expand Down