diff --git a/zypp-plugin-0.6.3.tar.bz2 b/zypp-plugin-0.6.3.tar.bz2 index 8cf56f0..814f539 100644 --- a/zypp-plugin-0.6.3.tar.bz2 +++ b/zypp-plugin-0.6.3.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3c3b094137fc9e06fb5b40548fc356ebfe668be488076322cace16a59e74c3a6 -size 4598 +oid sha256:576569ae511e577d21c56628d4966a69dfbaaa2bd2128356a10456cae70061e5 +size 4709 diff --git a/zypp-plugin.changes b/zypp-plugin.changes index 3131444..82001bc 100644 --- a/zypp-plugin.changes +++ b/zypp-plugin.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 19 15:53:29 CET 2018 - ma@suse.com + +- Provide python3-zypp-plugin in SLE12-SP3 (bsc#1081596) + ------------------------------------------------------------------- Fri Jan 19 15:15:38 CET 2018 - ma@suse.de diff --git a/zypp-plugin.spec b/zypp-plugin.spec index 23d3d3c..d9a594a 100644 --- a/zypp-plugin.spec +++ b/zypp-plugin.spec @@ -43,8 +43,12 @@ Provides: zypp-plugin-python = %{version}-%{release} ### SLE-12* and even older %else %define have_python2 1 +%if ( 0%{?suse_version} == 1315 && 0%{?sle_version} == 120300 ) +%define have_python3 1 +%else %define have_python3 0 %endif +%endif ### ---------------------------------------- %description @@ -93,6 +97,22 @@ Requires: python This API allows writing ZYpp plugins by just subclassing from a python class and implementing the commands you want to respond to as python methods. +%if 0%{?have_python3} +%package -n python3-%{name} +Summary: Helper that makes writing ZYpp plugins in python easier +Group: System/Packages +Requires: python3 +BuildRequires: python3-devel + +%files -n python3-%{name} +%defattr(-,root,root) +%doc COPYING +%{python3_sitelib}/* + +%description -n python3-%{name} +This API allows writing ZYpp plugins by just subclassing from a python class +and implementing the commands you want to respond to as python methods. +%endif %endif ### ----------------------------------------