[Bug 514065] Review Request: trac-tracnav-plugin - Navigation Bar for Trac

bugzilla at redhat.com bugzilla at redhat.com
Fri Jul 31 19:12:24 UTC 2009


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


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





--- Comment #1 from Dominic Hopf <dmaphy at gmail.com>  2009-07-31 15:12:23 EDT ---
$ rpmlint trac-tracnav-plugin-4.1-1.fc11.src.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

$ rpmlint trac-tracnav-plugin-4.1-1.fc11.noarch.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

MUSTs
-----

OK: packaged is named according to the package naming guidelines
OK: specfile name matches %{name}.spec
OK: package seems to meet packaging guidelines
OK: license in specfile matches actual license and meets licensing guidelines
OK: license file is included in %doc
OK: specfile is written in AE
OK: specfile is legible
OK: sourcefile in the package is the same as provided in the mentioned source,
    md5sum fits
OK: package compiles successfully
OK: all build dependencies are listed in BuildRequires
N/A: package handles locales properly
     there are no locales installed with this package
N/A: call ldconfig in %post and %postun
     there is no binary installed with this package
OK: package is not designed to be relocatable
OK: package owns directorys it creates
OK: does not list a file more than once in the %files listing
OK: %files section includes %defattr and permissions are set properly
OK: %clean section is there and contains rm -rf %{buildroot}
OK: macros are consistently used
OK: package contains code
N/A: subpackage for large documentation files
     there are no large documentation files
OK: program runs properly without files listed in %doc
N/A: header files are in a -devel package
     there are no header files
N/A: static libraries are in a -static package
     there are no static libs
N/A: require pkgconfig if package contains a pkgconfig(.pc)
     there is no pkgconfig file
N/A: put .so-files into -devel package if there are library files with suffix
     there is no library with suffix, in fact there isn't any library
N/A: devel package includes fully versioned dependency for the base package
     there is no devel package
N/A: any libtool archives are removed
     there are no libtool archives
N/A: contains desktop file if it is a GUI application
     I assume this program will be called via webinterface, this may is a GUI,
     but I think a desktop file is not necessary for this kind of GUI
OK: package does not own any files or directories owned by other packages
OK: buildroot is removed at beginning of %install
N/A: filenames are encoded in UTF-8
     not necessary since there are no non-ASCII filenames


SHOULD
------
N/A: non-English translations for description and summary
     there are no other languages supported by this package, in fact it does
not
     provide any localization. I assume localizations are not needed for this
     package.
OK: package builds in mock
N/A: package builds into binary rpms for all supported architectures
     this is a noarch package
N/A: program runs
     I did not test myself if the program works as it should since I do not
have
     installed trac and don't use it
N/A: subpackages contain fully versioned dependency for the base package
     there are no subpackages
N/A: pkgconfig file is placed in a devel package
     there is no pkgconfig file
N/A: require package providing a file instead of the file itself
     no files outside of /etc, /bin, /sbin, /usr/bin, or /usr/sbin are required

Issues I found:
According to [1] %global is preferred over %define, so line 3 should be changed
to %global.

Try to bail out the 80 chars in the description.

I don't like the %{python_sitelib}/* construct in the %files section because it
does not contain any package or module name. Another packager would not see
what
files and/or directories the package exactly includes and has to build and
rpmls
the package first to find this out. I would like to see the module name
mentioned
and would recommend to list the other directory as
%{python_sitelib}/TracNav-4.1-py*.egg-info/ to avoid problems or unneccessary
work with next python update.

[1] https://fedoraproject.org/wiki/PackagingDrafts/global_preferred_over_define

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list