Hello community, here is the log from the commit of package bazel0.26 for openSUSE:Factory checked in at 2019-07-21 11:33:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bazel0.26 (Old) and /work/SRC/openSUSE:Factory/.bazel0.26.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bazel0.26" Sun Jul 21 11:33:12 2019 rev:2 rq:716205 version:0.26.0 Changes: -------- --- /work/SRC/openSUSE:Factory/bazel0.26/bazel0.26.changes 2019-06-19 21:08:30.286516644 +0200 +++ /work/SRC/openSUSE:Factory/.bazel0.26.new.4126/bazel0.26.changes 2019-07-21 11:33:25.700786584 +0200 @@ -1,0 +2,5 @@ +Wed Jul 17 21:46:29 UTC 2019 - Mark Yen <m...@suse.com> + +- Add bash completion script + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bazel0.26.spec ++++++ --- /var/tmp/diff_new_pack.YSB5lK/_old 2019-07-21 11:33:29.828785886 +0200 +++ /var/tmp/diff_new_pack.YSB5lK/_new 2019-07-21 11:33:29.832785886 +0200 @@ -61,6 +61,11 @@ CC=gcc CXX=g++ EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk" ./compile.sh +./scripts/generate_bash_completion.sh \ + --bazel=output/bazel \ + --output=output/bazel-complete.bash \ + --prepend=scripts/bazel-complete-header.bash \ + --prepend=scripts/bazel-complete-template.bash ./output/bazel shutdown %install @@ -72,14 +77,20 @@ : >debugsourcefiles.list install -Dm0755 output/bazel %{buildroot}%{_bindir}/bazel%{shortver} +install -Dm0644 output/bazel-complete.bash %{buildroot}%{_datadir}/%{name}/bazel-complete.bash # update-alternatives mkdir -p %{buildroot}%{_sysconfdir}/alternatives ln -sf %{_sysconfdir}/alternatives/bazel %{buildroot}%{_bindir}/bazel +mkdir -p %{buildroot}%{_datadir}/bash-completion/completions +ln -sf %{_sysconfdir}/alternatives/bazel-complete.bash %{buildroot}%{_datadir}/bash-completion/completions/bazel %post update-alternatives \ - --install %{_bindir}/bazel bazel %{_bindir}/bazel%{shortver} 26 + --install %{_bindir}/bazel bazel %{_bindir}/bazel%{shortver} 26 \ + --slave %{_datadir}/bash-completion/completions/bazel \ + bazel-complete.bash \ + %{_datadir}/%{name}/bazel-complete.bash %postun if [ $1 -eq 0 ] ; then @@ -91,6 +102,10 @@ %license LICENSE %{_bindir}/bazel %{_bindir}/bazel%{shortver} +%{_datadir}/bash-completion/completions/bazel +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/bazel-complete.bash %ghost %{_sysconfdir}/alternatives/bazel +%ghost %{_sysconfdir}/alternatives/bazel-complete.bash %changelog