forked from pool/python-tox-no-internet
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e5416ec397 | |||
| cbc682cb2d |
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 4 06:13:23 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
- No more greedy globs in %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 27 02:27:01 PM UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-tox-no-internet
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-tox-no-internet
|
||||
Version: 0.1.0
|
||||
Release: 0
|
||||
@@ -26,7 +25,9 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/lulupac/tox-no-internet
|
||||
Source: https://files.pythonhosted.org/packages/source/t/tox-no-internet/tox-no-internet-%{version}.tar.gz
|
||||
Source1: https://raw.githubusercontent.com/lulupac/tox-no-internet/master/LICENSE
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-tox >= 2.7
|
||||
@@ -41,15 +42,17 @@ Workarounds for using tox with no internet connection.
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/tox_no_internet.py
|
||||
%pycache_only %{python_sitelib}/__pycache__/tox_no_internet*.pyc
|
||||
%{python_sitelib}/tox_no_internet-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user