2020-03-23 13:31:34 +00:00
|
|
|
# js-d3-flame-graph
|
2020-03-23 14:08:06 +00:00
|
|
|
The js-d3-flame-graph package
|
|
|
|
|
2021-06-29 17:17:44 +00:00
|
|
|
## Upgrade instructions
|
2021-10-01 12:14:59 +00:00
|
|
|
* update `Version`, `Release`, `%changelog` and tarball NVRs in the specfile
|
|
|
|
* create bundles and manifest: `make clean all`
|
2021-06-29 17:17:44 +00:00
|
|
|
* 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`
|
2021-10-01 12:14:59 +00:00
|
|
|
* commit new `sources` file
|
2020-03-23 14:08:06 +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
|
2021-10-01 12:14:59 +00:00
|
|
|
|
|
|
|
## Patches
|
|
|
|
* `*.patch`: regular patches applied to the source, applied in the Makefile before vendoring and in the specfile (e.g. updating dependencies)
|
|
|
|
* `*.vendor.patch`: patches applied to the vendor tarball (e.g. patching vendored sources before generating a webpack)
|
|
|
|
* `*.cond.patch`: conditionally applied patches in the specfile
|