diff --git a/argcomplete-1.9.4.tar.gz b/argcomplete-1.9.4.tar.gz deleted file mode 100644 index bfbde82..0000000 --- a/argcomplete-1.9.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:06c8a54ffaa6bfc9006314498742ec8843601206a3b94212f82657673662ecf1 -size 47471 diff --git a/argcomplete-1.9.5.tar.gz b/argcomplete-1.9.5.tar.gz new file mode 100644 index 0000000..2d10f74 --- /dev/null +++ b/argcomplete-1.9.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94423d1a56cdec2ef47699e02c9a48cf8827b9c4465b836c0cefb30afe85e59a +size 46812 diff --git a/python-argcomplete.changes b/python-argcomplete.changes index 7b291e7..1654aa0 100644 --- a/python-argcomplete.changes +++ b/python-argcomplete.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Apr 5 11:02:52 UTC 2019 - Tomáš Chvátal + +- Update to 1.9.5: + * check_module: Don’t crash, exit with error instead (#261) + * Register completion for multiple commands (#246) + ------------------------------------------------------------------- Mon Feb 25 05:52:03 UTC 2019 - John Vandenberg diff --git a/python-argcomplete.spec b/python-argcomplete.spec index 32ce4ce..5b37961 100644 --- a/python-argcomplete.spec +++ b/python-argcomplete.spec @@ -17,23 +17,21 @@ # -%{!?license: %global license %doc} %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-argcomplete -Version: 1.9.4 +Version: 1.9.5 Release: 0 Summary: Bash tab completion for argparse License: Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/kislyuk/argcomplete +URL: https://github.com/kislyuk/argcomplete Source: https://files.pythonhosted.org/packages/source/a/argcomplete/argcomplete-%{version}.tar.gz Patch0: skip_tcsh_tests.patch Patch1: trim-test-deps.patch -BuildRequires: %{python_module setuptools} -BuildRequires: python-rpm-macros -# SECTION tests BuildRequires: %{python_module pexpect} -# END SECTIONS tests +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages @@ -63,10 +61,8 @@ resources over the network). %python_install rm -rf %{buildroot}%{python_sitelib}/test rm %{buildroot}%{_bindir}/activate-global-python-argcomplete -%python_clone %{buildroot}%{_bindir}/python-argcomplete-check-easy-install-script -%python_clone %{buildroot}%{_bindir}/register-python-argcomplete -install -DTm644 %{buildroot}%{python_sitelib}/argcomplete/bash_completion.d/python-argcomplete.sh %{buildroot}%{_sysconfdir}/bash_completion.d/python-argcomplete.sh -%python_clone %{buildroot}%{_sysconfdir}/bash_completion.d/python-argcomplete.sh +%python_expand %fdupes %{buildroot}%{$python_sitelib} +install -DTm644 %{buildroot}%{python_sitelib}/argcomplete/bash_completion.d/python-argcomplete.sh %{buildroot}%{_datadir}/bash-completion/completions/python-argcomplete.sh # tcsh support is broken rm %{buildroot}%{_bindir}/python-argcomplete-tcsh @@ -81,9 +77,6 @@ export LANG=en_US.UTF-8 %{python_sitelib}/argcomplete %python3_only %{_bindir}/python-argcomplete-check-easy-install-script %python3_only %{_bindir}/register-python-argcomplete -%python3_only %{_sysconfdir}/bash_completion.d/python-argcomplete.sh -%{_bindir}/python-argcomplete-check-easy-install-script-%{python_version} -%{_bindir}/register-python-argcomplete-%{python_version} -%{_sysconfdir}/bash_completion.d/python-argcomplete.sh-%{python_version} +%python3_only %{_datadir}/bash-completion/completions/python-argcomplete.sh %changelog