forked from pool/python-nodeenv
Accepting request 1293812 from devel:languages:python
- Convert to libalternatives OBS-URL: https://build.opensuse.org/request/show/1293812 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nodeenv?expand=0&rev=14
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 16 12:59:23 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 5 02:59:57 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
Mon May 5 02:59:57 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_without libalternatives
|
||||||
%{?sle15allpythons}
|
%{?sle15allpythons}
|
||||||
Name: python-nodeenv
|
Name: python-nodeenv
|
||||||
Version: 1.9.1
|
Version: 1.9.1
|
||||||
@@ -28,11 +29,11 @@ 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: %{python_module wheel}
|
||||||
|
BuildRequires: alts
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: alts
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun): update-alternatives
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -54,11 +55,8 @@ Node.js virtual environment builder.
|
|||||||
# test_smoke is an integration test requiring network access.
|
# test_smoke is an integration test requiring network access.
|
||||||
%pytest -k 'not test_smoke'
|
%pytest -k 'not test_smoke'
|
||||||
|
|
||||||
%post
|
%pre
|
||||||
%python_install_alternative nodeenv
|
%python_libalternatives_reset_alternative nodeenv
|
||||||
|
|
||||||
%postun
|
|
||||||
%python_uninstall_alternative nodeenv
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGES README.rst
|
%doc CHANGES README.rst
|
||||||
|
Reference in New Issue
Block a user