Accepting request 621126 from zypp:Head
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/621126 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zypp-plugin?expand=0&rev=15
This commit is contained in:
commit
8418014cec
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:576569ae511e577d21c56628d4966a69dfbaaa2bd2128356a10456cae70061e5
|
||||
size 4709
|
||||
oid sha256:10eafc38a9fd5a9688e56ad38193b591d6301232d22dff78c106a42092b402e7
|
||||
size 4727
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 13 14:51:18 CET 2018 - ma@suse.com
|
||||
|
||||
- Provide python3-zypp-plugin down to SLE12 (bsc#1081596)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 19 15:53:29 CET 2018 - ma@suse.com
|
||||
|
||||
|
@ -43,7 +43,7 @@ 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 )
|
||||
%if ( 0%{?suse_version} == 1315 )
|
||||
%define have_python3 1
|
||||
%else
|
||||
%define have_python3 0
|
||||
@ -64,12 +64,12 @@ and implementing the commands you want to respond to as python methods.
|
||||
%install
|
||||
%if 0%{?have_python2}
|
||||
mkdir -p %{buildroot}%{python_sitelib}
|
||||
install python/zypp_plugin.py %{buildroot}%{python_sitelib}/zypp_plugin.py
|
||||
install -m 0644 python/zypp_plugin.py %{buildroot}%{python_sitelib}/zypp_plugin.py
|
||||
%py_compile -O %{buildroot}/%{python_sitelib}
|
||||
%endif
|
||||
%if 0%{?have_python3}
|
||||
mkdir -p %{buildroot}%{python3_sitelib}
|
||||
install python/zypp_plugin.py %{buildroot}%{python3_sitelib}/zypp_plugin.py
|
||||
install -m 0644 python/zypp_plugin.py %{buildroot}%{python3_sitelib}/zypp_plugin.py
|
||||
%py3_compile -O %{buildroot}/%{python3_sitelib}
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user