Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 860503 - Review request: opensaml-java-xmltooling - Java XMLTooling library
Summary: Review request: opensaml-java-xmltooling - Java XMLTooling library
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Marek Goldmann
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: FE-DEADREVIEW 860505
TreeView+ depends on / blocked
Reported: 2012-09-26 02:07 UTC by Patryk Obara
Modified: 2013-03-13 04:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-10-15 08:03:10 UTC
mgoldman: fedora-review?

Attachments (Terms of Use)

Description Patryk Obara 2012-09-26 02:07:50 UTC
Spec URL:


Java XMLTooling is a low-level library that may be used to construct libraries
that allow developers to work with XML in a Java beans manner.

Comment 1 Marek Goldmann 2012-10-08 08:16:16 UTC
Package Review

[x] = Pass
[!] = Fail
[-] = Not applicable
[?] = Not evaluated
[ ] = Manual review needed

[!]: Package consistently uses macro is (instead of hard-coded directory
     Note: Using both %{buildroot} and $RPM_BUILD_ROOT
[!]: License file installed when any subpackage combination is installed.

Please include license text file, as per new guidelines: You can use this file:

===== MUST items =====

[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
[x]: Package successfully compiles and builds into binary rpms on at least one
     supported primary architecture.
[-]: %build honors applicable compiler flags or justifies otherwise.
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[x]: Package contains no bundled libraries.
[x]: Changelog in prescribed format.
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Sources contain only permissible code or content.
[x]: Each %files section contains %defattr if rpm < 4.4
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Package contains desktop file if it is a GUI application.
[x]: Development files must be in a -devel package
[x]: Package requires other packages for directories it uses.
[x]: Package uses nothing in %doc for runtime.
[x]: Package is not known to require ExcludeArch.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Fully versioned dependency in subpackages, if present.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in %package
[x]: Package complies to the Packaging Guidelines
[x]: Spec file lacks Packager, Vendor, PreReq tags.
[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.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses found:
     "Apache (v2.0)", "Unknown or generated". 2 files have unknown license.
     Detailed output of licensecheck in /home/goldmann/work/review/opensaml-
[!]: License file installed when any subpackage combination is installed.
[!]: Package consistently uses macro is (instead of hard-coded directory
     Note: Using both %{buildroot} and $RPM_BUILD_ROOT
[x]: Package is named using only allowed ASCII characters.
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
     Note: Package contains no Conflicts: tag(s)
[x]: Package do not use a name that already exist
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package installs properly.
[x]: Package is not relocatable.
[x]: Requires correct, justified where necessary.
[x]: CheckResultdir
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: Sources used to build the package match the upstream source, as provided
     in the spec URL.
[x]: Spec file is legible and written in American English.
[x]: Spec file name must match the spec package %{name}, in the format
[-]: Package contains systemd file(s) if in need.
[x]: File names are valid UTF-8.
[ ]: Large documentation must go in a -doc subpackage.
     Note: Test run failed
[x]: Packages must not store files under /srv, /opt or /usr/local
     Note: Test run failed

[x]: Packages have proper BuildRequires/Requires on jpackage-utils
[x]: Fully versioned dependency in subpackages, if present.
[x]: Javadoc documentation files are generated and included in -javadoc
[x]: Javadoc subpackages have Requires: jpackage-utils
[x]: Javadocs are placed in %{_javadocdir}/%{name} (no -%{version} symlink)
[x]: Bundled jar/class files should be removed before build
     Note: Test run failed

[x]: Pom files have correct add_maven_depmap call
     Note: Some add_maven_depmap calls found. Please check if they are correct
[x]: Old add_to_maven_depmap macro is not being used
[x]: Packages DOES NOT have Requires(post) and Requires(postun) on jpackage-
     utils for %update_maven_depmap macro
[x]: If package contains pom.xml files install it (including depmaps) even
     when building with ant
[x]: If package uses "-Dmaven.test.skip=true" explain why it was needed in a
[x]: Package DOES NOT use %update_maven_depmap in %post/%postun
[x]: Packages use %{_mavenpomdir} instead of %{_datadir}/maven2/poms

===== SHOULD items =====

[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
[-]: 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]: Dist tag is present.
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Final provides and requires are sane (rpm -q --provides and rpm -q
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Patches link to upstream bugs/comments/lists or are otherwise justified.
[x]: The placement of pkgconfig(.pc) files are correct.
[x]: SourceX tarball generation or download is documented.
     Note: Package contains tarball without URL, check comments
[x]: SourceX / PatchY prefixed with %{name}.
[x]: SourceX is a working URL.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed files.
[x]: Spec use %global instead of %define.

[x]: Package has BuildArch: noarch (if possible)
[x]: Package uses upstream build method (ant/maven/etc.)

===== EXTRA items =====

[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.
[x]: Large data in /usr/share should live in a noarch subpackage if package is
     Note: Test run failed

Checking: opensaml-java-xmltooling-javadoc-1.3.4-1.fc17.noarch.rpm
opensaml-java-xmltooling-javadoc.noarch: W: spelling-error Summary(en_US) Javadocs -> Java docs, Java-docs, Avocados
opensaml-java-xmltooling.src: W: invalid-url Source0: opensaml-java-xmltooling-1.3.4.tar.xz
3 packages and 0 specfiles checked; 0 errors, 2 warnings.

Rpmlint (installed packages)
# rpmlint opensaml-java-xmltooling opensaml-java-xmltooling-javadoc
opensaml-java-xmltooling-javadoc.noarch: W: spelling-error Summary(en_US) Javadocs -> Java docs, Java-docs, Avocados
2 packages and 0 specfiles checked; 0 errors, 1 warnings.
# echo 'rpmlint-done:'

opensaml-java-xmltooling-javadoc-1.3.4-1.fc17.noarch.rpm (rpmlib, GLIBC filtered):

opensaml-java-xmltooling-1.3.4-1.fc17.noarch.rpm (rpmlib, GLIBC filtered):

    opensaml-java-xmltooling-javadoc = 1.3.4-1.fc17

    opensaml-java-xmltooling = 1.3.4-1.fc17

MD5-sum check

Upstream: d4d0d10c32bdea1d4d51b5c28301f6db176d21a180694b36c7017ef8fc7b220d  opensaml-java-xmltooling-1.3.4.tar.xz
This:     de48b9732504b5ba4e2d9eb9dc07a22874fb5de3f4243766313c66b64f2ac45f  SOURCES/opensaml-java-xmltooling-1.3.4.tar.xz

OK, SVN export.

Generated by fedora-review 0.2.2 (Unknown) last change: Unknown
Buildroot used: fedora-17-x86_64
Command line :/home/goldmann/git/FedoraReview/try-fedora-review -b 860503

Comment 2 Marek Goldmann 2012-10-08 08:17:59 UTC
As a note - you can use POM macros instead patching things manually:

Comment 3 Marek Goldmann 2012-10-10 09:30:35 UTC
Additionally - the package is missing following Requires:


Please check the BR too.

Comment 4 Marek Goldmann 2012-10-10 09:37:50 UTC
Of course xml-apis should be removed from above list, but xml-commons-apis should stay.

Comment 5 Marek Goldmann 2012-10-10 09:40:26 UTC
Not my day... xalan should be renamed to xalan-j and xerces to xerces-j2.

Comment 6 Marek Goldmann 2012-10-15 08:03:10 UTC
Unresponsive packager, closing and blocking FE-DEADREVIEW.

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