Bug 2279060 - script-without-shebang on bundled-licenses.txt
Summary: script-without-shebang on bundled-licenses.txt
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmlint
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2279057
TreeView+ depends on / blocked
 
Reported: 2024-05-04 13:42 UTC by wojnilowicz
Modified: 2024-05-06 15:09 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-06 15:09:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
rpmlint output (1.38 KB, text/plain)
2024-05-04 13:42 UTC, wojnilowicz
no flags Details

Description wojnilowicz 2024-05-04 13:42:16 UTC
Created attachment 2031242 [details]
rpmlint output

Rpmlint treats bundled-licenses.txt as a script.

Reproducible: Always

Steps to Reproduce:
1. download https://github.com/ActivityWatch/aw-webui/archive/7de395b4b5d9097c2ee6fd2afcc9876bc969df66/aw-webui-7de395b.tar.gz

2. nodejs-packaging-bundler aw-webui 7de395b aw-webui-7de395b.tar.gz

3. include the ~/rpmbuild/SOURCES/aw-webui-7de395b-bundled-licenses.txt in nodejs-aw-webui.spec file as seen at https://download.copr.fedorainfracloud.org/results/wojnilowicz/activitywatch/fedora-39-x86_64/07406605-nodejs-aw-webui/nodejs-aw-webui.spec

Actual Results:
nodejs-aw-webui.noarch: E: script-without-shebang /usr/share/licenses/nodejs-aw-webui/aw-webui-7de395b-bundled-licenses.txt

Expected Results:  
no nodejs-aw-webui.noarch: E: script-without-shebang /usr/share/licenses/nodejs-aw-webui/aw-webui-7de395b-bundled-licenses.txt

Additional info:
I did as described at
https://docs.fedoraproject.org/en-US/packaging-guidelines/Node.js/#_bundling_script
and bundled the license file as described at
https://docs.fedoraproject.org/en-US/packaging-guidelines/Node.js/#_bundled_licenses

Comment 1 wojnilowicz 2024-05-06 15:09:00 UTC
Probably due to an executable bit on aw-webui-7de395b-bundled-licenses.txt


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