14
0
forked from pool/python-invoke

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
This commit is contained in:
2016-12-11 10:54:56 +00:00
committed by Git OBS Bridge
parent de586e00e8
commit 10194bd034
2 changed files with 10 additions and 4 deletions

View File

@@ -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 Thu Sep 11 13:11:26 UTC 2014 - toddrme2178@gmail.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-invoke # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -13,15 +13,16 @@
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-invoke Name: python-invoke
Version: 0.9.0 Version: 0.9.0
Release: 0 Release: 0
License: BSD-2-Clause
Summary: Pythonic Task Execution Summary: Pythonic Task Execution
Url: http://docs.pyinvoke.org License: BSD-2-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://docs.pyinvoke.org
Source: https://pypi.python.org/packages/source/i/invoke/invoke-%{version}.tar.gz Source: https://pypi.python.org/packages/source/i/invoke/invoke-%{version}.tar.gz
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-setuptools 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}/inv-%{py_ver} %{buildroot}%{_bindir}/inv
ln -s %{_bindir}/invoke-%{py_ver} %{buildroot}%{_bindir}/invoke 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 # 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: # of the old binary resulting from the non-update-alternativies-ified package:
[[ ! -L %{_bindir}/inv ]] && rm -f %{_bindir}/inv [[ ! -L %{_bindir}/inv ]] && rm -f %{_bindir}/inv