Bug 2347045 - Review Request: flatpak-app-config - Additional configuration files for Fedora Flatpak applications
Summary: Review Request: flatpak-app-config - Additional configuration files for Fedor...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-21 22:05 UTC by Yaakov Selkowitz
Modified: 2025-03-24 18:01 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-03-24 18:01:02 UTC
Type: ---
Embargoed:
ngompa13: fedora-review+


Attachments (Terms of Use)

Description Yaakov Selkowitz 2025-02-21 22:05:36 UTC
Spec URL: https://yselkowitz.fedorapeople.org/flatpak-app-config.spec
SRPM URL: https://yselkowitz.fedorapeople.org/flatpak-app-config-41-1.fc43.src.rpm
Description: This package includes configuration files that are installed into select flatpak applications during the building process.  (This is intended as a flatpak-specific package, and will only be built to flatpak tags.)
Fedora Account System Username: yselkowitz

Comment 1 Neal Gompa 2025-02-22 17:03:13 UTC
Taking this review.

Comment 2 Neal Gompa 2025-02-22 17:06:01 UTC
Initial spec review:

> %{-i:Source: %{appid}.appdata.xml}\

This is too close to conditional sources for my liking. We don't allow sources to be conditional in a spec file, they need to be unconditionally included in the SRPM. Please pull this out and use regular Source lines.

> %define app_subpkg(n:i:) \

Wouldn't this make sense as an RPM macro that is used in the actual utility and library packages?

> Supplements: (%{pkgname} and flatpak-runtime-config)\

Does this work in the flatpak build environment?

Comment 3 Yaakov Selkowitz 2025-02-24 01:29:05 UTC
This form of macro is used when packages need to create a large number of similar subpackages and avoid the boilerplate that usually entails.  This package will be expanded as needed, hence I am building in flexibility now; not necessarily will every subpackage need to include an appdata file, even though this first batch does.  However, this is not a case of "conditional sources"; the SRPM will be identical regardless of which release/branch you build it.  It would only be "conditional sources" if the %app_subpkg calls or -i flags therein would be conditional, which these are not, nor do I see a need for such.

Comment 4 Yaakov Selkowitz 2025-03-24 16:18:58 UTC
Spec URL: https://yselkowitz.fedorapeople.org/flatpak-app-config.spec
SRPM URL: https://yselkowitz.fedorapeople.org/flatpak-app-config-42-1.fc43.src.rpm
Description: This package includes configuration files that are installed into select flatpak applications during the building process.  (This is intended as a flatpak-specific package, and will only be built to flatpak tags.)
Fedora Account System Username: yselkowitz

Comment 5 Yaakov Selkowitz 2025-03-24 16:19:59 UTC
This is more complete, and hopefully gives a better idea of why things are designed as they are.

Comment 6 Fedora Review Service 2025-03-24 16:30:01 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8813225
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2347045-flatpak-app-config/fedora-rawhide-x86_64/08813225-flatpak-app-config/fedora-review/review.txt

Please take a look if any issues were found.


---
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 7 Neal Gompa 2025-03-24 17:15:57 UTC
Okay, this package looks fine(ish).

Review notes:

* Follows packaging guidelines
* Licensing is correct
* No serious notes from fedora-review and rpmlint

PACKAGE APPROVED.

Comment 8 Fedora Admin user for bugzilla script actions 2025-03-24 17:20:15 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/flatpak-app-config

Comment 9 Yaakov Selkowitz 2025-03-24 18:01:02 UTC
Thanks.  This is a flatpak-specific package, so it won't get any errata of its own; closing.


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