forked from pool/python-wasabi
- Clean up SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wasabi?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 7 18:33:24 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Clean up SPEC file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 12 22:20:18 UTC 2023 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-wasabi
|
||||
#
|
||||
# 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
|
||||
@@ -15,19 +15,20 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
%define version 1.1.1
|
||||
%define modname wasabi
|
||||
Name: python-%{modname}
|
||||
Name: python-wasabi
|
||||
Version: %{version}
|
||||
Release: 0
|
||||
Group: Development/Languages/Python
|
||||
Summary: A lightweight console printing and formatting toolkit
|
||||
License: LGPL-3.0-only
|
||||
URL: https://pypi.org/project/%{modname}/
|
||||
Group: Development/Languages/Python
|
||||
URL: https://pypi.org/project/wasabi/
|
||||
Source: https://github.com/explosion/%{modname}/archive/refs/tags/v%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@@ -40,17 +41,17 @@ A lightweight console printing and formatting toolkit.
|
||||
%autosetup -n %{modname}-%{version} -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
# rm -rfv %{buildroot}%{_datadir}/doc/%{modname}
|
||||
%pyproject_install
|
||||
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python_sitelib}/wasabi*
|
||||
%{python_sitelib}/wasabi
|
||||
%{python_sitelib}/wasabi-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user