Bug 986691

Summary: Review Request: cjs - Javascript Bindings for Cinnamon
Product: [Fedora] Fedora Reporter: leigh scott <leigh123linux>
Component: Package ReviewAssignee: Wolfgang Ulbrich <fedora>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dan.mashal, fedora, i, package-review
Target Milestone: ---Keywords: Reopened
Target Release: ---Flags: fedora: fedora-review+
gwync: fedora-cvs+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-21 16:00:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description leigh scott 2013-07-21 16:33:54 UTC
Spec URL: http://leigh123linux.fedorapeople.org/pub/review/cjs/1/cjs.spec

SRPM URL: http://leigh123linux.fedorapeople.org/pub/review/cjs/1/cjs-1.34.0-0.1.fc19.src.rpm

Description: Cjs allows using Cinnamon libraries from Javascript. It's based on the
Spidermonkey Javascript engine from Mozilla and the GObject introspection
framework.

Fedora Account System Username: leigh123linux

Comment 2 Wolfgang Ulbrich 2013-07-21 17:12:36 UTC
Pls use isa tags for -devel subpackage.
Rest looks good, pls upload new sources for final review.

Comment 4 Wolfgang Ulbrich 2013-07-21 18:08:24 UTC
APPROVED !

Pls add copying.lgpl from uptream to the package before you import.
You did already mentioned LGPLv2+ in lisence line.

Package Review
==============

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



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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: Development (unversioned) .so files in -devel subpackage, if present.
     Note: Unversioned so-files in private %_libdir subdirectory (see
     attachment). Verify they are not in ld path.
