Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 01a4417844 | |||
| a9bbec750f |
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 2 07:18:40 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Run the testsuite.
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
- No more greedy globs in %files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 27 11:05:38 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Sun Mar 27 11:05:38 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-click-log
|
# spec file for package python-click-log
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 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
|
||||||
@@ -16,8 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
%global skip_python2 1
|
|
||||||
Name: python-click-log
|
Name: python-click-log
|
||||||
Version: 0.4.0
|
Version: 0.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -25,9 +23,11 @@ Summary: Logging integration for Click
|
|||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/click-contrib/click-log
|
URL: https://github.com/click-contrib/click-log
|
||||||
Source: https://files.pythonhosted.org/packages/source/c/click-log/click-log-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/c/click-log/click-log-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base}
|
|
||||||
BuildRequires: %{python_module click}
|
BuildRequires: %{python_module click}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-click
|
Requires: python-click
|
||||||
@@ -43,15 +43,19 @@ Integrates logging with click.
|
|||||||
rm -rf click_log.egg-info
|
rm -rf click_log.egg-info
|
||||||
|
|
||||||
%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
|
||||||
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/click_log
|
||||||
|
%{python_sitelib}/click_log-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user