Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1572287

Summary: Review Request: nodejs-istanbul-lib-hook - Hooks for require, vm and script used in istanbul
Product: [Fedora] Fedora Reporter: Jared Smith <jsmith.fedora>
Component: Package ReviewAssignee: Robert-André Mauchin 🐧 <zebob.m>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: package-review, zebob.m
Target Milestone: ---Flags: zebob.m: fedora-review+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-11 13:38:20 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:
Bug Depends On:    
Bug Blocks: 956806, 1572709    

Description Jared Smith 2018-04-26 15:56:56 UTC
Spec URL: https://jsmith.fedorapeople.org/Packaging/nodejs-istanbul-lib-hook/nodejs-istanbul-lib-hook.spec
SRPM URL: https://jsmith.fedorapeople.org/Packaging/nodejs-istanbul-lib-hook/nodejs-istanbul-lib-hook-1.1.0-1.fc29.src.rpm
Description: Hooks for require, vm and script used in istanbul
Fedora Account System Username: jsmith

Comment 1 Robert-André Mauchin 🐧 2018-04-26 17:50:31 UTC
 - You seem to have forgotten to add the test dependencies:

Exécution_de(%check) : /bin/sh -e /var/tmp/rpm-tmp.E6jeb5
+ umask 022
+ cd /builddir/build/BUILD
+ cd package
+ /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules --check
+ /usr/bin/node -e 'require("./")'
BUILDSTDERR: module.js:549
BUILDSTDERR:     throw err;
BUILDSTDERR:     ^
BUILDSTDERR: Error: Cannot find module 'append-transform'

Exécution_de(%check) : /bin/sh -e /var/tmp/rpm-tmp.0TN5X6
+ umask 022
+ cd /builddir/build/BUILD
+ cd package
+ /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules --check
+ /usr/bin/node -e 'require("./")'
+ NODE_ENV=test
+ /usr/bin/mocha -R spec
BUILDSTDERR: module.js:549
BUILDSTDERR:     throw err;
BUILDSTDERR:     ^
BUILDSTDERR: Error: Cannot find module 'chai'

   Add them:

%if 0%{?enable_tests}
BuildRequires:	mocha
BuildRequires:	npm(append-transform)
BuildRequires:	npm(chai)
%endif

Comment 2 Jared Smith 2018-05-02 18:27:50 UTC
Could you please test again?  It's possible I had an old version of the files uploaded to my web server.

Comment 3 Robert-André Mauchin 🐧 2018-05-02 18:43:50 UTC
 - Latest version packaged
 - License ok
 - Builds in Mock
 - No rpmlint errors
 - Conforms to the Packaging Guidelines

Package approved.

Comment 4 Jared Smith 2018-05-02 18:50:11 UTC
Repo requested at https://pagure.io/releng/fedora-scm-requests/issue/6414.

Comment 5 Jared Smith 2018-05-02 19:55:05 UTC
Repo requested at https://pagure.io/releng/fedora-scm-requests/issue/6416.

Comment 6 Gwyn Ciesla 2018-05-02 22:32:07 UTC
(fedrepo-req-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/nodejs-istanbul-lib-hook

Comment 7 Jared Smith 2018-05-11 13:38:20 UTC
Packaged in Rawhide, closing this issue