Bug 2584553

Summary: Review Request: mddm-config - Application for configuring the mddm login manager
Product: [Fedora] Fedora Reporter: Shawn W Dunn <sfalken>
Component: Package ReviewAssignee: Neal Gompa <ngompa13>
Status: RELEASE_PENDING --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: ngompa13, package-review
Target Milestone: ---Flags: ngompa13: fedora-review+
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
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:
Bug Depends On: 2582260    
Bug Blocks:    

Description Shawn W Dunn 2026-11-25 22:41:29 UTC
SRPM: https://sfaulken.fedorapeople.org/mddm-config-0.2.1-1.fc46.src.rpm

SPEC: https://sfaulken.fedorapeople.org/mddm-config.spec

FAS Username: sfaulken

A graphical tool to configure the MDDM display manager. It selects the 
greeter theme, with previews, and edits the behavior, autologin and 
advanced options of MDDM.


Reproducible: Always

Comment 1 Neal Gompa 2026-11-25 22:42:06 UTC
Taking this review.

Comment 2 Neal Gompa 2026-11-25 23:02:53 UTC
Initial spec review:

> %if %{without kcm}
> %global debug_package %{nil}
> %endif

This seems to be related to the mess around whether it is archful or not...

I'm not sure the way this package is structured is a good idea. Unfortunately, we can't declare the binary package with the same name as the source package to fix this.

Is there a way to make the source package and binary package names different? Then we can drop this weird handling for noarch/archful primary package.

Either way, since you have a "BuildArch: noarch" conditionally used, you don't need the "%debug_package %nil" stanza at all, since the former implies the latter anyway.

> %if %{with kcm}
> Requires:       (%{name}-kcm if plasma-systemsettings)
> %endif

Does the KCM use the main package stuff? Or could it be split so that there's a -common that the tool and the kcm use?

That would allow this to move to the kcm subpackage and become a "Supplements:" instead.

> %cmake -DWITH_KCM:STRING=%{?with_kcm:ON}%{!?with_kcm:OFF}

Shouldn't this be "BOOL" instead of "STRING"?

Comment 3 Shawn W Dunn 2026-11-25 23:36:37 UTC
SRPM: https://sfaulken.fedorapeople.org/mddm-config-0.2.1-1.fc46.src.rpm

SPEC: https://sfaulken.fedorapeople.org/mddm-config.spec

> > %if %{without kcm}
> > %global debug_package %{nil}
> > %endif

> This seems to be related to the mess around whether it is archful or not...
> 
> I'm not sure the way this package is structured is a good idea. Unfortunately, we can't declare the binary package with the same name as the source package to fix this.
>
>Is there a way to make the source package and binary package names different? Then we can drop this weird handling for noarch/archful primary package.

Done, and dropped, subpackages are now mddm-conf and kcm-mddm

> > %if %{with kcm}
> > Requires:       (%{name}-kcm if plasma-systemsettings)
> > %endif

> Does the KCM use the main package stuff? Or could it be split so that there's a -common that the tool and the kcm use?

> That would allow this to move to the kcm subpackage and become a "Supplements:" instead.

> Either way, since you have a "BuildArch: noarch" conditionally used, you don't need the "%debug_package %nil" stanza at all, since the former implies the latter anyway.

Done.  There's no shared code, so a -common subpackage isn't needed

> > %cmake -DWITH_KCM:STRING=%{?with_kcm:ON}%{!?with_kcm:OFF}

> Shouldn't this be "BOOL" instead of "STRING"?

Nope.  WITH_KCM is a tri-state option (AUTO/ON/OFF), The spec always forces ON or OFF so that a missing dep can't silently drop the subpackage.  I can remove the explicit type and just make it %cmake -DWITH_KCM=%{?with_kcm:ON}%{!?with_kcm:OFF} if that reads better

Comment 4 Fedora Review Service 2026-11-26 02:26:18 UTC
The ticket summary is not in the correct format.
Expected:

    Review Request: <main package name here> - <short summary here>

Found:

    mddm-config:  Application for configuring the mddm login manager

As a consequence, the package name cannot be parsed and submitted to
be automatically build. Please modify the ticket summary and trigger a
build by typing [fedora-review-service-build].