[x]: Header files in -devel subpackage, if present.
[x]: ldconfig called in %post and %postun if required.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.

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]: %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.
[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 complies to the Packaging Guidelines
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses found:
     "MIT/X11 (BSD like)", "GPL (v2 or later)", "MPL (v1.1) GPL
     (unversioned/unknown version)", "Unknown or generated". 6 files have
     unknown license. Detailed output of licensecheck in
     /home/rave/986691-cjs/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[x]: Package consistently uses macro is (instead of hard-coded directory
     names).
[x]: If the package is under multiple licenses, the licensing breakdown must
     be documented in the spec.
[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.
[-]: 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.
[-]: 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 51200 bytes in 8 files.
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[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]: Fully versioned dependency in subpackages, if present.
[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 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
[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).

===== 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.
[-]: Scriptlets must be sane, if used.
[-]: 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.
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Uses parallel make.
[x]: The placement of pkgconfig(.pc) files are correct.
[x]: SourceX tarball generation or download is documented.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define.

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

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


Rpmlint
-------
Checking: cjs-1.34.0-0.2.gitfb472ad.fc20.x86_64.rpm
          cjs-devel-1.34.0-0.2.gitfb472ad.fc20.x86_64.rpm
cjs.x86_64: W: spelling-error Summary(en_US) Javascript -> JavaScript, Java script, Java-script
cjs.x86_64: W: shared-lib-calls-exit /usr/lib64/libcjs-dbus.so.0.0.0 exit.5
cjs.x86_64: W: no-manual-page-for-binary cjs
cjs.x86_64: W: no-manual-page-for-binary cjs-console
2 packages and 0 specfiles checked; 0 errors, 4 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint cjs cjs-devel
cjs.x86_64: W: spelling-error Summary(en_US) Javascript -> JavaScript, Java script, Java-script
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs.so.0.0.0 /lib64/libgthread-2.0.so.0
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs.so.0.0.0 /lib64/libplds4.so
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs.so.0.0.0 /lib64/libplc4.so
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs.so.0.0.0 /lib64/libnspr4.so
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs.so.0.0.0 /lib64/libdl.so.2
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs.so.0.0.0 /lib64/libstdc++.so.6
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs.so.0.0.0 /lib64/libm.so.6
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs.so.0.0.0 /lib64/libgcc_s.so.1
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs-dbus.so.0.0.0 /lib64/libgirepository-1.0.so.1
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs-dbus.so.0.0.0 /lib64/libffi.so.6
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs-dbus.so.0.0.0 /lib64/libgmodule-2.0.so.0
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs-dbus.so.0.0.0 /lib64/libgthread-2.0.so.0
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs-dbus.so.0.0.0 /lib64/libgio-2.0.so.0
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs-dbus.so.0.0.0 /lib64/libmozjs185.so.1.0
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs-dbus.so.0.0.0 /lib64/libplds4.so
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs-dbus.so.0.0.0 /lib64/libplc4.so
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs-dbus.so.0.0.0 /lib64/libnspr4.so
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs-dbus.so.0.0.0 /lib64/libpthread.so.0
cjs.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libcjs-dbus.so.0.0.0 /lib64/libdl.so.2
cjs.x86_64: W: shared-lib-calls-exit /usr/lib64/libcjs-dbus.so.0.0.0 exit.5
cjs.x86_64: W: no-manual-page-for-binary cjs
cjs.x86_64: W: no-manual-page-for-binary cjs-console
2 packages and 0 specfiles checked; 0 errors, 23 warnings.
# echo 'rpmlint-done:'



Requires
--------
cjs (rpmlib, GLIBC filtered):
    /sbin/ldconfig
    libc.so.6()(64bit)
    libcairo-gobject.so.2()(64bit)
    libcairo.so.2()(64bit)
    libcjs-dbus.so.0()(64bit)
    libcjs.so.0()(64bit)
    libdbus-1.so.3()(64bit)
    libdbus-glib-1.so.2()(64bit)
    libdl.so.2()(64bit)
    libffi.so.6()(64bit)
    libgcc_s.so.1()(64bit)
    libgio-2.0.so.0()(64bit)
    libgirepository-1.0.so.1()(64bit)
    libglib-2.0.so.0()(64bit)
    libgmodule-2.0.so.0()(64bit)
    libgobject-2.0.so.0()(64bit)
    libgthread-2.0.so.0()(64bit)
    libm.so.6()(64bit)
    libmozjs185.so.1.0()(64bit)
    libnspr4.so()(64bit)
    libplc4.so()(64bit)
    libplds4.so()(64bit)
    libpthread.so.0()(64bit)
    libreadline.so.6()(64bit)
    libstdc++.so.6()(64bit)
    rtld(GNU_HASH)

cjs-devel (rpmlib, GLIBC filtered):
    /usr/bin/pkg-config
    cjs(x86-64)
    libcjs-dbus.so.0()(64bit)
    libcjs.so.0()(64bit)
    pkgconfig
    pkgconfig(cjs-1.0)
    pkgconfig(dbus-1)
    pkgconfig(gobject-2.0)
    pkgconfig(gobject-introspection-1.0)
    pkgconfig(mozjs185)



Provides
--------
cjs:
    cjs
    cjs(x86-64)
    libcjs-dbus.so.0()(64bit)
    libcjs.so.0()(64bit)

cjs-devel:
    cjs-devel
    cjs-devel(x86-64)
    pkgconfig(cjs-1.0)
    pkgconfig(cjs-dbus-1.0)
    pkgconfig(cjs-internals-1.0)



Unversioned so-files
--------------------
cjs: /usr/lib64/cjs-1.0/cairoNative.so
cjs: /usr/lib64/cjs-1.0/console.so
cjs: /usr/lib64/cjs-1.0/dbusNative.so
cjs: /usr/lib64/cjs-1.0/debugger.so
cjs: /usr/lib64/cjs-1.0/formatNative.so
cjs: /usr/lib64/cjs-1.0/gettextNative.so
cjs: /usr/lib64/cjs-1.0/langNative.so
cjs: /usr/lib64/cjs-1.0/mainloop.so
cjs: /usr/lib64/cjs-1.0/system.so

Source checksums
----------------
http://leigh123linux.fedorapeople.org/pub/cjs/source/cjs-1.34.0.gitfb472ad.tar.gz :
  CHECKSUM(SHA256) this package     : 9ccf126e5aa25400fea0afd4a1079165c16a3f5f4659959d3a3fa6fca689e07b
  CHECKSUM(SHA256) upstream package : 9ccf126e5aa25400fea0afd4a1079165c16a3f5f4659959d3a3fa6fca689e07b


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 -v -m fedora-rawhide-x86_64 -b 986691

Comment 5 leigh scott 2013-07-21 18:19:07 UTC
New Package SCM Request
=======================
Package Name: cjs
Short Description: Javascript Bindings for Cinnamon
Owners: leigh123linux
Branches: f19
InitialCC:

Comment 6 Gwyn Ciesla 2013-07-22 10:10:38 UTC
Git done (by process-git-requests).

Comment 7 leigh scott 2014-01-02 16:51:20 UTC
Package Change Request
======================
Package Name: cjs
New Branches: epel7
Owners: leigh123linux

Comment 8 Gwyn Ciesla 2014-01-02 17:04:06 UTC
No epel7 branches yet.

Comment 9 leigh scott 2014-01-12 13:18:33 UTC
Package Change Request
======================
Package Name: cjs
New Branches: epel7
Owners: leigh123linux

Comment 10 Gwyn Ciesla 2014-01-13 13:30:06 UTC
Git done (by process-git-requests).