Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d8c611ff95 | |||
| ad661aa8f2 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 26 12:47:47 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 10 02:46:11 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
Wed May 10 02:46:11 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-enrich
|
# spec file for package python-enrich
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 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
|
||||||
@@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
%{?python_enable_dependency_generator}
|
|
||||||
Name: python-enrich
|
Name: python-enrich
|
||||||
Version: 1.2.7
|
Version: 1.2.7
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -35,6 +34,7 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-rich
|
Requires: python-rich
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%{?python_enable_dependency_generator}
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -43,14 +43,14 @@ with a set of changes that were not accepted to rich itself.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n enrich-%{version}
|
%autosetup -p1 -n enrich-%{version}
|
||||||
sed -i 's/__VERSION__/%version/' setup.py
|
sed -i 's/__VERSION__/%{version}/' setup.py
|
||||||
sed -i '/_scm/ d' setup.cfg
|
sed -i '/_scm/ d' setup.cfg
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
|||||||
Reference in New Issue
Block a user