2019-08-28 13:31:19 +00:00
|
|
|
# grafana-pcp
|
2019-10-11 18:12:07 +00:00
|
|
|
The grafana-pcp package
|
|
|
|
|
2020-11-26 11:42:03 +00:00
|
|
|
## Upgrade instructions
|
|
|
|
(replace X.Y.Z with the new grafana-pcp version)
|
|
|
|
|
|
|
|
* update `Version`, `Release` and `%changelog` in the specfile
|
|
|
|
* create bundles and manifest: `VER=X.Y.Z make clean all`
|
|
|
|
* update specfile with contents of the `.manifest` file
|
|
|
|
* run local build: `rpkg local`
|
|
|
|
* run rpm linter: `rpkg lint -r grafana-pcp.rpmlintrc`
|
|
|
|
* run a scratch build: `fedpkg scratch-build --srpm`
|
2020-12-23 13:48:21 +00:00
|
|
|
* upload new source tarballs: `fedpkg new-sources *.tar.gz *.tar.xz`
|
2019-11-12 13:55:22 +00:00
|
|
|
|
2020-11-26 11:42:03 +00:00
|
|
|
## Backporting
|
|
|
|
* create the patch
|
|
|
|
* declare and apply (`%prep`) the patch in the specfile
|
|
|
|
* if the patch affects Go or Node.js dependencies, or the webpack
|
|
|
|
* create new tarballs and rename them to `grafana-pcp-...-X.Y.Z-R.tar.gz`
|
|
|
|
* update the specfile with new tarball path and contents of the `.manifest` file
|
2019-12-11 16:44:48 +00:00
|
|
|
|
2020-11-26 11:42:03 +00:00
|
|
|
Note: the Makefile automatically applies all patches before creating the tarballs
|