17
0

3 Commits

2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 27 11:47:34 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Sat May 27 21:09:16 UTC 2023 - Dirk Müller <dmueller@suse.com> Sat May 27 21:09:16 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-fixtures # spec file for package python-fixtures
# #
# Copyright (c) 2023 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
@@ -26,7 +26,9 @@ URL: https://github.com/testing-cabal/fixtures
Source: https://files.pythonhosted.org/packages/source/f/fixtures/fixtures-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/f/fixtures/fixtures-%{version}.tar.gz
Patch0: handle-no-external-mock.patch Patch0: handle-no-external-mock.patch
BuildRequires: %{python_module pbr >= 5.7.0} BuildRequires: %{python_module pbr >= 5.7.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
#TESTS #TESTS
BuildRequires: %{python_module extras} BuildRequires: %{python_module extras}
BuildRequires: %{python_module testtools >= 2.5.0} BuildRequires: %{python_module testtools >= 2.5.0}
@@ -50,10 +52,10 @@ compatible test cases easy and straight forward.
%autosetup -p1 -n fixtures-%{version} %autosetup -p1 -n fixtures-%{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
@@ -63,6 +65,6 @@ compatible test cases easy and straight forward.
%license COPYING %license COPYING
%doc Apache-2.0 BSD NEWS README.rst %doc Apache-2.0 BSD NEWS README.rst
%{python_sitelib}/fixtures %{python_sitelib}/fixtures
%{python_sitelib}/fixtures-%{version}-py%{python_version}.egg-info %{python_sitelib}/fixtures-%{version}*-info
%changelog %changelog