Bug 691195
Summary: | Review Request: wmnet - Network monitoring dockapp | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mario Blättermann <mario.blaettermann> |
Component: | Package Review | Assignee: | Mohamed El Morabity <pikachu.2014> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | fedora-package-review, martin.gieseking, notting, pikachu.2014 |
Target Milestone: | --- | Flags: | pikachu.2014:
fedora-review+
gwync: fedora-cvs+ |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | wmnet-1.06-5.fc16 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-12-23 03:28:58 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mario Blättermann
2011-03-27 13:54:41 UTC
Oops, there is problem with the debug package: wmnet-debuginfo.i686: E: debuginfo-without-sources This debuginfo package appears to contain debug symbols but no source files. This is often a sign of binaries being unexpectedly stripped too early during the build, or being compiled without compiler debug flags (which again often is a sign of distro's default compiler flags ignored which might have security consequences), or other compiler flags which result in rpmbuild's debuginfo extraction not working as expected. Verify that the binaries are not unexpectedly stripped and that the intended compiler flags are used. The README from the tarball says: TO INSTALL from tar.gz: tar xfzv wmnet-1.06.tar.gz cd wmnet-1.06 xmkmf make strip wmnet make install make install.man I haven't applied the recommended "strip wmnet" call for the package build, and "make" is called with the optflags macro. How can I make rpmlint happy again...? (In reply to comment #1) > I haven't applied the recommended "strip wmnet" call for the package build, and > "make" is called with the optflags macro. How can I make rpmlint happy > again...? You must ensure that the %optflags are applied. The default CFLAGS defined in the Makefile don't contain gcc switch -g so that no debug info is generated. Replace OPTS with CFLAGS to fix that. Some further notes: - The upstream location seems to be http://www.katharineosborne.com/wmnet. They also provide the latest version even if it's not listed on the website: http://www.katharineosborne.com/wmnet/wmnet-1.06.tar.gz - Since there's no hint about the GPL version in the sources, the license tag would be GPL. However, wmnet relies on getopt (LGPLv2+) linked to the binary. Thus, the GPL license of wmnet must be at least version 2. You should get a confirmation from upstream (if still reachable) about that. - I recommend to remove the bundled getopt sources and use Fedora's ones instead. Just add "rm -f getopt*" to %prep. - Either use %optflags and %buildroot or $RPM_OPT_FLAGS and $RPM_BUILD_ROOT. Don't mix them. - add INSTALL="install -p" to the make statements in order to preserve the timestamps (especially those of the manpage). Thanks for your hints. The new files: Spec URL: http://dl.dropbox.com/u/19373040/Fedora/SPECS/wmnet.spec SRPM URL: http://dl.dropbox.com/u/19373040/Fedora/wmnet-1.06-2.fc14.src.rpm Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=2950831 (In reply to comment #2) > - The upstream location seems to be http://www.katharineosborne.com/wmnet. > They also provide the latest version even if it's not listed on the website: > http://www.katharineosborne.com/wmnet/wmnet-1.06.tar.gz > I'm in doubt if this is a real project homepage. However, I've added it to the spec for the time being. > - Since there's no hint about the GPL version in the sources, the license tag > would be GPL. However, wmnet relies on getopt (LGPLv2+) linked to > the binary. Thus, the GPL license of wmnet must be at least version 2. > You should get a confirmation from upstream (if still reachable) about that. The contact links are dead, I don't expect to find a responsible developer anywhere. As I already wrote, we should use GPLv2 here, due to the age of the sources. Or should we keep GPL in general, without versioning? The other things you've mentioned are changed now, and the debug package is OK, no issues from rpmlint anymore. (In reply to comment #3) > I'm in doubt if this is a real project homepage. I'm not sure either, but the name Katharine Osborne is also mentioned in the manpage (as the manpage author) together with her email address. > The contact links are dead, I don't expect to find a responsible developer > anywhere. As I already wrote, we should use GPLv2 here, due to the age of the > sources. Or should we keep GPL in general, without versioning? The License field must contain the license of the binary package. If no GPL version is given, "GPL+" must be used (I forgot the "+" above). As you removed the bundled getopt sources, getopt_long() is taken from the shared glibc library. Thus, the resulting license of the package is indeed GPL+. If getopt were linked statically, we would get GPLv2+. Spec URL: http://dl.dropbox.com/u/19373040/Fedora/SPECS/wmnet.spec SRPM URL: http://dl.dropbox.com/u/19373040/Fedora/wmnet-1.06-3.fc14.src.rpm Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=3029698 I've changed the license according to your hints. A certain font was missing to start wmnet on F15. That's why I've build a new package. Spec URL: http://mariobl.fedorapeople.org/Review/SPECS/wmnet.spec SRPM URL: http://mariobl.fedorapeople.org/Review/SRPMS/wmnet-1.06-4.fc15.src.rpm The package seems quite good at this point. I only have two comments: - you can remove the build root cleaning in %install, unless you plan to provide this package for EPEL5 too: http://fedoraproject.org/wiki/Packaging:Guidelines#BuildRoot_tag - the guidelines recommand to provide a .desktop file to any graphical application: http://fedoraproject.org/wiki/Packaging:Guidelines#Desktop_files I thought it was maybe useless for such an application, but Mandriva provides a desktop file in its wmnet packahg. Thanks for your hints. New files: Spec URL: http://mariobl.fedorapeople.org/Review/SPECS/wmnet.spec SRPM URL: http://mariobl.fedorapeople.org/Review/SRPMS/wmnet-1.06-5.fc15.src.rpm A *.desktop file is unneded for such dockapps. See bug #478744, comment #4. Usually, a Windowmaker dockapp will be started from a script rather than a menu. Unfortunately, I'm currently unable to do a scratch build on Koji, due to an expired certificate. My certificate has been updated, Koji scratch build is here: http://koji.fedoraproject.org/koji/taskinfo?taskID=3528616 Here is the review: +:ok, =:needs attention, -:needs fixing MUST Items: [+] MUST: rpmlint must be run on every package. wmnet.src: W: spelling-error Summary(en_US) dockapp -> dock app, dock-app, paddock wmnet.src: I: enchant-dictionary-not-found de wmnet.src: W: spelling-error %description -l en_US rx -> Rx, ex, r wmnet.src: W: spelling-error %description -l en_US tx -> TX, t, x wmnet.src: W: spelling-error %description -l en_US xload -> load, x load wmnet.src: W: spelling-error %description -l en_US et -> ET, wt, rt wmnet.src: W: spelling-error %description -l en_US al -> AL, la, Al wmnet.src: W: spelling-error %description -l de programm -> program wmnet.x86_64: W: spelling-error Summary(en_US) dockapp -> dock app, dock-app, paddock wmnet.x86_64: W: spelling-error %description -l en_US rx -> Rx, ex, r wmnet.x86_64: W: spelling-error %description -l en_US tx -> TX, t, x wmnet.x86_64: W: spelling-error %description -l en_US xload -> load, x load wmnet.x86_64: W: spelling-error %description -l en_US et -> ET, wt, rt wmnet.x86_64: W: spelling-error %description -l en_US al -> AL, la, Al wmnet.x86_64: W: spelling-error %description -l de programm -> program 3 packages and 0 specfiles checked; 0 errors, 14 warnings. These warnings can be safely ignored. [+] MUST: The package must be named according to the Package Naming Guidelines. [+] MUST: The spec file name must match the base package %{name} [+] MUST: The package must meet the Packaging Guidelines. [+] MUST: The package must be licensed with a Fedora approved license and meet the Licensing Guidelines. [+] MUST: The License field in the package spec file must match the actual license. [+] MUST: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package must be included in %doc. [+] MUST: The spec file must be written in American English. [+] MUST: The spec file for the package MUST be legible. [+] MUST: The sources used to build the package must match the upstream source, as provided in the spec URL. MD5 sum=64e74c37c0cb5fd4fb81cfb0f5c4a264 -> OK [+] MUST: The package must successfully compile and build into binary rpms on at least one supported architecture. [+] MUST: If the package does not successfully compile, build or work on an architecture, then those architectures should be listed in the spec in ExcludeArch. [+] MUST: All build dependencies must be listed in BuildRequires [+] MUST: The spec file MUST handle locales properly. This is done by using the %find_lang macro. [+] MUST: Every binary RPM package which stores shared library files (not just symlinks) in any of the dynamic linker's default paths, must call ldconfig in %post and %postun. [+] MUST: If the package is designed to be relocatable, the packager must state this fact in the request for review [+] MUST: A package must own all directories that it creates. If it does not create a directory that it uses, then it should require a package which does create that directory. [+] MUST: A package must not contain any duplicate files in the %files listing. [+] MUST: Permissions on files must be set properly. Executables should be set with executable permissions, for example. [+] MUST: Each package must consistently use macros, as described in the macros section of Packaging Guidelines. [+] MUST: The package must contain code, or permissible content. This is described in detail in the code vs. content section of Packaging Guidelines. [+] MUST: Large documentation files should go in a doc subpackage. [+] MUST: If a package includes something as %doc, it must not affect the runtime of the application. [+] MUST: Header files must be in a -devel package. [+] MUST: Static libraries must be in a -static package. [+] MUST: If a package contains library files with a suffix (e.g. libfoo.so.1.1), then library files that end in .so (without suffix) must go in a -devel package. [+] MUST: In the vast majority of cases, devel packages must require the base package using a fully versioned dependency: Requires: %{name} = %{version}-%{release} [+] MUST: Packages must NOT contain any .la libtool archives, these should be removed in the spec. [+] MUST: Packages containing GUI applications must include a %{name}.desktop file, and that file must be properly installed with desktop-file-install in the %install section. ->Exception validated here [+] MUST: Packages must not own files or directories already owned by other packages. [+] MUST: All filenames in rpm packages must be valid UTF-8. This package is APPROVED. Mohamed, many thanks for your review. New Package SCM Request ======================= Package Name: wmnet Short Description: Network monitoring dockapp Owners: mariobl Branches: f15 f16 Git done (by process-git-requests). wmnet-1.06-5.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/wmnet-1.06-5.fc16 wmnet-1.06-5.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/wmnet-1.06-5.fc15 wmnet-1.06-5.fc15 has been pushed to the Fedora 15 testing repository. wmnet-1.06-5.fc15 has been pushed to the Fedora 15 stable repository. wmnet-1.06-5.fc16 has been pushed to the Fedora 16 stable repository. |