Bug 886846 - Review Request: native-platform - Java bindings for various native APIs
Summary: Review Request: native-platform - Java bindings for various native APIs
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Michal Srb
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2012-12-13 10:49 UTC by gil cattaneo
Modified: 2013-05-26 01:59 UTC (History)
3 users (show)

Fixed In Version: native-platform-0.3-0.2.rc2.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-05-19 02:30:47 UTC
Type: ---
msrb: fedora-review+
gwync: fedora-cvs+

Attachments (Terms of Use)

Description gil cattaneo 2012-12-13 10:49:51 UTC
Spec URL: http://gil.fedorapeople.org/native-platform.spec
SRPM URL: http://gil.fedorapeople.org/native-platform-0.2-1.fc16.src.rpm
A collection of cross-platform Java APIs
for various native APIs.

These APIs support Java 5 and later. Some
of these APIs overlap with APIs available
in later Java versions.

Fedora Account System Username: gil

gradle 1.3 B/R

Comment 1 gil cattaneo 2012-12-13 11:17:44 UTC
Tested on: http://koji.fedoraproject.org/koji/taskinfo?taskID=4786177

Comment 2 gil cattaneo 2012-12-13 19:03:07 UTC
I received an answer from the developer of the
library on the type of license applied, ASL 2.0.
In the next relase should be available also the
license file in the git repository.

Comment 5 Michal Srb 2013-05-10 11:17:10 UTC
Package Review

[x] = Pass, [!] = Fail, [-] = Not applicable

- All build dependencies are listed in BuildRequires, except for any that are
  listed in the exceptions section of Packaging Guidelines.
  Note: These BR are not needed: gcc-c++
  See: http://fedoraproject.org/wiki/Packaging/Guidelines#Exceptions_2

Not really an issue

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

[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.

[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
[x]: %build honors applicable compiler flags or justifies otherwise.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: 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]: Fully versioned dependency in subpackages, if present.
[x]: Package complies to the Packaging Guidelines
[x]: License field in the package spec file matches the actual license.
[x]: License file installed when any subpackage combination is installed.
[x]: Package consistently uses macro is (instead of hard-coded directory
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[x]: 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]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[x]: Package contains systemd file(s) if in need.
[x]: Useful -debuginfo package or justification otherwise.
[x]: Large documentation must go in a -doc subpackage.
     Note: Documentation size is 30720 bytes in 2 files.
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Each %files section contains %defattr if rpm < 4.4
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[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.
[-]: Package use %makeinstall only when make install' ' DESTDIR=... doesn't
[x]: Package is named using only allowed ASCII characters.
[x]: Package do not use a name that already exist
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as provided
     in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local
[x]: Package successfully compiles and builds into binary rpms on at least one
     supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).

[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 should not have Requires: jpackage-utils
[x]: Javadocs are placed in %{_javadocdir}/%{name} (no -%{version} symlink)
[x]: Bundled jar/class files should be removed before build

[x]: Pom files have correct Maven mapping
[x]: If package contains pom.xml files install it (including depmaps) even
     when building with ant
[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]: Package DOES NOT use %update_maven_depmap in %post/%postun
[x]: Packages use %{_mavenpomdir} instead of %{_datadir}/maven2/poms

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

[x]: 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]: Final provides and requires are sane (see attachments).
[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]: SourceX tarball generation or download is documented.
     Note: Package contains tarball without URL, check comments
[x]: 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
[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed files.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[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
[x]: Dist tag is present.
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define.

[x]: Packages are noarch unless they use JNI
[x]: Package uses upstream build method (ant/maven/etc.)

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

[x]: Large data in /usr/share should live in a noarch subpackage if package is
[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.

Checking: native-platform-0.3-0.1.rc2.fc20.x86_64.rpm
native-platform.x86_64: E: no-binary
native-platform.x86_64: W: only-non-binary-in-usr-lib
2 packages and 0 specfiles checked; 1 errors, 1 warnings.

This is JNI package

Rpmlint (installed packages)
# rpmlint native-platform-javadoc native-platform
native-platform.x86_64: E: no-binary
native-platform.x86_64: W: only-non-binary-in-usr-lib
2 packages and 0 specfiles checked; 1 errors, 1 warnings.
# echo 'rpmlint-done:'

native-platform-javadoc (rpmlib, GLIBC filtered):

native-platform (rpmlib, GLIBC filtered):



Source checksums
http://repo.gradle.org/gradle/libs-releases-local/net/rubygrapefruit/native-platform-linux-i386/0.3-rc-2/native-platform-linux-i386-0.3-rc-2.pom :
  CHECKSUM(SHA256) this package     : c763be7d6ea42265f53be57040729e0b8f1510841465320bbafef94bd8b6a191
  CHECKSUM(SHA256) upstream package : c763be7d6ea42265f53be57040729e0b8f1510841465320bbafef94bd8b6a191
http://repo.gradle.org/gradle/libs-releases-local/net/rubygrapefruit/native-platform-linux-amd64/0.3-rc-2/native-platform-linux-amd64-0.3-rc-2.pom :
  CHECKSUM(SHA256) this package     : 0f48a641a86a8382bb7867ee9ffec05c4ca99c42510b171a5a358787abef8e5f
  CHECKSUM(SHA256) upstream package : 0f48a641a86a8382bb7867ee9ffec05c4ca99c42510b171a5a358787abef8e5f
http://repo.gradle.org/gradle/libs-releases-local/net/rubygrapefruit/native-platform/0.3-rc-2/native-platform-0.3-rc-2.pom :
  CHECKSUM(SHA256) this package     : bbf2f82c623d8ade4ff691accc9047c23fc59d610776e1a8fab8e4132f26c892
  CHECKSUM(SHA256) upstream package : bbf2f82c623d8ade4ff691accc9047c23fc59d610776e1a8fab8e4132f26c892

Generated by fedora-review 0.4.1 (b2e211f) last change: 2013-04-29
Buildroot used: fedora-rawhide-x86_64
Command line :/usr/bin/fedora-review -b 886846

The package looks good.


Comment 6 gil cattaneo 2013-05-10 14:37:19 UTC
New Package SCM Request
Package Name: native-platform
Short Description: Java bindings for various native APIs
Owners: gil
Branches: f18 f19
InitialCC: java-sig

Comment 7 Gwyn Ciesla 2013-05-10 14:48:59 UTC
Git done (by process-git-requests).

Comment 8 Fedora Update System 2013-05-10 15:30:11 UTC
native-platform-0.3-0.2.rc2.fc19 has been submitted as an update for Fedora 19.

Comment 9 Fedora Update System 2013-05-10 15:46:08 UTC
native-platform-0.3-0.2.rc2.fc18 has been submitted as an update for Fedora 18.

Comment 10 Fedora Update System 2013-05-11 00:27:05 UTC
native-platform-0.3-0.2.rc2.fc18 has been pushed to the Fedora 18 testing repository.

Comment 11 Fedora Update System 2013-05-19 02:30:47 UTC
native-platform-0.3-0.2.rc2.fc18 has been pushed to the Fedora 18 stable repository.

Comment 12 Fedora Update System 2013-05-24 20:40:44 UTC
native-platform-0.3-0.2.rc2.fc19 has been pushed to the Fedora 19 stable repository.

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