Accepting request 1082122 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1082122 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sh?expand=0&rev=12
This commit is contained in:
commit
757e0e5b76
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:34:00 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add sle15_python_module_pythons (jsc#PED-68)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 19 01:02:26 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Switch to single spec version build for PSP
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 13 22:44:49 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Make calling of %{sle15modernpython} optional.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 24 07:52:44 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-sh
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-sh
|
||||
Version: 1.14.3
|
||||
Release: 0
|
||||
@ -25,8 +25,10 @@ License: MIT
|
||||
URL: https://github.com/amoffat/sh
|
||||
Source: https://files.pythonhosted.org/packages/source/s/sh/sh-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%{?sle15_python_module_pythons}
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -47,9 +49,10 @@ sh is not a collection of system commands implemented in Python.
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec test.py
|
||||
%pyunittest -v test
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user