update to upstream version 1.0.4

This commit is contained in:
Andreas Gerstmayr 2019-12-11 17:44:48 +01:00
parent d247ac5c08
commit 43ef7d3d20
4 changed files with 18 additions and 13 deletions

View File

@ -4,14 +4,15 @@ The grafana-pcp package
## Build instructions
```
VER=1.0.3
VER=1.0.4
spectool -g grafana-pcp.spec
./create_dependency_bundle.sh $VER $(pwd)/grafana-pcp-deps-$VER.tar.xz
./create_dependency_bundle.sh $(pwd)/grafana-pcp-$VER.tar.gz $(pwd)/grafana-pcp-deps-$VER.tar.xz
./check_npm_dependencies.py grafana-pcp.spec grafana-pcp-$VER.tar.gz grafana-pcp-deps-$VER.tar.xz
fedpkg new-sources grafana-pcp-$VER.tar.gz grafana-pcp-deps-$VER.tar.xz
fedpkg mockbuild
fedpkg scratch-build --srpm
fedpkg new-sources grafana-pcp-$VER.tar.gz grafana-pcp-deps-$VER.tar.xz
fedpkg build
fedpkg update
```

View File

@ -1,8 +1,8 @@
#!/bin/bash
set -e
VER="${1:?Usage: $0 version destination}"
DEST="${2:?Usage: $0 version destination}"
SRC="${1:?Usage: $0 source destination}"
DEST="${2:?Usage: $0 source destination}"
if [ -f "$DEST" ]; then
echo "File $DEST exists already."
@ -10,9 +10,8 @@ if [ -f "$DEST" ]; then
fi
pushd $(mktemp -d)
wget https://github.com/performancecopilot/grafana-pcp/archive/v$VER/grafana-pcp-$VER.tar.gz
tar xfz grafana-pcp-$VER.tar.gz
cd grafana-pcp-$VER
tar xfz $SRC
cd grafana-pcp-*
yarn install
echo "Compressing..."
XZ_OPT=-9 tar cJf $DEST node_modules

View File

@ -1,5 +1,5 @@
Name: grafana-pcp
Version: 1.0.3
Version: 1.0.4
Release: 1%{?dist}
Summary: Performance Co-Pilot Grafana Plugin
@ -50,7 +50,7 @@ Provides: bundled(nodejs-clean-webpack-plugin) = 0.1.19
Provides: bundled(nodejs-copy-webpack-plugin) = 4.6.0
Provides: bundled(nodejs-core-js) = 3.1.4
Provides: bundled(nodejs-css-loader) = 1.0.1
Provides: bundled(nodejs-d3-flame-graph) = 2.1.2
Provides: bundled(nodejs-d3-flame-graph) = 2.1.8
Provides: bundled(nodejs-d3-selection) = 1.4.0
Provides: bundled(nodejs-expr-eval) = 1.2.3
Provides: bundled(nodejs-jest) = 24.8.0
@ -70,7 +70,6 @@ Provides: bundled(nodejs-tslint) = 5.18.0
Provides: bundled(nodejs-tslint-config-airbnb) = 5.11.1
Provides: bundled(nodejs-typescript) = 3.5.3
Provides: bundled(nodejs-uglifyjs-webpack-plugin) = 2.2.0
Provides: bundled(nodejs-weak) = 1.0.1
Provides: bundled(nodejs-webpack) = 4.39.1
Provides: bundled(nodejs-webpack-cli) = 3.3.6
@ -102,6 +101,12 @@ cp -a dist/* %{buildroot}/%{install_dir}
%doc README.md
%changelog
* Wed Dec 11 2019 Andreas Gerstmayr <agerstmayr@redhat.com> 1.0.4-1
- flame graphs: clean flame graph stacks every 5s (reduces CPU load)
- general: implement PCP version checks
- build: remove weak dependency (doesn't work with Node.js 12)
- build: upgrade terser-webpack-plugin to mitigate XSS vulnerability in the serialize-javascript transitive dependency
* Tue Nov 26 2019 Nathan Scott <nathans@redhat.com> 1.0.3-1
- fix flame graph dependency (flamegraph.destroy error in javascript console)

View File

@ -1,2 +1,2 @@
SHA512 (grafana-pcp-1.0.3.tar.gz) = 9387bb6ecb24c18c4f804ae0d4a3e4ac8f28ab4a638c23c5442005fa6d7b6a121180124eb04c5a4a48f512f291ad4d08a2c8d5b841ab49648bea0c696e103d41
SHA512 (grafana-pcp-deps-1.0.3.tar.xz) = ef86f232541d66f4628c67e9e2965c6024ae036ecbdae4fe43a1b5734b5fcfc087fba78de92b88f5e27280d14ecfd75101ed0e71ceb42889231f1ce9b2719e42
SHA512 (grafana-pcp-1.0.4.tar.gz) = 2ca9b71c1f1557d304fb54e0e4ffb11dcbba4e1cfa35ee8a448da4006b0d3d60b3032adfa8dba0ff884f84b86bd97a05d07828dea55f08a76e3f10f35cd4f9d9
SHA512 (grafana-pcp-deps-1.0.4.tar.xz) = c827903a2efcf6d303af774660d4052f6d6ac55161199a6f48ea76d6fe7e9d1f81e1e5d42322b5d4f15071781bb8d0629661e4b37b0ceb438979ad76b0823a03