gitrev c7dd256 (Merge pull request #3 from bnavigator/multiple-python3-flavors, 2020-10-28)
4154576 (python_expand to support multiple python3 flavors, 2020-10-23) OBS-URL: https://build.opensuse.org/package/show/zypp:Head/zypp-plugin?expand=0&rev=27
This commit is contained in:
parent
aaf491705e
commit
444562ebc1
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package zypp-plugin
|
# spec file for package zypp-plugin
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -22,17 +22,17 @@ Name: zypp-plugin
|
|||||||
Version: 0.6.3
|
Version: 0.6.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Helper that makes writing ZYpp plugins easier
|
Summary: Helper that makes writing ZYpp plugins easier
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0
|
||||||
Group: System/Packages
|
Group: System/Packages
|
||||||
URL: https://github.com/openSUSE/zypp-plugin
|
Url: https://github.com/openSUSE/zypp-plugin
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%if %{singlespec_py3}
|
%if %{singlespec_py3}
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: fdupes
|
||||||
Requires: python-base
|
Requires: python-base
|
||||||
# provide old names for py2 package
|
# provide old names for py2 package
|
||||||
%if "%{python_flavor}" == "python2"
|
%if "%{python_flavor}" == "python2"
|
||||||
@ -94,7 +94,6 @@ install -m 0644 python/zypp_plugin.py %{buildroot}%{python3_sitelib}/zypp_plugin
|
|||||||
### ----------------------------------------
|
### ----------------------------------------
|
||||||
### SLE-12* and even older
|
### SLE-12* and even older
|
||||||
%else
|
%else
|
||||||
|
|
||||||
%package -n %{name}-python
|
%package -n %{name}-python
|
||||||
Summary: Helper that makes writing ZYpp plugins in python easier
|
Summary: Helper that makes writing ZYpp plugins in python easier
|
||||||
Group: System/Packages
|
Group: System/Packages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user