Hello community,

here is the log from the commit of package pyenv for openSUSE:Factory checked 
in at 2018-12-14 20:53:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pyenv (Old)
 and      /work/SRC/openSUSE:Factory/.pyenv.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pyenv"

Fri Dec 14 20:53:15 2018 rev:2 rq:653690 version:1.2.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/pyenv/pyenv.changes      2018-11-12 
09:38:23.733449756 +0100
+++ /work/SRC/openSUSE:Factory/.pyenv.new.28833/pyenv.changes   2018-12-14 
20:56:07.892820057 +0100
@@ -1,0 +2,6 @@
+Thu Nov  8 16:25:48 UTC 2018 - Antonio Larrosa <alarr...@suse.com>
+
+- Install bash completion file to /usr/share/bash-completion/completions
+  and fix shebangs of several bash scripts.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pyenv.spec ++++++
--- /var/tmp/diff_new_pack.P7QEHb/_old  2018-12-14 20:56:08.324819521 +0100
+++ /var/tmp/diff_new_pack.P7QEHb/_new  2018-12-14 20:56:08.328819516 +0100
@@ -28,12 +28,12 @@
 Source0:        https://github.com/pyenv/pyenv/archive/v%{version}.tar.gz
 Source1:        %{name}-rpmlintrc
 Source2:        %{name}.rst
+BuildRequires:  bash-completion
 BuildRequires:  fdupes
 BuildRequires:  gcc
 BuildRequires:  make
 BuildRequires:  python3-Sphinx
 BuildRequires:  zsh
-# BuildArch:      noarch
 
 %description
 pyenv lets the user switch between multiple versions of Python.
@@ -63,6 +63,7 @@
 %prep
 %setup -q
 install -D %{SOURCE2} docs/%{name}.rst
+sed -i -e '1s,^#!%{_bindir}/env bash,#!/bin/bash,' libexec/* 
pyenv.d/exec/pip-rehash/* plugins/python-build/bin/*
 
 %build
 ## 
@@ -109,7 +110,7 @@
 cp -a pyenv.d %{buildroot}%{_sysconfdir}/
 
 ## Install shell completions:
-install -D -m0644 completions/pyenv.bash 
%{buildroot}%{_sysconfdir}/bash_completion.d/pyenv
+install -D -m0644 completions/pyenv.bash 
%{buildroot}%{_datadir}/bash-completion/completions/pyenv
 install -D -m0644 completions/pyenv.zsh 
%{buildroot}%{_sysconfdir}/zsh_completion.d/pyenv
 
 ## Install manpage
@@ -150,7 +151,7 @@
 %{_mandir}/man1/python-build.1%{ext_man}
 
 %files bash-completion
-%config %{_sysconfdir}/bash_completion.d/pyenv
+%{_datadir}/bash-completion/completions/pyenv
 
 %files zsh-completion
 %config %{_sysconfdir}/zsh_completion.d/pyenv


Reply via email to