Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 201470 - Review Request: genchemlab
Summary: Review Request: genchemlab
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: cq92j9y+rlkr0w
QA Contact: Fedora Package Reviews List
Depends On:
TreeView+ depends on / blocked
Reported: 2006-08-05 23:07 UTC by Paul F. Johnson
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-08-09 20:08:47 UTC
Type: ---

Attachments (Terms of Use)

Description Paul F. Johnson 2006-08-05 23:07:15 UTC
Spec URL:

genchemlab is an OpenGL application which simulates a number of different chemistry lab practicals, but allows the user to alter the parameters

Comment 1 cq92j9y+rlkr0w 2006-08-06 00:18:40 UTC
Hi Paul,

* Your package must own %{_datadir}/%{name}.
* Why do you use 'strip' in %install? Because of this the -debug rpm is empty.
* There are a couple of warnings from desktop-file-install that can be easily fixed:
  - warning: file contains key "DocPath", this key is currently reserved for use
within KDE, and should in the future KDE releases be prefixed by "X-"
  - warning: boolean key "Terminal" has value "0", boolean values should be
"false" or "true", although "0" and "1" are allowed in this field for backwards

Comment 2 Paul F. Johnson 2006-08-06 00:32:38 UTC
Okay, fixed the first one. Nice and simple.

The strip is there as rpmlint was moaning that the binary had not been stripped.
Not sure how to fix the last two, unless it's KDE being stupid. The spec file
has X-Fedora already in it. I think the second warning can be ignored.

Spec URL:

has the update

Comment 3 cq92j9y+rlkr0w 2006-08-06 01:00:15 UTC

I tried removing the 'strip' line and rpmlint didn't complain about anything (I
ran rpmlint both on the .rpm and installed package). This change, as expected,
allowed the -debug package to be correctly created.
By the way, I'm using rpmlint-0.77-1.fc6.

The desktop-file-install warnings are not serious, but I don't think it'd be a
lot of trouble to fix them (maybe with some sed magic).

Comment 4 Paul F. Johnson 2006-08-06 10:04:24 UTC
Spec URL:

removed the strip
added a patch for the desktop file - it was easier to patch than use sed

Comment 5 cq92j9y+rlkr0w 2006-08-06 12:52:14 UTC
I'll do a formal review in a bit.

Comment 6 cq92j9y+rlkr0w 2006-08-09 03:10:57 UTC
Hi Paul,

* The .spec file you're linking to is not the same included in the .src.rpm.
Anyway, I'm reviewing the one from the source rpm.
* %{?smp_flags} should be %{?_smp_mflags}.
* It seems a common practice in Extras is to use "" as value
for the 'Source' tag instead of a mirror. This is not a blocker, though.

Everything else looks fine.
Fix the _smp_mflags typo and I'll approve this package.

REVIEW (genchemlab-1.0-3)

+ rpmlint shows no error.
+ package meets the naming guidelines.
+ spec-file is properly named.
X package doesn't meet the packaging guidelines
    - Parallel make macro should be %{?_smp_mflags} not %{?smp_flags} :)
+ package license is open-source compatible (GPL).
+ license field matches the actual license.
+ license file included in %doc.
+ spec file is written in english.
+ spec file is legible.
+ source files match upstream:
  ef364cff3f3e2dba4c62a5d1a0084bae  genchemlab-1.0.tgz
+ package successfully compiled, built and tested on i386 (rawhide).
+ all build dependencies are listed in BuildRequires.
+ package doesn't need to use %find_lang (no locales present).
+ package doesn't contain shared libraries.
+ package isn't relocatable.
+ package owns all directories that it creates.
+ no duplicate files in %files.
+ file permissions are properly set.
+ package has a %clean section containing rm -rf %{buildroot}.
+ package uses macros consistently.
+ package contains code, not content.
+ no -doc subpackage needed.
+ %docs don't affect application runtime.
+ package doesn't contain headers, static libraries or pkgconfig files (no devel
+ GUI application; includes .desktop file installed correctly with
+ package doesn't own directories owned by other packages.
+ package builds fine in mock (fedora-development-i386-core).

Comment 7 Paul F. Johnson 2006-08-09 11:08:18 UTC
Spec URL:

Fixed the _smp_mflags thing

* It seems a common practice in Extras is to use "" as value
for the 'Source' tag instead of a mirror. This is not a blocker, though.

sourceforge enjoys acting up on occassion which is why I always give a direct
link to the ftp place which has the tarball

Comment 8 cq92j9y+rlkr0w 2006-08-09 19:48:28 UTC
Review (genchemlab-1.0-4)

< X package doesn't meet the packaging guidelines
> + package meets the packaging guidelines

APPROVED then :)

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