https://bugzilla.redhat.com/show_bug.cgi?id=809950 --- Comment #39 from Andy Grimm <agrimm@xxxxxxxxx> --- Package Review ============== Key: - = N/A x = Pass ! = Fail ? = Not evaluated ==== Generic ==== [x]: EXTRA Rpmlint is run on all installed packages. gradle.src: W: spelling-error %description -l en_US multi -> mulch, mufti gradle.noarch: E: explicit-lib-dependency aqute-bndlib gradle.noarch: E: devel-dependency java-devel gradle.noarch: W: spelling-error %description -l en_US multi -> mulch, mufti gradle.noarch: W: dangling-symlink /usr/share/gradle/lib/guava-11.0.1.jar /usr/share/java/guava.jar <many more dangling symlinks omitted here> gradle.noarch: W: no-manual-page-for-binary gradle gradle.noarch: W: class-path-in-manifest /usr/share/gradle/lib/gradle-launcher-1.0.jar [x]: EXTRA Spec file according to URL is the same as in SRPM. [x]: MUST Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. [x]: MUST Package successfully compiles and builds into binary rpms on at least one supported primary architecture. [x]: MUST %build honors applicable compiler flags or justifies otherwise. [x]: MUST All build dependencies are listed in BuildRequires, except for any that are listed in the exceptions section of Packaging Guidelines. [x]: MUST Buildroot is not present [!]: MUST Package contains no bundled libraries. [1] [x]: MUST Changelog in prescribed format. [x]: MUST Package has no %clean section with rm -rf %{buildroot} (or $RPM_BUILD_ROOT) [x]: MUST Sources contain only permissible code or content. [-]: MUST Each %files section contains %defattr if rpm < 4.4 [x]: MUST Macros in Summary, %description expandable at SRPM build time. [x]: MUST Package contains desktop file if it is a GUI application. [-]: MUST Development files must be in a -devel package [x]: MUST Package requires other packages for directories it uses. [x]: MUST Package uses nothing in %doc for runtime. [x]: MUST Package is not known to require ExcludeArch. [x]: MUST Permissions on files are set properly. [x]: MUST Package does not contain duplicates in %files. [x]: MUST Package complies to the Packaging Guidelines [x]: MUST Spec file lacks Packager, Vendor, PreReq tags. [x]: MUST Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. [-]: MUST Large documentation files are in a -doc subpackage, if required. [x]: 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 is included in %doc. [x]: MUST License field in the package spec file matches the actual license. [1] [x]: MUST Package consistently uses macros (instead of hard-coded directory names). [x]: MUST Package is named using only allowed ascii characters. [x]: MUST Package is named according to the Package Naming Guidelines. [x]: MUST Package does not generate any conflict. [x]: MUST Package obeys FHS, except libexecdir and /usr/target. [!]: MUST Package must own all directories that it creates. [2] [x]: MUST Package does not own files or directories owned by other packages. [x]: MUST Package installs properly. [x]: MUST Package is not relocatable. [x]: MUST Requires correct, justified where necessary. [x]: MUST Rpmlint is run on all rpms the build produces. [x]: MUST Sources used to build the package match the upstream source, as provided in the spec URL. source sha1sum: b0ba4c333e600b28daa9938f0b775ed10d42745b gradle-1.0-src.zip upstream sha1sum: b0ba4c333e600b28daa9938f0b775ed10d42745b gradle-1.0-src.zip [x]: MUST Spec file is legible and written in American English. [x]: MUST Spec file name must match the spec package %{name}, in the format %{name}.spec. [-]: MUST Package contains systemd file(s) if in need. [x]: MUST File names are valid UTF-8. [x]: SHOULD Reviewer should test that the package builds in mock. [-]: SHOULD If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it. [x]: SHOULD Dist tag is present. [x]: SHOULD No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [x]: SHOULD Final provides and requires are sane (rpm -q --provides and rpm -q --requires). [x]: SHOULD Package functions as described. [!]: SHOULD Latest version is packaged. [3] [x]: SHOULD Package does not include license text files separate from upstream. [!]: SHOULD SourceX / PatchY prefixed with %{name}. [4] [x]: SHOULD SourceX is a working URL. [-]: SHOULD Description and summary sections in the package spec file contains translations for supported Non-English languages, if available. [x]: SHOULD Package should compile and build into binary rpms on all supported architectures. [-]: SHOULD %check is present and all tests pass. [x]: SHOULD Packages should try to preserve timestamps of original installed files. [x]: SHOULD Spec use %global instead of %define. ==== Java ==== [!]: MUST If source tarball includes bundled jar/class files these need to be removed prior to building [1] [x]: MUST Packages have proper BuildRequires/Requires on jpackage-utils [-]: MUST Fully versioned dependency in subpackages, if present. [x]: MUST Javadoc documentation files are generated and included in -javadoc subpackage [x]: MUST Javadoc subpackages have Requires: jpackage-utils [x]: MUST Javadocs are placed in %{_javadocdir}/%{name} (no -%{version} symlink) [x]: SHOULD Package has BuildArch: noarch (if possible) [x]: SHOULD Package uses upstream build method (ant/maven/etc.) Issues: [1] There are various bundled jars: * gradle-1.0/subprojects/docs/src/samples/webApplication/customised/lib/* * gradle-1.0/gradle/wrapper/gradle-wrapper.jar [2] There are several unowned directories: * file /usr/share/java/gradle is not owned by any package * file /usr/share/gradle/bin is not owned by any package * file /usr/share/gradle/media is not owned by any package * file /usr/share/gradle/lib is not owned by any package [3] The latest version is 1.2, but this was released just a week ago, well after this packaging work was done. I think we can hold off on 1.2 until Fedora 19. [4] Patches use names generated from git, which do not follow the Fedora guidelines. I understand the rationale for this naming pattern, but I think the guidelines require prefixes so that users of "rpmbuild" can easily clean up their SOURCES directory. Please bring it up on the packaging list if you'd like to see the guidelines change. [5] The Java guidelines require arch-independent JARs to go under %_javadir, not %_datadir. typically this is resolved by using symlinks in %_datadir (as is already done for dependency jars outside the package) Other Notes: * Is there are reason within the application that LICENSE / NOTICE / etc. are in /usr/share/gradle rather than %docdir ? -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review