Bug 2077908 - Missing dependency on rpminspect-data-fedora
Summary: Missing dependency on rpminspect-data-fedora
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: license-validate
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2077914
TreeView+ depends on / blocked
 
Reported: 2022-04-22 14:54 UTC by Ben Beasley
Modified: 2022-05-07 04:29 UTC (History)
1 user (show)

Fixed In Version: license-validate-5-1.fc34 license-validate-5-1.fc35 license-validate-5-1.fc36
Clone Of:
: 2077914 (view as bug list)
Environment:
Last Closed: 2022-05-01 19:23:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ben Beasley 2022-04-22 14:54:13 UTC
Description of problem:

The license-fedora2spdx tool needs /usr/share/rpminspect/licenses/fedora.json from rpminspect-data-fedora.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. sudo dnf install license-validate
2. license-fedora2spdx GPLv2

Actual results:

Traceback (most recent call last):
  File "/usr/bin/license-fedora2spdx", line 41, in <module>
    data = json.load(open('/usr/share/rpminspect/licenses/fedora.json'))
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/rpminspect/licenses/fedora.json'

Expected results:


Additional info:

Please add the necessary dependency. Thanks!

Unfortunately, this brings in a lot of heavy-weight transitive dependencies, including clamav-data at over 200 MB. Maybe there is something that can be done in rpminspect-data-fedora to make it easier to depend on just the license data without bringing in everything needed to use the rpminspect config.

Comment 1 Fedora Update System 2022-04-22 15:21:09 UTC
FEDORA-2022-2a708b35cd has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-2a708b35cd

Comment 2 Fedora Update System 2022-04-22 15:21:10 UTC
FEDORA-2022-24aedb55de has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-24aedb55de

Comment 3 Fedora Update System 2022-04-22 15:21:11 UTC
FEDORA-2022-30c4e01686 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-30c4e01686

Comment 4 Fedora Update System 2022-04-23 17:13:39 UTC
FEDORA-2022-24aedb55de has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-24aedb55de`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-24aedb55de

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

Comment 5 Fedora Update System 2022-04-23 18:42:19 UTC
FEDORA-2022-2a708b35cd has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-2a708b35cd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-2a708b35cd

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

Comment 6 Fedora Update System 2022-04-23 19:06:47 UTC
FEDORA-2022-30c4e01686 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-30c4e01686`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-30c4e01686

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

Comment 7 Fedora Update System 2022-05-01 19:23:05 UTC
FEDORA-2022-2a708b35cd has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2022-05-01 19:39:12 UTC
FEDORA-2022-30c4e01686 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2022-05-07 04:29:42 UTC
FEDORA-2022-24aedb55de has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.