Skip to content

Commit

Permalink
Fixed _make_rpm label
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-mikitka-ssimwave committed Nov 1, 2019
1 parent ce54f40 commit 8b13bde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/make_rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def CallRpmBuild(self, dirname):
env = {
'LANG': 'C',
}
if self.source_date_epoch is not None:
if self.source_date_epoch:
env['SOURCE_DATE_EPOCH'] = self.source_date_epoch

p = subprocess.Popen(
Expand Down
2 changes: 1 addition & 1 deletion pkg/rpm.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ pkg_rpm = rule(
# Implicit dependencies.
"rpmbuild_path": attr.string(),
"_make_rpm": attr.label(
default = Label("@rules_pkg//:make_rpm"),
default = Label("@rules_pkg//pkg:make_rpm"),
cfg = "host",
executable = True,
allow_files = True,
Expand Down

0 comments on commit 8b13bde

Please sign in to comment.