re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-07-10 14:14:55 +02:00
parent 84234ed315
commit e4f41a68b7
4 changed files with 33 additions and 4 deletions

9
.gitignore vendored
View File

@ -1,4 +1,5 @@
SOURCES/d3-flame-graph-4.0.7.tar.gz /d3-flame-graph-*.tar.gz
SOURCES/js-d3-flame-graph-vendor-4.0.7-1.tar.xz /js-d3-flame-graph-vendor-*.tar.xz
/d3-flame-graph-4.0.7.tar.gz /js-d3-flame-graph-vendor-*.tar.xz.manifest
/js-d3-flame-graph-vendor-4.0.7-1.tar.xz /d3-flame-graph*/
*.rpm

26
README.md Normal file
View File

@ -0,0 +1,26 @@
# js-d3-flame-graph
The js-d3-flame-graph package
## Upgrade instructions
* update `Version`, `Release`, `%changelog` and tarball NVRs in the specfile
* create bundles and manifest: `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`
* commit new `sources` file
## 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
## 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

View File

@ -0,0 +1,2 @@
addFilter("W: strange-permission list_bundled_nodejs_packages.py 755")
addFilter("W: patch-not-applied .+.vendor.patch")

0
list_bundled_nodejs_packages.py Executable file → Normal file
View File