diff options
author | John Cater <jcater@google.com> | 2018-03-12 08:07:37 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-12 08:09:01 -0700 |
commit | e4c8509ace6baf5182379738b7834287228116cd (patch) | |
tree | 1bf934ef2abafbb67b941d5cf16f33e9e74c7c1e /scripts | |
parent | a531971fac6980568f0763e6d8556b5e8ee89f40 (diff) |
Allow templated expansion of data dependency names in the RPM spec file.
Fixes #4810, invalidates #4782, and extends #4747.
Change-Id: I19426bb30a151358875e9bae0e0c1d92b3818432
Closes #4816.
Change-Id: I5d92cec994103e2136c5ed279780f321a42d1bdd
PiperOrigin-RevId: 188722982
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/packages/fedora/bazel.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/packages/fedora/bazel.spec b/scripts/packages/fedora/bazel.spec index 14cabfc5c1..e4ac0b2fa6 100644 --- a/scripts/packages/fedora/bazel.spec +++ b/scripts/packages/fedora/bazel.spec @@ -5,10 +5,10 @@ Summary: Correct, reproducible, and fast builds for everyone. URL: https://bazel.build License: Apache License, v2.0 -Source0: bazel -Source1: bazel-real -Source2: bazel.bazelrc -Source3: bazel-complete.bash +Source0: {bazel} +Source1: {bazel-real} +Source2: {bazel.bazelrc} +Source3: {bazel-complete.bash} Requires: java-1.8.0-openjdk-headless @@ -26,12 +26,12 @@ Bazel is a build tool that builds code quickly and reliably. It is used to build %install export DONT_STRIP=1 mkdir -p %{buildroot}%{_bindir}/ -install -m 755 bazel %{buildroot}%{_bindir}/bazel -install -m 755 bazel-real %{buildroot}%{_bindir}/bazel-real +install -m 755 {bazel} %{buildroot}%{_bindir}/bazel +install -m 755 {bazel-real} %{buildroot}%{_bindir}/bazel-real mkdir -p %{buildroot}%{_sysconfdir}/ -install -m 644 bazel.bazelrc %{buildroot}%{_sysconfdir}/bazel.bazelrc +install -m 644 {bazel.bazelrc} %{buildroot}%{_sysconfdir}/bazel.bazelrc mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d/ -install -m 644 bazel-complete.bash %{buildroot}%{_sysconfdir}/bash_completion.d/bazel +install -m 644 {bazel-complete.bash} %{buildroot}%{_sysconfdir}/bash_completion.d/bazel %files %{_bindir}/bazel |