forked from pool/python-adapt-parser
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 2f8ae935a8 | |||
| 5860e9bd1e |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 13 06:53:02 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 7 09:58:56 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
Tue Nov 7 09:58:56 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-adapt-parser
|
# spec file for package python-adapt-parser
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -27,8 +27,10 @@ URL: https://github.com/MycroftAI/adapt
|
|||||||
Source: https://github.com/MycroftAI/adapt/archive/refs/tags/release/v%{version}.tar.gz
|
Source: https://github.com/MycroftAI/adapt/archive/refs/tags/release/v%{version}.tar.gz
|
||||||
# PATCH-FIX-OPENSUSE remove-python-six.patch
|
# PATCH-FIX-OPENSUSE remove-python-six.patch
|
||||||
Patch0: remove-python-six.patch
|
Patch0: remove-python-six.patch
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -44,10 +46,10 @@ a structured intent that can then be invoked programatically.
|
|||||||
sed -i -s "s/==/>=/" requirements.txt
|
sed -i -s "s/==/>=/" requirements.txt
|
||||||
|
|
||||||
%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