Hello community, here is the log from the commit of package tevent for openSUSE:Factory checked in at 2015-10-28 17:29:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tevent (Old) and /work/SRC/openSUSE:Factory/.tevent.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tevent" Changes: -------- --- /work/SRC/openSUSE:Factory/tevent/tevent-man.changes 2015-09-09 20:20:35.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.tevent.new/tevent-man.changes 2015-10-28 17:29:52.000000000 +0100 @@ -1,0 +2,26 @@ +Sun Oct 25 13:48:42 UTC 2015 - lmue...@suse.com + +- Add python3-tevent; (bsc#951911). + +------------------------------------------------------------------- +Thu Oct 22 21:03:11 UTC 2015 - lmue...@suse.com + +- Require python-talloc-devel instead of pytalloc-devel. + +------------------------------------------------------------------- +Mon Sep 7 22:14:42 UTC 2015 - lmue...@suse.com + +- Recommend to install tevent-man from libtevent-devel on post-10.3 systems. + +------------------------------------------------------------------- +Mon Sep 7 17:50:34 UTC 2015 - lmue...@suse.com + +- Remove superfluous _name define. + +------------------------------------------------------------------- +Mon Sep 7 17:06:26 UTC 2015 - lmue...@suse.com + +- Update the Samba Library Distribution Key file 'tevent.keyring'; + (bso#945116). + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/tevent/tevent.changes 2015-09-19 06:53:45.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.tevent.new/tevent.changes 2015-10-28 17:29:52.000000000 +0100 @@ -1,0 +2,10 @@ +Sun Oct 25 13:48:42 UTC 2015 - lmue...@suse.com + +- Add python3-tevent; (bsc#951911). + +------------------------------------------------------------------- +Thu Oct 22 21:03:11 UTC 2015 - lmue...@suse.com + +- Require python-talloc-devel instead of pytalloc-devel. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tevent-man.spec ++++++ --- /var/tmp/diff_new_pack.uyHgM9/_old 2015-10-28 17:29:53.000000000 +0100 +++ /var/tmp/diff_new_pack.uyHgM9/_new 2015-10-28 17:29:53.000000000 +0100 @@ -17,16 +17,21 @@ %{!?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.0.7 +%define talloc_version 2.1.4 %define build_man 1 -%define _name tevent %if %{build_man} -Name: %{_name}-man +Name: tevent-man BuildRequires: doxygen %else -Name: %{_name} +Name: tevent #!BuildIgnore: libtalloc BuildRequires: libtalloc-devel >= %{talloc_version} %if 0%{?suse_version} > 1020 @@ -34,8 +39,11 @@ %else BuildRequires: pkgconfig %endif -BuildRequires: pytalloc-devel >= %{talloc_version} BuildRequires: python-devel +%if %{with_python3} +BuildRequires: python3-devel +%endif +BuildRequires: python-talloc-devel >= %{talloc_version} %endif %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140 %define build_make_smp_mflags %{?_smp_mflags} @@ -86,7 +94,9 @@ Summary: Libraries and Header Files to Develop Programs with tevent0 Support Group: Development/Libraries/C and C++ # Man pages are built in a 2nd spec file in order to break a build cycle with doxygen->cmake->krb5->libtevent +%if 0%{?suse_version} > 1030 Recommends: %{name}-man +%endif Requires: %{libtevent_name} = %{version} Requires: libtalloc-devel >= %{talloc_version} %if 0%{?suse_version} > 1020 @@ -117,6 +127,18 @@ %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: %{libtevent_name} = %{version} +PreReq: /sbin/ldconfig + +%description -n python3-tevent +This package contains the python bindings for the Tevent library. +%endif + %endif %prep @@ -137,6 +159,9 @@ --disable-rpath \ --bundled-libraries=NONE \ --builtin-libraries=replace \ +%if %{with_python3} + --extra-python=/usr/bin/python3 \ +%endif " ./configure ${CONFIGURE_OPTIONS} %{__make} %{build_make_smp_mflags} \ @@ -178,6 +203,12 @@ %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 %{libtevent_name} %defattr(-,root,root) %{_libdir}/libtevent.so.* @@ -190,12 +221,20 @@ %files -n python-tevent %defattr(-,root,root) -%attr(0755,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.pyc -%{python_sitearch}/tevent.pyo +%{python_sitearch}/tevent.py[co] +%endif + +%if %{with_python3} +%files -n python3-tevent +%defattr(-,root,root) +%{python3_sitearch}/_tevent.%{py3_soflags}.so +%{python3_sitearch}/tevent.py +%if 0%{?centos_version} > 599 || 0%{?fedora_version} > 11 || 0%{?rhel_version} > 599 +%{python3_sitearch}/__pycache__/tevent.cpython-*.py[co] +%endif %endif %else ++++++ tevent.spec ++++++ --- /var/tmp/diff_new_pack.uyHgM9/_old 2015-10-28 17:29:53.000000000 +0100 +++ /var/tmp/diff_new_pack.uyHgM9/_new 2015-10-28 17:29:53.000000000 +0100 @@ -17,8 +17,14 @@ %{!?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.0.7 +%define talloc_version 2.1.4 %define build_man 0 %if %{build_man} @@ -33,8 +39,11 @@ %else BuildRequires: pkgconfig %endif -BuildRequires: pytalloc-devel >= %{talloc_version} BuildRequires: python-devel +%if %{with_python3} +BuildRequires: python3-devel +%endif +BuildRequires: python-talloc-devel >= %{talloc_version} %endif %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140 %define build_make_smp_mflags %{?_smp_mflags} @@ -118,6 +127,18 @@ %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: %{libtevent_name} = %{version} +PreReq: /sbin/ldconfig + +%description -n python3-tevent +This package contains the python bindings for the Tevent library. +%endif + %endif %prep @@ -138,6 +159,9 @@ --disable-rpath \ --bundled-libraries=NONE \ --builtin-libraries=replace \ +%if %{with_python3} + --extra-python=/usr/bin/python3 \ +%endif " ./configure ${CONFIGURE_OPTIONS} %{__make} %{build_make_smp_mflags} \ @@ -179,6 +203,12 @@ %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 %{libtevent_name} %defattr(-,root,root) %{_libdir}/libtevent.so.* @@ -191,12 +221,20 @@ %files -n python-tevent %defattr(-,root,root) -%attr(0755,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.pyc -%{python_sitearch}/tevent.pyo +%{python_sitearch}/tevent.py[co] +%endif + +%if %{with_python3} +%files -n python3-tevent +%defattr(-,root,root) +%{python3_sitearch}/_tevent.%{py3_soflags}.so +%{python3_sitearch}/tevent.py +%if 0%{?centos_version} > 599 || 0%{?fedora_version} > 11 || 0%{?rhel_version} > 599 +%{python3_sitearch}/__pycache__/tevent.cpython-*.py[co] +%endif %endif %else ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.uyHgM9/_old 2015-10-28 17:29:53.000000000 +0100 +++ /var/tmp/diff_new_pack.uyHgM9/_new 2015-10-28 17:29:53.000000000 +0100 @@ -1,2 +1,3 @@ libtevent0 python-tevent +python3-tevent