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:
ZYpp Developers 2023-02-06 18:36:40 +00:00 committed by Git OBS Bridge
parent aaf491705e
commit 444562ebc1

View File

@ -1,7 +1,7 @@
#
# 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
# 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)
# 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
Release: 0
Summary: Helper that makes writing ZYpp plugins easier
License: GPL-2.0-only
License: GPL-2.0
Group: System/Packages
URL: https://github.com/openSUSE/zypp-plugin
Url: https://github.com/openSUSE/zypp-plugin
Source0: %{name}-%{version}.tar.bz2
BuildArch: noarch
%if %{singlespec_py3}
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
BuildRequires: %{python_module devel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: fdupes
Requires: python-base
# provide old names for py2 package
%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
%else
%package -n %{name}-python
Summary: Helper that makes writing ZYpp plugins in python easier
Group: System/Packages