15
0

Accepting request 1238277 from home:mcalabkova:branches:devel:languages:python

- Fix packaging

OBS-URL: https://build.opensuse.org/request/show/1238277
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docformatter?expand=0&rev=21
This commit is contained in:
2025-01-16 16:29:04 +00:00
committed by Git OBS Bridge
parent 487f5a9eaa
commit cd6b470baa
2 changed files with 6 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-docformatter
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -76,8 +76,6 @@ chmod -x src/docformatter/__main__.py
%install
%pyproject_install
# Do not install LICENSE
%python_expand rm %{buildroot}%{$python_sitelib}/LICENSE
%python_clone -a %{buildroot}%{_bindir}/docformatter
%python_expand %fdupes %{buildroot}%{$python_sitelib}