[RESOLUTION BELOW]
Hello All! Hope the new year is treating everyone well so far.
I’m walking through the Banner Packaging Tutorial and I’ve run into an error that isn’t part of the tutorial (tutorial has example errors). Am I doing something wrong??
fedpkg --release f43 lint
Mockbuild results directory found. Linting mockbuild results.
==================================== rpmlint session starts ===================================
rpmlint: 2.8.0
configuration:
/usr/lib/python3.14/site-packages/rpmlint/configdefaults.toml
/etc/xdg/rpmlint/fedora-spdx-licenses.toml
/etc/xdg/rpmlint/fedora.toml
/etc/xdg/rpmlint/scoring.toml
/etc/xdg/rpmlint/users-groups.toml
/etc/xdg/rpmlint/warn-on-functions.toml
checks: 32, packages: 3
banner.spec: W: no-%check-section
banner.spec: W: no-%check-section
banner.x86_64: E: incorrect-fsf-address /usr/share/licenses/banner/COPYING
2 packages and 1 specfiles checked; 1 errors, 2 warnings, 8 filtered, 1 badness; has taken 0.2 s
Could not execute lint: Failed to execute command.
For what it’s worth, the banner directory doesn’t exist under licenses. Below is the contents of the banner.spec file:
Name: banner
Version: 1.3.6
Release: %autorelease
Summary: Prints a short string to the console in very large letters
License: GPL-2.0-only
URL: https://github.com/pronovic/banner
Source: https://github.com/pronovic/banner/releases/download/BANNER_V%{version}/banner-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: make
%description
This is a classic-style banner program similar to the one found in Solaris or
AIX in the late 1990s. It prints a short string to the console in very large
letters.
%prep
%autosetup
%build
%configure
%make_build
%install
%make_install
%files
%{_bindir}/banner
%{_mandir}/man1/banner.1.*
%license COPYING
%doc AUTHORS ChangeLog README
%changelog
%autochangelog
[SOLVED]
banner.spec: W: no-%check-section
banner.spec: W: no-%check-section
banner.x86_64: E: incorrect-fsf-address /usr/share/licenses/banner/COPYING
2 packages and 1 specfiles checked; 1 errors, 2 warnings, 8 filtered, 1 badness;
To resolve:
banner.spec: W: no-%check-section
Added a %check line to the banner.spec file
To resolve:
banner.x86_64: E: incorrect-fsf-address /usr/share/licenses/banner/COPYING
Opened the banner-1.3.6 tarball and updated the license text of the COPYING file.
Re-zipped the tarball:
tar -czvf banner-1.3.6.tar.gz banner-1.3.6/
Re-ran:
fedpkg --release f43 mockbuild
and
fedpkg --release f43 lint
It now completes without warnings or errors:
Mockbuild results directory found. Linting mockbuild results.
==================================== rpmlint session starts ===================================
rpmlint: 2.8.0
configuration:
/usr/lib/python3.14/site-packages/rpmlint/configdefaults.toml
/etc/xdg/rpmlint/fedora-spdx-licenses.toml
/etc/xdg/rpmlint/fedora.toml
/etc/xdg/rpmlint/scoring.toml
/etc/xdg/rpmlint/users-groups.toml
/etc/xdg/rpmlint/warn-on-functions.toml
checks: 32, packages: 3
2 packages and 1 specfiles checked; 0 errors, 0 warnings, 8 filtered, 0 badness; has taken 0.2 s
