Bug 873793 - Review Request: skb - Simple keyboard layout indicator
Summary: Review Request: skb - Simple keyboard layout indicator
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-06 17:45 UTC by Minh Ngo
Modified: 2013-05-25 14:55 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-25 14:55:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Minh Ngo 2012-11-06 17:45:17 UTC
Spec URL: https://raw.github.com/Ignotus/fedora-packages/d583a04e6a52c060ce558659fa16f79c2d749d6d/skb/skb.spec
SRPM URL: https://dl.dropbox.com/s/nb71cq8gi80bpcb/skb-0.4-1.fc17.src.rpm?dl=1
Description: Simple keyboard layout indicator
Fedora Account System Username: minh

Comment 1 Antonio T. (sagitter) 2012-11-06 19:23:18 UTC
Hi Minh.

Just few comments:

- Why are you not edit %description more explicitly ?
http://fedoraproject.org/wiki/Packaging:Guidelines

- In Source0, you can use this form
http://plhk.ru/static/%{name}/%{name}-0.4.tar.gz

- libX11-devel can be omitted
https://fedoraproject.org/wiki/Packaging/Guidelines#BuildRequires

Comment 2 Minh Ngo 2012-11-06 21:04:22 UTC
>- Why are you not edit %description more explicitly ?

How to edit more explicitly? This utility can only start in daemon or not and shows a keyboard layout :).

> - In Source0, you can use this form

I know about this, but in this case we will have some limitations. For example we cannot easier copy this URL and download the source archive.

> - libX11-devel can be omitted

Okay, I will remove it in the next release

Comment 3 Mario Blättermann 2012-11-07 20:58:08 UTC
Scratch build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=4663991

$ rpmlint -i -v *
skb.src: I: checking
skb.src: I: checking-url http://plhk.ru/ (timeout 10 seconds)
skb.src: I: checking-url http://plhk.ru/static/skb/skb-0.4.tar.gz (timeout 10 seconds)
skb.i686: I: checking
skb.i686: I: checking-url http://plhk.ru/ (timeout 10 seconds)
skb.i686: E: incorrect-fsf-address /usr/share/doc/skb-0.4/LICENSE
The Free Software Foundation address in this file seems to be outdated or
misspelled.  Ask upstream to update the address, or if this is a license file,
possibly the entire file with a new copy available from the FSF.

skb.i686: W: no-manual-page-for-binary skb
Each executable in standard binary directories should have a man page.

skb.x86_64: I: checking
skb.x86_64: I: checking-url http://plhk.ru/ (timeout 10 seconds)
skb.x86_64: E: incorrect-fsf-address /usr/share/doc/skb-0.4/LICENSE
The Free Software Foundation address in this file seems to be outdated or
misspelled.  Ask upstream to update the address, or if this is a license file,
possibly the entire file with a new copy available from the FSF.

skb.x86_64: W: no-manual-page-for-binary skb
Each executable in standard binary directories should have a man page.

skb-debuginfo.i686: I: checking
skb-debuginfo.i686: I: checking-url http://plhk.ru/ (timeout 10 seconds)
skb-debuginfo.i686: E: empty-debuginfo-package
This debuginfo package contains no files.  This is often a sign of binaries
being unexpectedly stripped too early during the build, rpmbuild not being
able to strip the binaries, the package actually being a noarch one but
erratically packaged as arch dependent, or something else.  Verify what the
case is, and if there's no way to produce useful debuginfo out of it, disable
creation of the debuginfo package.

skb-debuginfo.x86_64: I: checking
skb-debuginfo.x86_64: I: checking-url http://plhk.ru/ (timeout 10 seconds)
skb-debuginfo.x86_64: E: empty-debuginfo-package
This debuginfo package contains no files.  This is often a sign of binaries
being unexpectedly stripped too early during the build, rpmbuild not being
able to strip the binaries, the package actually being a noarch one but
erratically packaged as arch dependent, or something else.  Verify what the
case is, and if there's no way to produce useful debuginfo out of it, disable
creation of the debuginfo package.

skb.spec: I: checking-url http://plhk.ru/static/skb/skb-0.4.tar.gz (timeout 10 seconds)
5 packages and 1 specfiles checked; 4 errors, 2 warnings.



Due to that CFLAGS is hardcoded in config.mk, the debuginfo packages are empty.
Call "make" as follows:

make CFLAGS=%{optflags} %{?_smp_mflags}

This should help to fix the issue. Moreover, the %{_prefix} macro is senseless, because it is the default and the Makefile points to /usr anyway.

Regarding the incorrect FSF address: Don't touch it. Just inform the upstream developer about the outdated address so that he can fix it in future releases.

(In reply to comment #1)
> - libX11-devel can be omitted
> https://fedoraproject.org/wiki/Packaging/Guidelines#BuildRequires

No it can't be omitted. It is needed for building the package and is not part of the basic build environment:
http://fedoraproject.org/wiki/Packaging:Guidelines#Exceptions_2

Indeed, the description could be more informative. But the upstream developer is very thriftily with additional info, and there seems to be no package in other distributions where we could borrow the description from. In this case, we can leave it as is. Anyway, if you have some idea to tweak it, do it.

Comment 4 Mario Blättermann 2012-12-27 21:42:14 UTC
Ping...?

Comment 5 Minh Ngo 2012-12-27 21:56:40 UTC
Pong. I'm sorry. I'm busy now, because of exams in the University. I'll fix it later.

Comment 6 Mario Blättermann 2013-05-11 07:54:51 UTC
Almost half a year without any progress. Is this review request still relevant?

Comment 7 Mario Blättermann 2013-05-25 14:55:22 UTC
Still no response for two weeks. That's why I will close this ticket now. Please reopen it once you want to continue working on it.


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