diff --git a/python-pytest-djangoapp.changes b/python-pytest-djangoapp.changes index 261f57a..acc6464 100644 --- a/python-pytest-djangoapp.changes +++ b/python-pytest-djangoapp.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jul 23 05:01:31 UTC 2024 - Steve Kowalik + +- Add missing BuildRequires on timezone. +- Switch to pyproject macros. +- No more greedy globs in %files. + ------------------------------------------------------------------- Mon Jul 24 18:55:24 UTC 2023 - Dirk Müller diff --git a/python-pytest-djangoapp.spec b/python-pytest-djangoapp.spec index 6ec38db..2bb1ee8 100644 --- a/python-pytest-djangoapp.spec +++ b/python-pytest-djangoapp.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-djangoapp # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,12 +22,14 @@ Version: 1.2.0 Release: 0 Summary: Pytest plugin for Django pluggable application testing License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/idlesign/pytest-djangoapp Source: https://files.pythonhosted.org/packages/source/p/pytest-djangoapp/pytest-djangoapp-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: timezone Requires: python-Django Requires: python-pytest Recommends: python-ipdb @@ -48,10 +50,10 @@ A pytest plugin to help with Django pluggable application testing. mv ./pytest_djangoapp/tests/conftest.py . %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %{python_expand rm -r %{buildroot}%{$python_sitelib}/pytest_djangoapp/tests/ %fdupes %{buildroot}%{$python_sitelib} } @@ -62,6 +64,7 @@ mv ./pytest_djangoapp/tests/conftest.py . %files %{python_files} %doc AUTHORS CHANGELOG README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/pytest_djangoapp +%{python_sitelib}/pytest_djangoapp-%{version}.dist-info %changelog