[Bug 226458] Merge Review: system-config-keyboard

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 22 02:34:56 UTC 2007


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Merge Review: system-config-keyboard


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


kevin at tummy.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|nobody at fedoraproject.org    |kevin at tummy.com
               Flag|                            |fedora-review?




------- Additional Comments From kevin at tummy.com  2007-03-21 22:34 EST -------

OK - Package meets naming and packaging guidelines
OK - Spec file matches base package name.
OK - Spec has consistant macro usage.
OK - Meets Packaging Guidelines.
OK - License (GPL)
OK - License field in spec matches
See below - License file included in package
OK - Spec in American English
OK - Spec is legible.
See below - Sources match upstream md5sum:
OK - Package needs ExcludeArch
OK - BuildRequires correct
OK - Spec handles locales/find_lang
OK - Package has %defattr and permissions on files is good.
OK - Package has a correct %clean section.
See below - Package has correct buildroot
OK - Package is code or permissible content.
OK - Packages %doc files don't affect runtime.
See below - Package has rm -rf RPM_BUILD_ROOT at top of %install
OK - Package is a GUI app and has a .desktop file
OK - Package compiles and builds on at least one arch.
OK - Package has no duplicate files in %files.
See below - Package doesn't own any directories other packages own.
OK - Package owns all the directories it creates.
See below - No rpmlint output.
OK - final provides and requires are sane.

SHOULD Items:

OK - Should build in mock.
OK - Should build on all supported archs
OK - Should have dist tag
OK - Should package latest version
11 outstanding bugs - check for outstanding bugs on package.

Issues:

1. Some of the translation files say:
po/lt.po:# This file is distributed under the same license as the PACKAGE package.
Would be nice to say "system-config-date" there instead of PACKAGE?

2. Since redhat/fedora is upstream for this package, can you add
a note as suggested in:
http://www.fedoraproject.org/wiki/Packaging/SourceURL#head-413e1c297803cfa9de0cc4c56f3ac384bff5dc9e

3. Please use one of the preferred buildroots, such as:
   %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

4. The desktop file is missing a valid Main Category, see:
http://standards.freedesktop.org/menu-spec/latest/apa.html
Suggest: System or Settings be added.
Without this, this tool shows up under a "Other" menu in Xfce.

5. Is the "ExclusiveOS: Linux" line needed?

6. Should add a
rm -rf $RPM_BUILD_ROOT
to the top of the %install section.

7. The URL points to a 404 page. Is there some better URL it could point to?

8. 11 outstanding bugs. Some look packaging related. For example:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=177301
Could be fixed by adding "Requires: newt kudzu"

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=231366
Could be fixed by removing "Requires: firstboot"

Are there any other Requires that should be adjusted?

9. Are these build warnings something to be fixed?

NOTICE: po//ku.po is not in UTF-8 but ASCII, converting...
NOTICE: po//sq.po is not in UTF-8 but ASCII, converting...
NOTICE: po//si.po is not in UTF-8 but ASCII, converting...
NOTICE: po//he.po is not in UTF-8 but ASCII, converting...

msgfmt --statistics --verbose -o bs.mo bs.po
3 translated messages, 1 fuzzy translation, 8 untranslated messages.
msgfmt --statistics --verbose -o he.mo he.po
0 translated messages, 12 untranslated messages.
msgfmt --statistics --verbose -o hy.mo hy.po
0 translated messages, 12 untranslated messages.
msgfmt --statistics --verbose -o kn.mo kn.po
0 translated messages, 12 untranslated messages.
msgfmt --statistics --verbose -o ku.mo ku.po
0 translated messages, 12 untranslated messages.
msgfmt --statistics --verbose -o lo.mo lo.po
0 translated messages, 12 untranslated messages.
msgfmt --statistics --verbose -o mn.mo mn.po
9 translated messages, 3 fuzzy translations.
msgfmt --statistics --verbose -o my.mo my.po
0 translated messages, 12 untranslated messages.

msgfmt --statistics --verbose -o si.mo si.po
0 translated messages, 12 untranslated messages.

msgfmt --statistics --verbose -o sq.mo sq.po
0 translated messages, 12 untranslated messages.
msgfmt --statistics --verbose -o vi.mo vi.po
9 translated messages, 3 fuzzy translations.
/var/tmp/system-config-keyboard-1.2.11-root/usr/share/applications/system-config-keyboard.desktop:
warning: The 'Application' category is not defined by the desktop entry
specification.  Please use one of "AudioVideo", "Audio", "Video", "Development",
"Education", "Game", "Graphics", "Network", "Office", "Settings", "System",
"Utility" instead

rpmlint says:

10.
E: system-config-keyboard obsolete-not-provided kbdconfig
E: system-config-keyboard obsolete-not-provided redhat-config-keyboard
W: system-config-keyboard unversioned-explicit-obsoletes kbdconfig
W: system-config-keyboard unversioned-explicit-obsoletes redhat-config-keyboard

Do these obsoletes still need to hang around?
                                                                        
11. 
W: system-config-keyboard conffile-without-noreplace-flag
/etc/pam.d/system-config-keyboard
W: system-config-keyboard conffile-without-noreplace-flag
/etc/security/console.apps/system-config-keyboard

Should those be noreplace?

12
W: system-config-keyboard no-documentation

I see there's a commented out doc and COPYING file in files section.
Any reason those were removed?

13.
E: system-config-keyboard script-without-shebang
/usr/share/system-config-keyboard/keyboard_tui.py
E: system-config-keyboard script-without-shebang
/usr/share/system-config-keyboard/keyboard_cli.py
E: system-config-keyboard script-without-shebang
/usr/share/system-config-keyboard/keyboard_gui.py
E: system-config-keyboard script-without-shebang
/usr/share/system-config-keyboard/keyboard_backend.py

Should all be mode 644?

14. 
W: system-config-keyboard symlink-should-be-relative
/usr/share/firstboot/modules/keyboard.py
/usr/share/system-config-keyboard/keyboard_gui.py

Use a relative symlink?

15. 
W: system-config-keyboard prereq-use gtk2 >= 2.6

Should gtk2 be a Requires(pre)? Or does it even need to be there?

E: system-config-keyboard no-cleaning-of-buildroot %install

already mentioned.  

17.
W: system-config-keyboard no-%build-section

Could add a dummy %build section?
The spec file does not contain a %build section.  Even if some packages
don't directly need it, section markers may be overridden in rpm's
configuration to provide additional "under the hood" functionality, such as
injection of automatic -debuginfo subpackages.  Add the section, even if
empty.

18. This package owns:
/usr/share/firstboot
/usr/share/firstboot/modules
Shouldn't firstboot own those instead? 


-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the package-review mailing list