[Bug 1873199] Review Request: malcontent - Parental controls implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #8 from Bastien Nocera <bnocera@xxxxxxxxxx> ---
(In reply to Kalev Lember from comment #7)
> I don't think there's any requirement for shipping a docs within all
> subpackages. It's just dumb rpmlint warning about not having docs and that
> warning is fine to ignore. rpmlint output doesn't 100% match our packaging
> guidelines and best practices.
> 
> What stand-alone subpackages need to have is a license file specified with
> %license (which they already have).
> 
> 
> I do have some other random comments here I noticed while going through the
> spec file:
> 
> 
> > Requires: gnome-user-docs
> 
> Why is this hard dep necessary? It seems wrong from minimization point of
> view to drag in an unrelated docs package if one just wants to install the
> library.

It was so that the /usr/share/help sub-directories were created. I've tried to
fix that up
in the latest version. Let me know if you wanted it done some other way, I
couldn't actually find examples in the checked out packages.

> > %package ui-devel
> > Summary:        Development files for libmalcontent-ui
> > License:        LGPLv2+
> > Requires:       %{name}-ui-libs%{?_isa} = %{version}-%{release}
> > Requires:       pkgconfig(gtk+-3.0)
> 
> I don't think you need to manually specify 'Requires: pkgconfig(gtk+-3.0)'
> as it's normally automatically generated based on the .pc file. If that
> doesn't happen, it's probably a bug in the .pc file.

OK, removed.

> 
> > Requires:       gobject-introspection-devel
> 
> Instead of this, please just use multiple directory ownership for the gir
> directories as we do in other gnome packages instead of hard-depending on
> gobject-introspection-devel.

Done.

> 
> > %package ui-libs
> > Summary:        Libraries for %{name}
> > License:        LGPLv2+
> > Requires:       gobject-introspection
> 
> Same thing here, please just use multiple directory ownership for the gir
> directories.
> 
> 
> I see that you are specifying "License: LGPLv2+" in all subpackages. This is
> fine, but unnecessary: it's enough to just specify it for the main package
> and then all subpackages inheriy the license tag of the main packages.

OK.

> > %check
> > desktop-file-validate %{buildroot}%{_datadir}/applications/org.freedesktop.MalcontentControl.desktop
> 
> It should also have appdata validation here.

Done, but disabled for now:
https://gitlab.freedesktop.org/pwithnall/malcontent/-/issues/23

> > %ldconfig_scriptlets libs
> > %ldconfig_scriptlets ui-libs
> 
> These are not needed in current Fedora versions and can just go (they
> evaluate to nothing). We have ldconfig triggers in place that automatically
> rebuild the ldconfig cache.

Done.

> > %{_mandir}/man8/malcontent-client.8.gz
> 
> Can you use malcontent-client.8* glob here? This works better for flatpak
> builds that don't currently have man page compression applied.

Sure.

Scratch build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=50946663

-4 version copied to the same URL.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux