SHA256
1
0
forked from pool/tevent

Accepting request 688782 from network:samba:TESTING

- Update to version 0.9.39
  + py_tevent: add_timer takes float argument
  + C99 build fixes.
  + Fix standalone build of tevent.
- Update to version 0.9.38
  + Deprecate tevent wrapper api again
  + Build fixes
  + The build uses python3 by default:
  + --extra-python would take python2 now
  + To build with python2 only use:
    PYTHON=python2 ./configure
    PYTHON=python2 make
    PYTHON=python2 make install

OBS-URL: https://build.opensuse.org/request/show/688782
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tevent?expand=0&rev=101
This commit is contained in:
Samuel Cabrero 2019-04-22 17:10:28 +00:00 committed by Git OBS Bridge
parent 5c02aeb463
commit c97edcd737
9 changed files with 64 additions and 103 deletions

View File

@ -1,3 +1,2 @@
libtevent0
python-tevent
python3-tevent

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQFJBAABCgAzFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAltG7MEVHHNhbWJhLWJ1
Z3NAc2FtYmEub3JnAAoJEEeTkWETCEAlJcQIAI8odpowSwJc53bVu5au87JRdRwc
+8zd77ZfMXIjfxbW2pPMMhIDB/jGeLRbhQoS7z0gJJGeoeoBsjcnoe6b4jSOgHDM
IUsg2PsQ2m/q1b+xfwG5o719QUmOPKyYAYC5+81Buf7WPG22dSEiZW0EOBDZf0CD
AqdV2jTI7bk/4uxDtcYbzNC0aSBN3qdKhErjZ7PWQHfhBkyUKu5AO3ImWQe0qsMG
Rokjz14lQWgFF6edL4qTjT0gybZKI5AokzeaWwP3spSaMDfMxH/r8R7hlpaSJrHv
UULL84aMM/5vByZiFN3cwNwOEA1QLRlhiX8PxDp0IeHoZftnUZu/rMKTUN8=
=UPdy
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:168345ed65eac03785cf77b95238e7dc66cbb473a42811693a6b0916e5dae7e0
size 603859

11
tevent-0.9.39.tar.asc Normal file
View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQFJBAABCgAzFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAlx1Jw4VHHNhbWJhLWJ1
Z3NAc2FtYmEub3JnAAoJEEeTkWETCEAl4BwIAKHQSiRq6jCmnp/jotVn08BNWRE2
ZsywXuBORWDTXFahfqAtbUcu+UrnGcAZHMia180YwaP1/2vzKLAmVkutFknvCRHx
4g3YBokNcdPD8WJHHpnMiVCHJzdO3LL2chwQKsY5ftCYnxuUyiED0JGBvrGB5j51
+YTQTZ2nWNXQFR9y001SbdoNSkc0BNzYMpZgAUWTP6004kGox5WPo2RgsaUIztv2
hWaYJCPKZ3tRsSrlDIZ8gUySRGE7ODzpzk/PXLpmmSg6XJyWihyKMC9Ngts/KWrT
isP70f1U2tm8UpD6Ryz0Fhfo8DEPYWvamIRETuKp6XhQvS63iXSPEY80/wA=
=cExf
-----END PGP SIGNATURE-----

3
tevent-0.9.39.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f68d0fcc616119d27ebace162499e73f4ae3998e49b98d1f454bb467cdb1d4e6
size 795796

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Mar 5 18:22:33 UTC 2019 - dmulder@suse.com
- Update to version 0.9.39
+ py_tevent: add_timer takes float argument
+ C99 build fixes.
+ Fix standalone build of tevent.
-------------------------------------------------------------------
Wed Feb 6 17:50:12 UTC 2019 - dmulder@suse.com
- Update to version 0.9.38
+ Deprecate tevent wrapper api again
+ Build fixes
+ The build uses python3 by default:
+ --extra-python would take python2 now
+ To build with python2 only use:
PYTHON=python2 ./configure
PYTHON=python2 make
PYTHON=python2 make install
-------------------------------------------------------------------
Tue Sep 25 07:37:57 UTC 2018 - Samuel Cabrero <scabrero@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package tevent-man
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,15 +16,9 @@
#
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?py3_soflags: %global py3_soflags cpython-%{python3_version_nodots}m}
%if 0%{?suse_version} > 1310 || 0%{?fedora_version} > 20
%define with_python3 1
%else
%define with_python3 0
%endif
%define talloc_version 2.1.11
%define talloc_version 2.1.15
%define build_man 1
%if %{build_man}
@ -41,13 +35,9 @@ BuildRequires: pkg-config
%else
BuildRequires: pkgconfig
%endif
BuildRequires: python-devel
%if %{with_python3}
BuildRequires: python3-devel
BuildRequires: python3-talloc >= %{talloc_version}
BuildRequires: python3-talloc-devel >= %{talloc_version}
%endif # with_python3
BuildRequires: python-talloc-devel >= %{talloc_version}
%endif # build_man
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
%define build_make_smp_mflags %{?_smp_mflags}
@ -55,7 +45,7 @@ BuildRequires: python-talloc-devel >= %{talloc_version}
%define build_make_smp_mflags %{?jobs:-j%jobs}
%endif
Url: https://tevent.samba.org/
Version: 0.9.37
Version: 0.9.39
Release: 0
Summary: An event system based on the talloc memory management library
License: LGPL-3.0-or-later
@ -121,26 +111,15 @@ tevent_req (tevent request) functions.
This package contains libraries and header files need for development.
%package -n python-tevent
Summary: Python bindings for the Tevent library
Group: Development/Libraries/Python
Requires: libtevent0 = %{version}
PreReq: /sbin/ldconfig
%description -n python-tevent
This package contains the python bindings for the Tevent library.
%if %{with_python3}
%package -n python3-tevent
Summary: Python3 bindings for the Tevent library
Group: Development/Libraries/Python
Requires: libtevent0 = %{version}
PreReq: /sbin/ldconfig
Obsoletes: python-tevent
%description -n python3-tevent
This package contains the python bindings for the Tevent library.
%endif
%endif # ! build_man
@ -164,9 +143,6 @@ CONFIGURE_OPTIONS="\
--disable-silent-rules \
--bundled-libraries=NONE \
--builtin-libraries=replace \
%if %{with_python3}
--extra-python=/usr/bin/python3 \
%endif
"
./configure ${CONFIGURE_OPTIONS}
%{__make} %{build_make_smp_mflags} \
@ -204,15 +180,9 @@ rm $RPM_BUILD_ROOT/%{_mandir}/man3/todo.3
%postun -n libtevent0 -p /sbin/ldconfig
%post -n python-tevent -p /sbin/ldconfig
%postun -n python-tevent -p /sbin/ldconfig
%if %{with_python3}
%post -n python3-tevent -p /sbin/ldconfig
%postun -n python3-tevent -p /sbin/ldconfig
%endif
%files -n libtevent0
%defattr(-,root,root)
@ -224,15 +194,6 @@ rm $RPM_BUILD_ROOT/%{_mandir}/man3/todo.3
%{_libdir}/libtevent.so
%{_libdir}/pkgconfig/tevent.pc
%files -n python-tevent
%defattr(-,root,root)
%{python_sitearch}/tevent.py
%{python_sitearch}/_tevent.so
%if 0%{?centos_version} > 599 || 0%{?fedora_version} > 11 || 0%{?rhel_version} > 599
%{python_sitearch}/tevent.py[co]
%endif
%if %{with_python3}
%files -n python3-tevent
%defattr(-,root,root)
%{python3_sitearch}/_tevent.%{py3_soflags}.so
@ -240,7 +201,6 @@ rm $RPM_BUILD_ROOT/%{_mandir}/man3/todo.3
%if 0%{?centos_version} > 599 || 0%{?fedora_version} > 11 || 0%{?rhel_version} > 599
%{python3_sitearch}/__pycache__/tevent.cpython-*.py[co]
%endif
%endif
%else
%files

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Mar 5 18:22:33 UTC 2019 - dmulder@suse.com
- Update to version 0.9.39
+ py_tevent: add_timer takes float argument
+ C99 build fixes.
+ Fix standalone build of tevent.
-------------------------------------------------------------------
Wed Feb 6 17:50:12 UTC 2019 - dmulder@suse.com
- Update to version 0.9.38
+ Deprecate tevent wrapper api again
+ Build fixes
+ The build uses python3 by default:
+ --extra-python would take python2 now
+ To build with python2 only use:
PYTHON=python2 ./configure
PYTHON=python2 make
PYTHON=python2 make install
-------------------------------------------------------------------
Tue Sep 25 07:37:57 UTC 2018 - Samuel Cabrero <scabrero@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package tevent-man
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,15 +16,9 @@
#
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?py3_soflags: %global py3_soflags cpython-%{python3_version_nodots}m}
%if 0%{?suse_version} > 1310 || 0%{?fedora_version} > 20
%define with_python3 1
%else
%define with_python3 0
%endif
%define talloc_version 2.1.11
%define talloc_version 2.1.15
%define build_man 0
%if %{build_man}
@ -41,13 +35,9 @@ BuildRequires: pkg-config
%else
BuildRequires: pkgconfig
%endif
BuildRequires: python-devel
%if %{with_python3}
BuildRequires: python3-devel
BuildRequires: python3-talloc >= %{talloc_version}
BuildRequires: python3-talloc-devel >= %{talloc_version}
%endif # with_python3
BuildRequires: python-talloc-devel >= %{talloc_version}
%endif # build_man
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
%define build_make_smp_mflags %{?_smp_mflags}
@ -55,7 +45,7 @@ BuildRequires: python-talloc-devel >= %{talloc_version}
%define build_make_smp_mflags %{?jobs:-j%jobs}
%endif
Url: https://tevent.samba.org/
Version: 0.9.37
Version: 0.9.39
Release: 0
Summary: An event system based on the talloc memory management library
License: LGPL-3.0-or-later
@ -121,26 +111,15 @@ tevent_req (tevent request) functions.
This package contains libraries and header files need for development.
%package -n python-tevent
Summary: Python bindings for the Tevent library
Group: Development/Libraries/Python
Requires: libtevent0 = %{version}
PreReq: /sbin/ldconfig
%description -n python-tevent
This package contains the python bindings for the Tevent library.
%if %{with_python3}
%package -n python3-tevent
Summary: Python3 bindings for the Tevent library
Group: Development/Libraries/Python
Requires: libtevent0 = %{version}
PreReq: /sbin/ldconfig
Obsoletes: python-tevent
%description -n python3-tevent
This package contains the python bindings for the Tevent library.
%endif
%endif # ! build_man
@ -164,9 +143,6 @@ CONFIGURE_OPTIONS="\
--disable-silent-rules \
--bundled-libraries=NONE \
--builtin-libraries=replace \
%if %{with_python3}
--extra-python=/usr/bin/python3 \
%endif
"
./configure ${CONFIGURE_OPTIONS}
%{__make} %{build_make_smp_mflags} \
@ -204,15 +180,9 @@ rm $RPM_BUILD_ROOT/%{_mandir}/man3/todo.3
%postun -n libtevent0 -p /sbin/ldconfig
%post -n python-tevent -p /sbin/ldconfig
%postun -n python-tevent -p /sbin/ldconfig
%if %{with_python3}
%post -n python3-tevent -p /sbin/ldconfig
%postun -n python3-tevent -p /sbin/ldconfig
%endif
%files -n libtevent0
%defattr(-,root,root)
@ -224,15 +194,6 @@ rm $RPM_BUILD_ROOT/%{_mandir}/man3/todo.3
%{_libdir}/libtevent.so
%{_libdir}/pkgconfig/tevent.pc
%files -n python-tevent
%defattr(-,root,root)
%{python_sitearch}/tevent.py
%{python_sitearch}/_tevent.so
%if 0%{?centos_version} > 599 || 0%{?fedora_version} > 11 || 0%{?rhel_version} > 599
%{python_sitearch}/tevent.py[co]
%endif
%if %{with_python3}
%files -n python3-tevent
%defattr(-,root,root)
%{python3_sitearch}/_tevent.%{py3_soflags}.so
@ -240,7 +201,6 @@ rm $RPM_BUILD_ROOT/%{_mandir}/man3/todo.3
%if 0%{?centos_version} > 599 || 0%{?fedora_version} > 11 || 0%{?rhel_version} > 599
%{python3_sitearch}/__pycache__/tevent.cpython-*.py[co]
%endif
%endif
%else
%files