diff --git a/python-pytest-dotenv.changes b/python-pytest-dotenv.changes index 57e9c44..ead5f40 100644 --- a/python-pytest-dotenv.changes +++ b/python-pytest-dotenv.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 7 06:48:41 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. +- No more greedy globs in %files. + ------------------------------------------------------------------- Mon Jun 29 09:48:03 UTC 2020 - Marketa Calabkova diff --git a/python-pytest-dotenv.spec b/python-pytest-dotenv.spec index 3317d2e..c5b3401 100644 --- a/python-pytest-dotenv.spec +++ b/python-pytest-dotenv.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-dotenv # -# Copyright (c) 2020 SUSE LLC +# 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,8 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-pytest-dotenv Version: 0.5.2 Release: 0 @@ -25,9 +23,11 @@ Summary: A pytest plugin that parses environment files License: MIT URL: https://github.com/quiqua/pytest-dotenv Source: https://github.com/quiqua/pytest-dotenv/archive/%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest >= 5.0} BuildRequires: %{python_module python-dotenv >= 0.9.1} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pytest >= 5.0 @@ -42,10 +42,10 @@ A py.test plugin that parses environment files before running tests. %setup -q -n pytest-dotenv-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -54,6 +54,7 @@ A py.test plugin that parses environment files before running tests. %files %{python_files} %doc README.md %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/pytest_dotenv +%{python_sitelib}/pytest_dotenv-%{version}.dist-info %changelog