Update to last successful build

7d24ca00f3b74d777e3ae2019fcb523219886dfa changes

OBS-URL: https://build.opensuse.org/package/show/zypp:Head/zypp-plugin?expand=0&rev=23
This commit is contained in:
ZYpp Developers 2018-02-19 14:55:31 +00:00 committed by Git OBS Bridge
parent d10580dde2
commit e2ceaa5238
3 changed files with 27 additions and 2 deletions

BIN
zypp-plugin-0.6.3.tar.bz2 (Stored with Git LFS)

Binary file not shown.

View File

@ -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

View File

@ -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
### ----------------------------------------