Accepting request 453990 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/453990
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-invoke?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2017-02-05 14:49:13 +00:00 committed by Git OBS Bridge
commit 48436c3057
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

View File

@ -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