From 10194bd03498b63f4b4e0bf35943afd578dba094c78f9c5d49b63db229f2ad7d Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Sun, 11 Dec 2016 10:54:56 +0000 Subject: [PATCH] Accepting request 445247 from home:jengelh:branches:devel:languages:python - Declare use of bashisms OBS-URL: https://build.opensuse.org/request/show/445247 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-invoke?expand=0&rev=4 --- python-invoke.changes | 5 +++++ python-invoke.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-invoke.changes b/python-invoke.changes index 74ea996..dbcc62c 100644 --- a/python-invoke.changes +++ b/python-invoke.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Dec 10 16:48:21 UTC 2016 - jengelh@inai.de + +- Declare use of bashisms + ------------------------------------------------------------------- Thu Sep 11 13:11:26 UTC 2014 - toddrme2178@gmail.com diff --git a/python-invoke.spec b/python-invoke.spec index ce9dc16..c5217eb 100644 --- a/python-invoke.spec +++ b/python-invoke.spec @@ -1,7 +1,7 @@ # # spec file for package python-invoke # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -13,15 +13,16 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Name: python-invoke Version: 0.9.0 Release: 0 -License: BSD-2-Clause Summary: Pythonic Task Execution -Url: http://docs.pyinvoke.org +License: BSD-2-Clause Group: Development/Languages/Python +Url: http://docs.pyinvoke.org Source: https://pypi.python.org/packages/source/i/invoke/invoke-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools @@ -73,7 +74,7 @@ mv %{buildroot}%{_bindir}/invoke %{buildroot}%{_bindir}/invoke-%{py_ver} ln -s %{_bindir}/inv-%{py_ver} %{buildroot}%{_bindir}/inv ln -s %{_bindir}/invoke-%{py_ver} %{buildroot}%{_bindir}/invoke -%pre +%pre -p /bin/bash # Since /usr/bin/* became ghosted to be used with update-alternatives, we have to get rid # of the old binary resulting from the non-update-alternativies-ified package: [[ ! -L %{_bindir}/inv ]] && rm -f %{_bindir}/inv