forked from pool/python-rarfile
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 60826cf42c | |||
| 719ed1f63c | |||
| 3c067de7f3 | |||
| 8b6fc38b5f |
@@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jun 24 02:21:52 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
|
||||||
|
|
||||||
- Switch to pyproject macros.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 22 06:44:49 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
Tue Oct 22 06:44:49 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-rarfile
|
# spec file for package python-rarfile
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2024 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
|
||||||
@@ -24,10 +24,8 @@ Summary: RAR Archive Reader for Python
|
|||||||
License: ISC
|
License: ISC
|
||||||
URL: https://rarfile.readthedocs.org/
|
URL: https://rarfile.readthedocs.org/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/r/rarfile/rarfile-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/r/rarfile/rarfile-%{version}.tar.gz
|
||||||
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: 7zip
|
BuildRequires: 7zip
|
||||||
BuildRequires: bsdtar
|
BuildRequires: bsdtar
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -58,12 +56,12 @@ This package contains technical documentation.
|
|||||||
%autosetup -p1 -n rarfile-%{version}
|
%autosetup -p1 -n rarfile-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%python_build
|
||||||
%make_build -C doc html
|
%make_build -C doc html
|
||||||
rm doc/_build/html/.buildinfo
|
rm doc/_build/html/.buildinfo
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -71,9 +69,9 @@ rm doc/_build/html/.buildinfo
|
|||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%pycache_only %{python_sitelib}/__pycache__/rarfile.*.pyc
|
%pycache_only %{python_sitelib}/__pycache__/rarfile.*.py*
|
||||||
%{python_sitelib}/rarfile.py
|
%{python_sitelib}/rarfile.py*
|
||||||
%{python_sitelib}/rarfile-%{version}.dist-info
|
%{python_sitelib}/rarfile-%{version}-py%{python_version}.egg-info
|
||||||
|
|
||||||
%files %{python_files doc}
|
%files %{python_files doc}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|||||||
Reference in New Issue
Block a user