This is an automated email from the git hooks/post-receive script.
mreynolds pushed a commit to branch 389-ds-base-1.4.0
in repository 389-ds-base.
commit 75b03db2908caac0405aa847768655a7fd5cedd7
Author: Simon Pichugin <spichugi(a)redhat.com>
AuthorDate: Fri May 31 17:32:07 2019 +0200
Issue 50052 - Fix rpm.mk according to audit-ci change
Description: Always run `npm ci` when we run node_modules install.
It should be done because we always have to be sure about
what we ship in the package is safe and stable.
https://pagure.io/389-ds-base/issue/50052
Reviewed by: mreynolds (Thanks!)
---
rpm.mk | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/rpm.mk b/rpm.mk
index fbb6076..1b2d02e 100644
--- a/rpm.mk
+++ b/rpm.mk
@@ -33,13 +33,13 @@ clean:
rm -rf dist
rm -rf rpmbuild
-$(NODE_MODULES_TEST):
+install-node-modules:
cd src/cockpit/389-console; make -f node_modules.mk install
-build-cockpit: $(NODE_MODULES_TEST)
+build-cockpit: install-node-modules
cd src/cockpit/389-console; make -f node_modules.mk build-cockpit-plugin
-dist-bz2: $(NODE_MODULES_TEST)
+dist-bz2: install-node-modules
cd src/cockpit/389-console; \
rm -rf cockpit_dist; \
make -f node_modules.mk build-cockpit-plugin; \
@@ -54,7 +54,7 @@ dist-bz2: $(NODE_MODULES_TEST)
local-archive: build-cockpit
-mkdir -p dist/$(NAME_VERSION)
- rsync -a --exclude=node_modules --exclude=dist --exclude=.git --exclude=rpmbuild .
dist/$(NAME_VERSION)
+ rsync -a --exclude=node_modules --exclude=dist --exclude=__pycache__ --exclude=.git
--exclude=rpmbuild . dist/$(NAME_VERSION)
tarballs: local-archive
-mkdir -p dist/sources
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.