14
0
forked from pool/python-wasabi
2023-08-07 18:33:34 +00:00
committed by Git OBS Bridge
parent 7406f40429
commit ffb6bf1999
2 changed files with 16 additions and 10 deletions

View File

@@ -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> Fri May 12 22:20:18 UTC 2023 - Greg Freemyer <Greg.Freemyer@gmail.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-wasabi # 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 # 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
@@ -15,19 +15,20 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%{?sle15_python_module_pythons}
%{?sle15_python_module_pythons}
%define version 1.1.1 %define version 1.1.1
%define modname wasabi %define modname wasabi
Name: python-%{modname} Name: python-wasabi
Version: %{version} Version: %{version}
Release: 0 Release: 0
Group: Development/Languages/Python
Summary: A lightweight console printing and formatting toolkit Summary: A lightweight console printing and formatting toolkit
License: LGPL-3.0-only 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 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: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
@@ -40,17 +41,17 @@ A lightweight console printing and formatting toolkit.
%autosetup -n %{modname}-%{version} -p1 %autosetup -n %{modname}-%{version} -p1
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
# rm -rfv %{buildroot}%{_datadir}/doc/%{modname}
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc README.md %doc README.md
%{python_sitelib}/wasabi* %{python_sitelib}/wasabi
%{python_sitelib}/wasabi-%{version}*-info
%changelog %changelog