From e4c8509ace6baf5182379738b7834287228116cd Mon Sep 17 00:00:00 2001 From: John Cater Date: Mon, 12 Mar 2018 08:07:37 -0700 Subject: 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 --- scripts/packages/fedora/bazel.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3