From c97edcd73719b04db1f3d0d3d4604ef0c46619ea316c6e827921995060c61a8e Mon Sep 17 00:00:00 2001 From: Samuel Cabrero Date: Mon, 22 Apr 2019 17:10:28 +0000 Subject: [PATCH] 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 --- baselibs.conf | 1 - tevent-0.9.37.tar.asc | 11 ---------- tevent-0.9.37.tar.gz | 3 --- tevent-0.9.39.tar.asc | 11 ++++++++++ tevent-0.9.39.tar.gz | 3 +++ tevent-man.changes | 21 +++++++++++++++++++ tevent-man.spec | 48 ++++--------------------------------------- tevent.changes | 21 +++++++++++++++++++ tevent.spec | 48 ++++--------------------------------------- 9 files changed, 64 insertions(+), 103 deletions(-) delete mode 100644 tevent-0.9.37.tar.asc delete mode 100644 tevent-0.9.37.tar.gz create mode 100644 tevent-0.9.39.tar.asc create mode 100644 tevent-0.9.39.tar.gz diff --git a/baselibs.conf b/baselibs.conf index cfc71c6..e0b5e5c 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,3 +1,2 @@ libtevent0 -python-tevent python3-tevent diff --git a/tevent-0.9.37.tar.asc b/tevent-0.9.37.tar.asc deleted file mode 100644 index 86789c8..0000000 --- a/tevent-0.9.37.tar.asc +++ /dev/null @@ -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----- diff --git a/tevent-0.9.37.tar.gz b/tevent-0.9.37.tar.gz deleted file mode 100644 index b871640..0000000 --- a/tevent-0.9.37.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:168345ed65eac03785cf77b95238e7dc66cbb473a42811693a6b0916e5dae7e0 -size 603859 diff --git a/tevent-0.9.39.tar.asc b/tevent-0.9.39.tar.asc new file mode 100644 index 0000000..e734970 --- /dev/null +++ b/tevent-0.9.39.tar.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQFJBAABCgAzFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAlx1Jw4VHHNhbWJhLWJ1 +Z3NAc2FtYmEub3JnAAoJEEeTkWETCEAl4BwIAKHQSiRq6jCmnp/jotVn08BNWRE2 +ZsywXuBORWDTXFahfqAtbUcu+UrnGcAZHMia180YwaP1/2vzKLAmVkutFknvCRHx +4g3YBokNcdPD8WJHHpnMiVCHJzdO3LL2chwQKsY5ftCYnxuUyiED0JGBvrGB5j51 ++YTQTZ2nWNXQFR9y001SbdoNSkc0BNzYMpZgAUWTP6004kGox5WPo2RgsaUIztv2 +hWaYJCPKZ3tRsSrlDIZ8gUySRGE7ODzpzk/PXLpmmSg6XJyWihyKMC9Ngts/KWrT +isP70f1U2tm8UpD6Ryz0Fhfo8DEPYWvamIRETuKp6XhQvS63iXSPEY80/wA= +=cExf +-----END PGP SIGNATURE----- diff --git a/tevent-0.9.39.tar.gz b/tevent-0.9.39.tar.gz new file mode 100644 index 0000000..80eee41 --- /dev/null +++ b/tevent-0.9.39.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f68d0fcc616119d27ebace162499e73f4ae3998e49b98d1f454bb467cdb1d4e6 +size 795796 diff --git a/tevent-man.changes b/tevent-man.changes index 0b7160f..95df68f 100644 --- a/tevent-man.changes +++ b/tevent-man.changes @@ -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 diff --git a/tevent-man.spec b/tevent-man.spec index a0b0e0d..8f3c35d 100644 --- a/tevent-man.spec +++ b/tevent-man.spec @@ -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 diff --git a/tevent.changes b/tevent.changes index 0b7160f..95df68f 100644 --- a/tevent.changes +++ b/tevent.changes @@ -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 diff --git a/tevent.spec b/tevent.spec index 6059237..72d4a6f 100644 --- a/tevent.spec +++ b/tevent.spec @@ -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