Bug 2362330

Summary: Review Request: kde-release-keyring - Includes all keys that have been used for releasing KDE software
Product: [Fedora] Fedora Reporter: marcdeop
Component: Package ReviewAssignee: Neal Gompa <ngompa13>
Status: RELEASE_PENDING --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bjorn, ngompa13, package-review
Target Milestone: ---Flags: ngompa13: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
URL: https://invent.kde.org/sysadmin/%{base_name}/
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description marcdeop 2025-04-25 15:19:09 UTC
Spec URL: https://marcdeop.fedorapeople.org/kde-release-keyring.spec
SRPM URL: https://marcdeop.fedorapeople.org/kde-release-keyring-0~git20250403.ae8f4d5-6.fc42.src.rpm
Description: Includes all keys that have been used for releasing KDE software
Fedora Account System Username: marcdeop

Comment 1 Fedora Review Service 2025-04-25 15:22:17 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8967583
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2362330-kde-release-keyring/fedora-rawhide-x86_64/08967583-kde-release-keyring/fedora-review/review.txt

Found issues:

- Not a valid SPDX expression 'License: CC0-1.0'.
  Read more: https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1

Please know that there can be false-positives.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Neal Gompa 2025-04-25 15:46:58 UTC
Taking this review.

Comment 3 Neal Gompa 2025-04-25 15:52:04 UTC
Spec review:

> # Without this build fails with Empty %files file {..}/debugsourcefiles.list
> %global debug_package %{nil}

Set "BuildArch: noarch" instead in your spec file. There's no arch-specific content in here anyway.

> Summary: Includes all keys that have been used for releasing KDE software

Needs a tighter summary that explains what this is.

Suggestion: "Keyring of signing keys from KDE community members"

> Source0: https://invent.kde.org/sysadmin/%{base_name}/-/archive/%{commit}/%{base_name}-%{shortcommit}.tar.gz

DRY: "%{url}/-/archive/%{commit}/%{base_name}-%{shortcommit}.tar.gz"

> install -m644 -p -D %{base_name}.asc %{buildroot}%{_datadir}/kde/%{base_name}.asc

No. This should be "%{_datadir}/%{name}/" instead of "%{_datadir}/kde/".

We also should install all the individual keys that make up the keyring in a subfolder.

Comment 4 Neal Gompa 2025-04-25 15:52:39 UTC
Legal review:

> License: CC0-1.0

While permitted since this isn't code, you still need to install the license file.

Comment 5 marcdeop 2025-04-25 16:47:30 UTC
Requested changes have been implemented

Comment 6 Neal Gompa 2025-04-27 17:44:08 UTC
> * Fri Apr 25 2025 Marc Deop i Argemí <marcdeop> - 0.1.0?gitae8f4d5-3

The version-release needs to match the actual verrel of the package.

Use something like "rpmdev-bumpspec" to generate the verrel if you don't want to construct it manually.

Comment 7 marcdeop 2025-04-27 18:17:54 UTC
Updated!

Comment 8 Björn Persson 2025-04-30 13:32:59 UTC
release-keyring.asc shouldn't have the suffix ".asc" because it's not ASCII-armored. It's a keybox file, so the suffix should be ".kbx" (unless you drop that file and package only the separate key files). There may not be any software that cares about the suffix, but humans who see ".asc" will expect an ASCII-armored file.

Comment 9 marcdeop 2025-04-30 15:02:29 UTC
You are right @Björn Persson

Updated the spec file accordingly

Comment 10 marcdeop 2025-05-05 17:25:01 UTC
Added additional fixes. Mostly versioning and changelogs adjustments

Comment 11 Neal Gompa 2025-05-05 18:17:21 UTC
Review notes:

* Package follows Fedora packaging guidelines
* Package licensing is correct and license file is installed
* Package builds and installs
* No serious issues from rpmlint

PACKAGE APPROVED.

Comment 12 Fedora Admin user for bugzilla script actions 2025-05-10 16:12:42 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/kde-release-keyring