forked from pool/python-pypuppetdb
- Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pypuppetdb?expand=0&rev=17
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user