Bug 1036325 - Review Request: valabind - Transform vala or vapi files into swig, C++, NodeJS-ffi, or GIR
Summary: Review Request: valabind - Transform vala or vapi files into swig, C++, NodeJ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Christopher Meng
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-01 00:59 UTC by Eric Smith
Modified: 2014-01-13 02:58 UTC (History)
2 users (show)

Fixed In Version: valabind-0.7.4-2.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-13 02:58:06 UTC
Type: ---
Embargoed:
i: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Eric Smith 2013-12-01 00:59:36 UTC
Spec URL: http://fedorapeople.org/~brouhaha/valabind/valabind.spec
SRPM URL: http://fedorapeople.org/~brouhaha/valabind/valabind-0.7.4-1.fc19.src.rpm
Description: Valabind is a tool to parse vala[1] or vapi files to transform them
into swig[2] interface files, C++, NodeJS-ffi or GIR.  With swig, you
can create language bindings for any API written in vala or C with a
vapi interface.  It can also generate bindings for C++.
Fedora Account System Username: brouhaha

Comment 1 Christopher Meng 2013-12-01 08:07:20 UTC
Assigned :)

Comment 2 Christopher Meng 2013-12-02 09:49:43 UTC
Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated


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

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses found:
     "Unknown or generated". 21 files have unknown license. Detailed output of
     licensecheck:


Unknown or generated
--------------------
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/ctypeswriter.vala
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/cxxwriter.vala
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/dlangwriter.vala
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/girwriter.vala
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/main.vala
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/nodeffiwriter.vala
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/swigwriter.vala
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/t/java/AsmExample.java
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/t/java/RAsm.java
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/t/java/RAsmCode.java
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/t/python/example.py
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/t/r2/test.cs
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/t/r2/test.java
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/t/r2/test.pl
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/t/r2/test.py
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/t/r2/test.rb
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/t/vala/test.cxx
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/t/vala/test.py
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/t/vala/vstest.vala
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/utils.vala
/var/lib/mock/fedora-rawhide-i386/root/builddir/build/BUILD/valabind-0.7.4/valabindwriter.vala


[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 uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory names).
[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]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Useful -debuginfo package or justification otherwise.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 51200 bytes in 4 files.
[x]: Package complies to the Packaging Guidelines
[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]: 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]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[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]: Package use %makeinstall only when make install' ' DESTDIR=... doesn't
     work.
[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
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

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

Generic:
[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]: 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
     architectures.
[-]: %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
     $RPM_BUILD_ROOT)
[x]: Dist tag is present (not strictly required in GL).
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Fully versioned dependency in subpackages if applicable.
[x]: Uses parallel make %{?_smp_mflags} macro.
[x]: SourceX tarball generation or download is documented.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

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

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Large data in /usr/share should live in a noarch subpackage if package is
     arched.


Rpmlint
-------
Checking: valabind-0.7.4-1.fc21.i686.rpm
          valabind-0.7.4-1.fc21.src.rpm
valabind.i686: W: spelling-error Summary(en_US) vala -> lava, val, vale
valabind.i686: W: spelling-error Summary(en_US) vapi -> vapid
valabind.i686: W: spelling-error %description -l en_US vala -> lava, val, vale
valabind.i686: W: spelling-error %description -l en_US vapi -> vapid
valabind.src: W: spelling-error Summary(en_US) vala -> lava, val, vale
valabind.src: W: spelling-error Summary(en_US) vapi -> vapid
valabind.src: W: spelling-error %description -l en_US vala -> lava, val, vale
valabind.src: W: spelling-error %description -l en_US vapi -> vapid
2 packages and 0 specfiles checked; 0 errors, 8 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint valabind
valabind.i686: W: spelling-error Summary(en_US) vala -> lava, val, vale
valabind.i686: W: spelling-error Summary(en_US) vapi -> vapid
valabind.i686: W: spelling-error %description -l en_US vala -> lava, val, vale
valabind.i686: W: spelling-error %description -l en_US vapi -> vapid
1 packages and 0 specfiles checked; 0 errors, 4 warnings.
# echo 'rpmlint-done:'



Requires
--------
valabind (rpmlib, GLIBC filtered):
    /bin/sh
    libc.so.6
    libglib-2.0.so.0
    libgobject-2.0.so.0
    libvala-0.22.so.0
    rtld(GNU_HASH)



Provides
--------
valabind:
    valabind
    valabind(x86-32)



Source checksums
----------------
https://github.com/radare/valabind/archive/0.7.4.tar.gz :
  CHECKSUM(SHA256) this package     : dc9690def9baea3eab6e47004333ef2d8271443e0b5953379d24bf55c6db435f
  CHECKSUM(SHA256) upstream package : dc9690def9baea3eab6e47004333ef2d8271443e0b5953379d24bf55c6db435f


Generated by fedora-review 0.5.0 (920221d) last change: 2013-08-30
Command line :/usr/bin/fedora-review -rvn valabind-0.7.4-1.fc19.src.rpm
Buildroot used: fedora-rawhide-i386
Active plugins: Generic, Shell-api
Disabled plugins: Java, C/C++, Python, SugarActivity, Perl, R, PHP, Ruby
Disabled flags: EPEL5, EXARCH, DISTTAG


----------------

1. http://radare.org/y/?p=download is also a good place to get the tarballs.

2. %__global_ldflags should be inserted also.

Others are fine.

Comment 3 Eric Smith 2013-12-17 05:33:14 UTC
1. I don't see what's wrong with the Source0 URL in the spec.

2. Inserted where, and why?

Thanks!

Comment 4 Christopher Meng 2013-12-18 01:04:42 UTC
#1 is not an issue, it's a suggestion.

#2 is a new guideline, see mailing list archive:

https://lists.fedoraproject.org/pipermail/devel/2013-October/190537.html

Comment 5 Eric Smith 2013-12-18 01:24:06 UTC
If the only place it's documented is in the mailing list archive, it isn't Fedora policy. However, I've added it.

Spec URL: http://fedorapeople.org/~brouhaha/valabind/valabind.spec
SRPM URL: http://fedorapeople.org/~brouhaha/valabind/valabind-0.7.4-2.fc19.src.rpm

Thanks!
Eric

Comment 6 Eric Smith 2013-12-18 01:48:14 UTC
New Package SCM Request
=======================
Package Name: valabind
Short Description: Transform vala or vapi files into swig, C++, NodeJS-ffi, or GIR
Owners: brouhaha
Branches: f19 f20 el6
InitialCC:

Comment 7 Gwyn Ciesla 2013-12-18 12:49:22 UTC
Git done (by process-git-requests).

Comment 8 Fedora Update System 2013-12-21 06:04:05 UTC
valabind-0.7.4-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/valabind-0.7.4-2.fc20

Comment 9 Fedora Update System 2013-12-22 05:38:22 UTC
valabind-0.7.4-2.fc20 has been pushed to the Fedora 20 testing repository.

Comment 10 Fedora Update System 2014-01-13 02:58:06 UTC
valabind-0.7.4-2.fc20 has been pushed to the Fedora 20 stable repository.


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