14
0
forked from pool/python-cmd2

Accepting request 184332 from home:dheidler:branches:devel:languages:python

- Backport editor stderr fix

OBS-URL: https://build.opensuse.org/request/show/184332
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=9
This commit is contained in:
Sascha Peilicke
2013-07-29 07:29:27 +00:00
committed by Git OBS Bridge
parent ed34845c21
commit 5be6e31bf2
3 changed files with 30 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ License: MIT
Group: Development/Languages/Python
Url: http://packages.python.org/cmd2/
Source: http://pypi.python.org/packages/source/c/cmd2/cmd2-%{version}.tar.gz
Patch0: fix_editor_stderr.patch
BuildRequires: python-devel
Requires: python-pyparsing
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -56,6 +57,7 @@ Drop-in replacement adds several features for command-prompt tools:
%setup -q -n cmd2-%{version}
chmod -x README.txt
sed -i "s/\r//g" README.txt
%patch0 -p1
%build
python setup.py build