Bug 1922442

Summary: %python_extras_subpkg sometimes generates a %description with too long lines
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-rpm-macrosAssignee: Miro Hrončok <mhroncok>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: cstratak, j, m.cyprian, mhroncok, orion, python-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-rpm-macros-3.9-13.fc34 python-rpm-macros-3.9-13.eln109 python-rpm-macros-3.9-13.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-08 11:28:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Miro Hrončok 2021-01-29 17:55:51 UTC
Given:

%{?python_extras_subpkg:%{python_extras_subpkg -n python3-setuptools_scm -i %{python3_sitelib}/setuptools_scm-*.egg-info toml}}

You get:

Name        : python3-setuptools_scm+toml
...
Summary     : Metapackage for python3-setuptools_scm: toml extras
Description :
This is a metapackage bringing in toml extras requires for python3-setuptools_scm.
It contains no code, just makes sure the dependencies are installed.


And rpmlint says:

python3-setuptools_scm+toml.noarch: E: description-line-too-long C This is a metapackage bringing in toml extras requires for python3-setuptools_scm.



If possible, we should check if we can autowrap the description somehow. The macro is in Lua so it is possible.

Comment 2 Fedora Update System 2021-02-08 11:28:54 UTC
FEDORA-2021-ed68631528 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Fedora Update System 2021-02-08 11:34:44 UTC
FEDORA-2021-4b3e137e2a has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-4b3e137e2a

Comment 4 Fedora Update System 2021-02-08 11:37:55 UTC
FEDORA-2021-1cb2ea2223 has been pushed to the Fedora ELN stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2021-02-09 01:26:33 UTC
FEDORA-2021-4b3e137e2a has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-4b3e137e2a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-4b3e137e2a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-02-11 01:43:08 UTC
FEDORA-2021-4b3e137e2a has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.