14
0
2024-03-07 08:48:30 +00:00
committed by Git OBS Bridge
parent 5164856708
commit 811692357f
2 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 7 08:48:08 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Clean up the SPEC file
-------------------------------------------------------------------
Wed Mar 6 15:47:50 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pypuppetdb
#
# Copyright (c) 2022 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
@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pypuppetdb
Version: 2.5.1
@@ -52,7 +51,7 @@ More information: https://github.com/nedap/pypuppetdb
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# requirements-test.txt packages oddly
rm %{buildroot}/usr/requirements_for_tests/requirements-test.txt
rm %{buildroot}%{_prefix}/requirements_for_tests/requirements-test.txt
%check
# https://github.com/voxpupuli/pypuppetdb/issues/227
@@ -62,6 +61,7 @@ sed -i 's:import mock:from unittest import mock:' tests/test_*.py
%files %{python_files}
%doc README.md CHANGELOG.md
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/pypuppetdb
%{python_sitelib}/pypuppetdb-%{version}*-info
%changelog