1
0

Compare commits

2 Commits

2 changed files with 13 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 2 03:31:51 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Oct 11 07:48:07 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com> Sun Oct 11 07:48:07 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-volatile # spec file for package python-volatile
# #
# Copyright (c) 2020 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
@@ -16,17 +16,17 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-volatile Name: python-volatile
Version: 2.1.0 Version: 2.1.0
Release: 0 Release: 0
Summary: Python extension for the tempfile module Summary: Python extension for the tempfile module
License: MIT License: MIT
Group: Development/Languages/Python
URL: https://github.com/mbr/volatile URL: https://github.com/mbr/volatile
Source: https://github.com/mbr/volatile/archive/%{version}.tar.gz#/volatile-%{version}.tar.gz Source: https://github.com/mbr/volatile/archive/%{version}.tar.gz#/volatile-%{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: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
@@ -39,10 +39,10 @@ A small Python extension for the tempfile module.
%setup -q -n volatile-%{version} %setup -q -n volatile-%{version}
%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
@@ -51,6 +51,7 @@ A small Python extension for the tempfile module.
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/volatile
%{python_sitelib}/volatile-%{version}.dist-info
%changelog %changelog