Commit 004e3ae
committed
pkg_rpm: Specify _topdir for install stanza
If we don't specify the _topdir as part of the install-from path we
can't seem to find the correct files to install when using a set of
rules like:
pkg_filegroup(
name = "my_filegroup",
srcs = [
"//some/label:foo",
],
prefixs = "/usr/bin",
)
pkg_rpm(
name = "rpm",
...
srcs = [
":my_filegroup",
],
)
Adding '%{{_topdir}/BUILD/' as a prefix to the source path seems to
solve this problem.1 parent 1b5710c commit 004e3ae
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments