forked from pool/python-python-editor
Accepting request 701732 from home:pgajdos
- version update to 1.0.4 * no upstream changelog OBS-URL: https://build.opensuse.org/request/show/701732 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-editor?expand=0&rev=16
This commit is contained in:
committed by
Git OBS Bridge
parent
69e4d7111e
commit
4fe91112f2
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-editor
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-python-editor
|
||||
Version: 1.0.3
|
||||
Version: 1.0.4
|
||||
Release: 0
|
||||
Summary: Python library to programmatically open an editor and capture the result
|
||||
License: Apache-2.0
|
||||
@@ -42,13 +42,15 @@ environment variable.
|
||||
%setup -q -n python-editor-%{version}
|
||||
|
||||
%build
|
||||
find -type f -exec chmod 644 {} +
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand sed -i -e '/^#!\/usr\/bin\/env/d' %{buildroot}%{$python_sitelib}/editor.py
|
||||
|
||||
%if 0%{?is_opensuse}
|
||||
# do not run tests for now (https://github.com/fmoo/python-editor/issues/14)
|
||||
# the example does not look like an unit test
|
||||
# %check
|
||||
# export EDITOR='nano'
|
||||
# Xpython_exec test.py
|
||||
|
Reference in New Issue
Block a user