Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: Review Request: xsom - XML Schema Object Model (XSOM)
https://bugzilla.redhat.com/show_bug.cgi?id=790553
Summary: Review Request: xsom - XML Schema Object Model (XSOM) Product: Fedora Version: rawhide Platform: Unspecified OS/Version: Unspecified Status: NEW Severity: medium Priority: unspecified Component: Package Review AssignedTo: nobody@fedoraproject.org ReportedBy: juan.hernandez@redhat.com QAContact: extras-qa@fedoraproject.org CC: notting@redhat.com, mgoldman@redhat.com, package-review@lists.fedoraproject.org Blocks: 652183 Classification: Fedora Story Points: --- Type: --- Regression: --- Mount Type: --- Documentation: ---
Spec URL:
http://jhernand.fedorapeople.org/rpms/xsom/2/xsom.spec
SRPM URL:
http://jhernand.fedorapeople.org/rpms/xsom/2/xsom-20110809-2.fc17.src.rpm
Description:
XML Schema Object Model (XSOM) is a Java library that allows applications to easily parse XML Schema documents and inspect information in them. It is expected to be useful for applications that need to take XML Schema as an input. The library is a straight-forward implement of "schema components" as defined in the XML Schema spec part 1. Refer to this specification of how this object model works.
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=790553
Juan Hernández juan.hernandez@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |790549
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=790553
Juan Hernández juan.hernandez@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |790564
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=790553
Bug 790553 depends on bug 790549, which changed state.
Bug 790549 Summary: Review Request: relaxngcc - RELAX NG Compiler Compiler https://bugzilla.redhat.com/show_bug.cgi?id=790549
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Status|ASSIGNED |CLOSED Resolution| |RAWHIDE
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=790553
Andy Grimm agrimm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |agrimm@gmail.com AssignedTo|nobody@fedoraproject.org |agrimm@gmail.com Flag| |fedora-review?
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=790553
Andy Grimm agrimm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW Flag|fedora-review? |
--- Comment #1 from Andy Grimm agrimm@gmail.com 2012-02-19 23:17:25 EST --- Sorry, I don't have time to review this until Tuesday, so I'm temporarily setting it back to "NEW" in case someone else has time before then.
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=790553
Andy Grimm agrimm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |767050
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=790553
David Nalley david@gnsa.us changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |david@gnsa.us AssignedTo|agrimm@gmail.com |david@gnsa.us Flag| |fedora-review?
--- Comment #2 from David Nalley david@gnsa.us 2012-02-21 12:46:08 EST --- I'll get the first pass done this afternoon.
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=790553
--- Comment #3 from David Nalley david@gnsa.us 2012-02-21 15:08:39 EST --- Package Review ==============
Key: - = N/A x = Check ! = Problem ? = Not evaluated
=== REQUIRED ITEMS === [X] Rpmlint output: [ke4qqq@nalleyx200 SPECS]$ rpmlint xsom.spec ../SRPMS/xsom-20110809-2.fc16.src.rpm ../RPMS/noarch/xsom-* xsom.spec: W: invalid-url Source0: xsom-20110809.tar.gz xsom.src: W: invalid-url Source0: xsom-20110809.tar.gz 3 packages and 1 specfiles checked; 0 errors, 2 warnings.
[!] Package is named according to the Package Naming Guidelines[1]. Version should almost certainly be 0, and the date moved to the release field i.e. Version: 0 Release: 2-20110809%{?dist}
[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. [X] Buildroot definition is not present [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. License type: GPLv2 with classpath exception or CDDL https://fedoraproject.org/wiki/Packaging/LicensingGuidelines#Dual_Licensing_...
This should be License: CDDL or GPLv2 with exceptions instead of: License: CDDL and GPLv2 with exceptions
[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] All independent sub-packages have license of their own [X] Spec file is legible and written in American English. [-] Sources used to build the package matches the upstream source, as provided in the spec URL. This is pulled from an SVN checkout. [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 or must require other packages for directories it uses. [X] Package does not contain duplicates in %files. [X] File sections do not contain %defattr(-,root,root,-) unless changed with good reason [X] Permissions on files are set properly. [X] Package does NOT have a %clean section which contains rm -rf %{buildroot} (or $RPM_BUILD_ROOT). (not needed anymore) [X] Package consistently uses macros (no %{buildroot} and $RPM_BUILD_ROOT mixing) [X] Package contains code, or permissable content. [-] 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 [X] Javadocs are placed in %{_javadocdir}/%{name} (no -%{version} symlinks) [X] Packages have proper BuildRequires/Requires on jpackage-utils [X] Javadoc subpackages have Require: jpackage-utils [X] Package uses %global not %define [X] If package uses tarball from VCS include comment how to re-create that tarball (svn export URL, git clone URL, ...) [X] If source tarball includes bundled jar/class files these need to be removed prior to building
Though I'll comment that I think normal practice is to delete these as part of the %prep rather than during building the tarball.
[X] All filenames in rpm packages must be valid UTF-8. [X] Jar files are installed to %{_javadir}/%{name}.jar (see [6] for details) [X] If package contains pom.xml files install it (including depmaps) even when building with ant [X] pom files has correct add_maven_depmap
=== 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 "-Dmaven.local.depmap.file=*" explain why it's needed in a comment [X] Package DOES NOT use %update_maven_depmap in %post/%postun [X] Packages DOES NOT 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] Avoid having BuildRequires on exact NVR unless necessary [X] Package has BuildArch: noarch (if possible) [X] Latest version is packaged.
=== Issues ===
[!] Package is named according to the Package Naming Guidelines[1]. Version should almost certainly be 0, and the date moved to the release field i.e. Version: 0 Release: 2-20110809%{?dist}
[!] License field in the package spec file matches the actual license. License type: GPLv2 with classpath exception or CDDL https://fedoraproject.org/wiki/Packaging/LicensingGuidelines#Dual_Licensing_...
This should be License: CDDL or GPLv2 with exceptions instead of: License: CDDL and GPLv2 with exceptions
I'll take a look at relaxngcc as well since it is a dep.
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=790553
--- Comment #4 from Juan Hernández juan.hernandez@redhat.com 2012-02-22 02:52:45 EST --- Thanks for the review David.
I fixed the lincense description.
I am not 100% sure the version should be 0.
Take into account that the source is checked from a tag in the upstream repository named "xsom-20110809". That date is not the date of the checkout but the name of the tag.
In addition the original POM file from the upstream repository contains the following:
<groupId>com.sun.xsom</groupId> <artifactId>xsom</artifactId> <name>XSOM</name> <version>20110809</version>
Apparently the upstream developers use that date to identify the version.
However, not been 100% sure, I prepared two updated versions of the package, one with the license fixed but still using the date as version:
http://jhernand.fedorapeople.org/rpms/xsom/3
The other one with the license fixed and moving the date to the release:
http://jhernand.fedorapeople.org/rpms/xsom/0-3.20110809svn
Let me know which one do you want to move forward.
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=790553
Juan Hernández juan.hernandez@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |796201
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=790553
David Nalley david@gnsa.us changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag|fedora-review? |fedora-review+
--- Comment #5 from David Nalley david@gnsa.us 2012-02-22 10:07:44 EST --- Your argument is a good one. Here's my concern: IF upstream ever decides to move away from date based versioning - you will almost certainly have to invoke using epoch - which is very messy. You have a better sense of how upstream operates, and if you think upstream will stick with date-based versioning, I am ok with sticking with that as the version (as opposed to putting the date in the release tag).
I don't think version is a blocker, the other issue has been fixed, so this package is:
APPROVED
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=790553
--- Comment #6 from Juan Hernández juan.hernandez@redhat.com 2012-02-22 10:19:45 EST --- In fact I am not certain what will be the versioning methodology of the upstream project, so I will follow your advice and use the second alternative: moving the date to the release tag.
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=790553
Juan Hernández juan.hernandez@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag| |fedora-cvs?
--- Comment #7 from Juan Hernández juan.hernandez@redhat.com 2012-02-22 10:21:23 EST --- New Package SCM Request ======================= Package Name: xsom Short Description: XML Schema Object Model (XSOM) Owners: jhernand Branches: f17 InitialCC: goldmann
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=790553
--- Comment #8 from Jon Ciesla limburgher@gmail.com 2012-02-22 10:22:03 EST --- Git done (by process-git-requests).
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=790553
Juan Hernández juan.hernandez@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Blocks|652183(FE-JAVASIG) | Resolution| |RAWHIDE Last Closed| |2012-02-23 13:16:24
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=790553
--- Comment #9 from Fedora Update System updates@fedoraproject.org 2012-03-07 12:59:15 EST --- xsom-0-5.20110809svn.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/xsom-0-5.20110809svn.fc17
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=790553
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version| |xsom-0-5.20110809svn.fc17 Resolution|RAWHIDE |ERRATA
--- Comment #10 from Fedora Update System updates@fedoraproject.org 2012-03-11 21:42:06 EDT --- xsom-0-5.20110809svn.fc17 has been pushed to the Fedora 17 stable repository.
package-review@lists.fedoraproject.org