diff --git a/python-editor-0.5.tar.gz b/python-editor-0.5.tar.gz deleted file mode 100644 index d6de45b..0000000 --- a/python-editor-0.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f65c033ede0758663b9ff6a29d702f0b09198ad7c4ef96c9d37ccdfbf7bbf6fa -size 6555 diff --git a/python-editor-1.0.1.tar.gz b/python-editor-1.0.1.tar.gz new file mode 100644 index 0000000..5b917a3 --- /dev/null +++ b/python-editor-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8672e9a44a7957741453dd35e842299f6c29f0a88dc9e4316b0fa5935abb9186 +size 7014 diff --git a/python-python-editor.changes b/python-python-editor.changes index 78aefac..90ad288 100644 --- a/python-python-editor.changes +++ b/python-python-editor.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Sep 16 14:35:20 UTC 2016 - toddrme2178@gmail.com + +- Fix Download URL + +------------------------------------------------------------------- +Thu Sep 15 22:17:54 UTC 2016 - toddrme2178@gmail.com + +- Update to 1.0.1 + * Detect tty and add helper function + * Default to not using tty + * Use branch instead of ternary operator + * Use /dev/tty by default + ------------------------------------------------------------------- Wed Jan 13 12:04:08 UTC 2016 - toddrme2178@gmail.com diff --git a/python-python-editor.spec b/python-python-editor.spec index 0711b37..439dcfd 100644 --- a/python-python-editor.spec +++ b/python-python-editor.spec @@ -17,15 +17,18 @@ Name: python-python-editor -Version: 0.5 +Version: 1.0.1 Release: 0 Summary: Programmatically open an editor, capture the result License: Apache-2.0 Group: Development/Languages/Python Url: https://github.com/fmoo/python-editor -Source: https://pypi.python.org/packages/source/p/python-editor/python-editor-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/python-editor/python-editor-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools +%if 0%{?is_opensuse} +BuildRequires: nano +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -46,6 +49,12 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%if 0%{?is_opensuse} +%check +export EDITOR='nano' +python test.py +%endif + %files %defattr(-,root,root,-) %doc LICENSE README.md