Commit 5a77a59
authored
Add pkg_rpm() "data" attribute to provide files for rpmbuild (#964)
When building debuginfo packages, find-debuginfo is called by rpmbuild.
To include the relevant source files, they will need to be accessible to
find-debuginfo via rpmbuild.
There are a number of other pieces required for an end-to-end solution
with debuginfo, but they're outside the scope of rules_pkg, e.g.
- customized find-debuginfo that can run inside bazel
- special _find_debuginfo_opts used to locate source files
- figuring out which source files to pass to pkg_rpm() in the first
place.
The key, though, is that pkg_rpm() accepts extra data in the first
place.
Fixes: #9651 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
878 | 878 | | |
879 | 879 | | |
880 | 880 | | |
881 | | - | |
| 881 | + | |
882 | 882 | | |
883 | 883 | | |
884 | 884 | | |
| |||
1279 | 1279 | | |
1280 | 1280 | | |
1281 | 1281 | | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
1282 | 1286 | | |
1283 | 1287 | | |
1284 | 1288 | | |
| |||
0 commit comments