---
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 5 Neal Gompa 2026-11-27 15:21:10 UTC
(In reply to Shawn W Dunn from comment #3)
> SRPM: https://sfaulken.fedorapeople.org/mddm-config-0.2.1-1.fc46.src.rpm
> 
> SPEC: https://sfaulken.fedorapeople.org/mddm-config.spec
> 
> > > %if %{without kcm}
> > > %global debug_package %{nil}
> > > %endif
> 
> > This seems to be related to the mess around whether it is archful or not...
> > 
> > I'm not sure the way this package is structured is a good idea. Unfortunately, we can't declare the binary package with the same name as the source package to fix this.
> >
> >Is there a way to make the source package and binary package names different? Then we can drop this weird handling for noarch/archful primary package.
> 
> Done, and dropped, subpackages are now mddm-conf and kcm-mddm
> 
> > > %if %{with kcm}
> > > Requires:       (%{name}-kcm if plasma-systemsettings)
> > > %endif
> 
> > Does the KCM use the main package stuff? Or could it be split so that there's a -common that the tool and the kcm use?
> 
> > That would allow this to move to the kcm subpackage and become a "Supplements:" instead.
> 
> > Either way, since you have a "BuildArch: noarch" conditionally used, you don't need the "%debug_package %nil" stanza at all, since the former implies the latter anyway.
> 
> Done.  There's no shared code, so a -common subpackage isn't needed
> 
> > > %cmake -DWITH_KCM:STRING=%{?with_kcm:ON}%{!?with_kcm:OFF}
> 
> > Shouldn't this be "BOOL" instead of "STRING"?
> 
> Nope.  WITH_KCM is a tri-state option (AUTO/ON/OFF), The spec always forces
> ON or OFF so that a missing dep can't silently drop the subpackage.  I can
> remove the explicit type and just make it %cmake
> -DWITH_KCM=%{?with_kcm:ON}%{!?with_kcm:OFF} if that reads better

Nah, it's fine. Since it's a tri-state, it's no big deal.

Comment 6 Neal Gompa 2026-11-27 15:23:51 UTC
More spec feedback:

> Requires:       kf6-kauth
> Requires:       kf6-kcmutils
> Requires:       kf6-kirigami

This these are linked at runtime, shouldn't this get expressed as automatic dependencies?

> Requires:       polkit

I think this actually requires PolicyKit-authentication-agent as well, right?


> Supplements:    (mddm-conf and plasma-systemsettings)

If there's no shared code, shouldn't this just be "Supplements: (mddm and plasma-systemsettings)"?

Also, you might want to consider moving BRs relevant for each subpackage to the subpackage definition. It reduces the number of conditional stanzas in the spec file and makes it easier to read.

Comment 7 Shawn W Dunn 2026-11-27 17:14:35 UTC
(In reply to Neal Gompa from comment #6)
> More spec feedback:
> 
> > Requires:       kf6-kauth
> > Requires:       kf6-kcmutils
> > Requires:       kf6-kirigami
> 
> This these are linked at runtime, shouldn't this get expressed as automatic
> dependencies?
> 
Yep, the only one I actually *need* depending on the system it's being installed on is kf6-kirigami, fixed.

> > Requires:       polkit
> 
> I think this actually requires PolicyKit-authentication-agent as well, right?
> 
>
Yep, missed this in my testing, as I was using lxqt, which already pulls in lxqt-policykit, and provides the agent
 
> > Supplements:    (mddm-conf and plasma-systemsettings)
> 
> If there's no shared code, shouldn't this just be "Supplements: (mddm and
> plasma-systemsettings)"?
>
Good catch, done.
 
> Also, you might want to consider moving BRs relevant for each subpackage to
> the subpackage definition. It reduces the number of conditional stanzas in
> the spec file and makes it easier to read.
Done.  Also updated to virtual provides where applicable

SRPM: https://sfaulken.fedorapeople.org/mddm-config-0.2.1-1.fc46.src.rpm

SPEC: https://sfaulken.fedorapeople.org/mddm-config.spec

Comment 8 Fedora Review Service 2026-11-27 17:15:28 UTC
The ticket summary is not in the correct format.
Expected:

    Review Request: <main package name here> - <short summary here>

Found:

    mddm-config - Application for configuring the mddm login manager

As a consequence, the package name cannot be parsed and submitted to
be automatically build. Please modify the ticket summary and trigger a
build by typing [fedora-review-service-build].


---
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 9 Neal Gompa 2026-11-27 17:23:25 UTC
Do you want to consider grouping the %package and %files sections together, similar to how lxqt-wayland-session does it[1]? It would further reduce the number of conditionals in the spec...

[1]: https://src.fedoraproject.org/rpms/lxqt-wayland-session/blob/rawhide/f/lxqt-wayland-session.spec

Comment 10 Shawn W Dunn 2026-11-27 17:29:59 UTC
(In reply to Neal Gompa from comment #9)
> Do you want to consider grouping the %package and %files sections together,
> similar to how lxqt-wayland-session does it[1]? It would further reduce the
> number of conditionals in the spec...
> 
> [1]:
> https://src.fedoraproject.org/rpms/lxqt-wayland-session/blob/rawhide/f/lxqt-
> wayland-session.spec

Yeah, actually, I do.

Specfile updated.

SPEC: https://sfaulken.fedorapeople.org/mddm-config.spec

Comment 12 Neal Gompa 2026-11-27 17:40:39 UTC
Review notes:

* Package follows Fedora Packaging Guidelines
* Package follows Fedora Python and KDE packaging guideliens
* Package builds and installs
* No serious issues from rpmlint

PACKAGE APPROVED.

Comment 13 Fedora Admin user for bugzilla script actions 2026-11-27 17:46:24 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/mddm-config
Monitoring:
Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`