[Bug 225943] Merge Review: jdom

bugzilla at redhat.com bugzilla at redhat.com
Thu Oct 28 13:22:53 UTC 2010


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=225943

--- Comment #2 from Chris Spike <chris.spike at arcor.de> 2010-10-28 09:22:51 EDT ---
=== REQUIRED ITEMS ===
[!]  Rpmlint output:
jdom.src: I: enchant-dictionary-not-found en_US
jdom.src: W: non-standard-group Development/Libraries/Java
jdom.src:179: W: libdir-macro-in-noarch-package (main package)
%attr(-,root,root) %{_libdir}/gcj/%{name}
jdom.src:62: W: mixed-use-of-spaces-and-tabs (spaces: line 37, tab: line 62)
jdom.spec:44: W: non-standard-group Development/Libraries/Java
jdom.spec:77: W: non-standard-group Development/Documentation
jdom.spec:88: W: non-standard-group Development/Libraries/Java
jdom.spec:179: W: libdir-macro-in-noarch-package (main package)
%attr(-,root,root) %{_libdir}/gcj/%{name}
jdom.spec:62: W: mixed-use-of-spaces-and-tabs (spaces: line 37, tab: line 62)
jdom-demo.noarch: W: non-standard-group Development/Libraries/Java
jdom-demo.noarch: W: no-documentation
jdom-javadoc.noarch: W: non-standard-group Development/Documentation
jdom-javadoc.noarch: W: dangerous-command-in-%post rm
jdom-javadoc.noarch: W: dangerous-command-in-%postun rm
jdom.i386: W: non-standard-group Development/Libraries/Java
jdom.i386: W: incoherent-version-in-changelog 1.1.1-1 ['0:1.1.1-1.fc15',
'0:1.1.1-1']
jdom.i386: W: non-conffile-in-etc /etc/maven/fragments/jdom
5 packages and 1 specfiles checked; 0 errors, 16 warnings.


[x]  Package is named according to the Package Naming Guidelines[1].
[x]  Spec file name must match the base package name, in the format
%{name}.spec.
[x]  Package meets the Packaging Guidelines[2].
[x]  Package successfully compiles and builds into binary rpms.
[!]  Buildroot is correct
(%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n))
[x]  Package is licensed with an open-source compatible license and meets other
legal requirements as defined in the legal section of Packaging
Guidelines[3,4].
[!]  License field in the package spec file matches the actual license.
[x]  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.
[-]  All independent sub-packages have license of their own
[x]  Spec file is legible and written in American English.
[x]  Sources used to build the package matches the upstream source, as provided
in the spec URL.
MD5SUM this package    : 0ad116194e3101fb08fab8f6f00cc58f
MD5SUM upstream package: 0ad116194e3101fb08fab8f6f00cc58f
[x]  All build dependencies are listed in BuildRequires, except for any that
are listed in the exceptions section of Packaging Guidelines[5].
[x]  Package must own all directories that it creates.
[x]  Package requires other packages for directories it uses.
[x]  Package does not contain duplicates in %files.
[x]  Permissions on files are set properly.
[x]  Package has a %clean section, which contains rm -rf %{buildroot} (or
$RPM_BUILD_ROOT).
[x]  Package consistently uses macros.
[x]  Package contains code, or permissable content.
[x]  Fully versioned dependency in subpackages, if present.
[-]  Package contains a properly installed %{name}.desktop file if it is a GUI
application.
[x]  Package does not own files or directories owned by other packages.
[x]  Javadoc documentation files are generated and included in -javadoc
subpackage
[!]  Packages have proper BuildRequires/Requires on jpackage-utils
[!]  Javadoc subpackages have Require: jpackage-utils
[!]  Package uses %global not %define
[-]  If package uses tarball from VCS include comment how to re-create that
tarball (svn export URL, git clone URL, ...)
[-]  If source tarball includes bundled jar/class files these need to be
removed prior to building
[x]  All filenames in rpm packages must be valid UTF-8.

=== Maven ===
[x]  Use %{_mavenpomdir} macro for placing pom files instead of
%{_datadir}/maven2/poms
[-]  If package uses "-Dmaven.test.skip=true" explain why it was needed in a
comment
[-]  If package uses custom depmap "-Dmaven2.jpp.depmap.file=*" explain why
it's needed in a comment
[x]  Package uses %update_maven_depmap in %post/%postun
[!]  Packages have Requires(post) and Requires(postun) on jpackage-utils (for
%update_maven_depmap macro)

=== Other suggestions ===
[x]  If possible use upstream build method (maven/ant/javac)
[x]  Javadocs are placed in %{_javadocdir}/%{name}-%{version} with
%{_javadocdir}/%{name} symlink
[x]  Jar files are installed to %{_javadir}/%{name}-%{version}.jar with
%{_javadir}/%{name}.jar (unversioned) symlink
[!]  If package contains pom.xml files install it (including depmaps) even when
building with ant 
[x]  Avoid having BuildRequires on exact NVR unless necessary
[x]  Package has BuildArch: noarch (if possible)
[x]  Latest version is packaged.
[x]  Reviewer should test that the package builds in mock.
Tested on: fedora-rawhide-i386


=== Issues ===
0. drop gcj
1. rpmlint issues
2. Buildroot
3. License: Upstream (http://www.jdom.org/docs/faq.html#a0030) says, it's 'an
Apache-style open source license'. Please check the license tag (not sure which
version or if we have an appropriate tag at all)
4. Check BRs/Rs for jpackage-utils (and java/java-devel)
5. Check javadoc Rs for jpackage-utils
6. global -> define
7. R(post) and R(postun) jpackage-utils missing (for the update_maven_depmap
macro)
8. The pom file is installed correctly, but specified as additional source from
maven repo. Please use the one included in the source tarball or leave a
comment why that's impossible.

=== Final Notes ===
1. A short comment about the patches would be nice.

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



More information about the package-review mailing list