2020-10-15 12:22:12 +00:00
|
|
|
# js-d3-flame-graph
|
|
|
|
|
|
|
|
The js-d3-flame-graph package
|
|
|
|
|
2021-06-29 17:17:44 +00:00
|
|
|
## Upgrade instructions
|
|
|
|
(replace X.Y.Z and R with the new version/release)
|
2020-10-15 12:22:12 +00:00
|
|
|
|
2021-06-29 17:17:44 +00:00
|
|
|
* update `Version`, `Release` and `%changelog` in the specfile
|
|
|
|
* create bundles and manifest: `VER=X.Y.Z REL=R make clean all`
|
|
|
|
* update specfile with contents of the `.manifest` file
|
|
|
|
* run local build: `rpkg local`
|
|
|
|
* run rpm linter: `rpkg lint -r js-d3-flame-graph.rpmlintrc`
|
|
|
|
* run a scratch build: `fedpkg scratch-build --srpm`
|
|
|
|
* upload new source tarballs: `fedpkg new-sources *.tar.gz *.tar.xz`
|
2020-10-15 12:22:12 +00:00
|
|
|
|
2021-06-29 17:17:44 +00:00
|
|
|
## Backporting
|
|
|
|
* create the patch
|
|
|
|
* declare and apply (`%prep`) the patch in the specfile
|
|
|
|
* if the patch affects Node.js dependencies
|
|
|
|
* create new tarballs
|
|
|
|
* update the specfile with new tarball path and contents of the `.manifest` file
|
|
|
|
|
|
|
|
Note: the Makefile automatically applies patches before creating the tarballs
|