https://bugzilla.redhat.com/show_bug.cgi?id=2294337
--- Comment #4 from Petr Pisar ppisar@redhat.com --- URL and Source addresses are OK. Source archive (SHA-512 f5973480a383b23d45a469df3b438ee2d66ab27096ef2f616205502a717991adf79c278ecf38acff1036ff83b76485b66488d2284a05cc0ef9a1484984bf3d5e) is original. Ok. Summary is Ok. Description is Ok. License verified from COPYING. Ok. No XS code, noarch BuildArch is Ok.
FIX: Do not build-require 'perl'. It's not used at build-time. FIX: Package COPYING file with %license macro. That's the only file which declares the license.
$ rpmlint clean-rpm-gpg-pubkey.spec ../SRPMS/clean-rpm-gpg-pubkey-0-1.20210505gitebb9ab1.fc41.src.rpm ../RPMS/noarch/clean-rpm-gpg-pubkey-0-1.20210505gitebb9ab1.fc41.noarch.rpm ======================================== rpmlint session starts ======================================= rpmlint: 2.5.0 configuration: /usr/lib/python3.13/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora-legacy-licenses.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
clean-rpm-gpg-pubkey.noarch: W: no-manual-page-for-binary clean-rpm-gpg-pubkey clean-rpm-gpg-pubkey.spec: W: no-%build-section clean-rpm-gpg-pubkey.spec: W: no-%build-section clean-rpm-gpg-pubkey.spec:10: W: mixed-use-of-spaces-and-tabs (spaces: line 2, tab: line 10) clean-rpm-gpg-pubkey.spec:10: W: mixed-use-of-spaces-and-tabs (spaces: line 2, tab: line 10) === 2 packages and 1 specfiles checked; 0 errors, 5 warnings, 6 filtered, 0 badness; has taken 0.3 s ==
FIX: Normalize white spaces in the spec file.
$ rpm -q -lv -p ../RPMS/noarch/clean-rpm-gpg-pubkey-0-1.20210505gitebb9ab1.fc41.noarch.rpm -rwxr-xr-x 1 root root 2952 Jun 26 02:00 /usr/bin/clean-rpm-gpg-pubkey drwxr-xr-x 2 root root 0 Jun 26 02:00 /usr/share/doc/clean-rpm-gpg-pubkey -rw-r--r-- 1 root root 812 May 5 2021 /usr/share/doc/clean-rpm-gpg-pubkey/README.md drwxr-xr-x 2 root root 0 Jun 26 02:00 /usr/share/licenses/clean-rpm-gpg-pubkey -rw-r--r-- 1 root root 35147 May 5 2021 /usr/share/licenses/clean-rpm-gpg-pubkey/COPYING.GPL File layout and permissions are Ok.
$ rpm -q --requires -p ../RPMS/noarch/clean-rpm-gpg-pubkey-0-1.20210505gitebb9ab1.fc41.noarch.rpm | sort -f | uniq -c 1 /usr/bin/curl 1 /usr/bin/gpg2 1 /usr/bin/perl 1 /usr/bin/rpm 1 fedora-repos 1 perl(File::Temp) 1 perl(Getopt::Long) 1 perl(IO::File) 1 perl(POSIX) 1 perl(strict) 1 perl(warnings) 1 rpmlib(CompressedFileNames) <= 3.0.4-1 1 rpmlib(FileDigests) <= 4.6.0-1 1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 1 rpmlib(PayloadIsZstd) <= 5.4.18-1 FIX: Run-require "fedora-release-common" (clean-rpm-gpg-pubkey:33).
$ rpm -q --provides -p ../RPMS/noarch/clean-rpm-gpg-pubkey-0-1.20210505gitebb9ab1.fc41.noarch.rpm | sort -f | uniq -c 1 clean-rpm-gpg-pubkey = 0-1.20210505gitebb9ab1.fc41 Binary provides are Ok.
$ resolvedeps rawhide ../RPMS/noarch/clean-rpm-gpg-pubkey-0-1.20210505gitebb9ab1.fc41.noarch.rpm Binary dependencies are resolvable. Ok.
The package builds in Fedora 41 (https://koji.fedoraproject.org/koji/taskinfo?taskID=119629819). Ok.
Otherwise, the package is in-line with Fedora and Perl packaging guidelines.
Please correct the FIX items and provide an updated spec file.