https://bugzilla.redhat.com/show_bug.cgi?id=2584553



--- Comment #2 from Neal Gompa <[email protected]> ---
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"?


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2584553

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202584553%23c2

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to