Hello community,
here is the log from the commit of package bash-completion for openSUSE:Factory
checked in at 2020-01-10 18:39:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bash-completion (Old)
and /work/SRC/openSUSE:Factory/.bash-completion.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bash-completion"
Fri Jan 10 18:39:45 2020 rev:43 rq:761503 version:2.10
Changes:
--------
--- /work/SRC/openSUSE:Factory/bash-completion/bash-completion-doc.changes
2018-09-03 10:32:51.136321631 +0200
+++
/work/SRC/openSUSE:Factory/.bash-completion.new.6675/bash-completion-doc.changes
2020-01-10 18:40:06.151484461 +0100
@@ -1,0 +2,587 @@
+Sun Jan 5 17:01:37 UTC 2020 - Martin Liška <[email protected]>
+
+- Update to version 2.10:
+ * perltidy: associate *.t (#338)
+ * perl: fix completion with space between option and argument
+ * _variables: add TERM and LC_* completion (#353)
+ * autotools: Replace pkgdatadir with datadir
+ * pkg-config: Relative paths
+ * pkg-config: generate Name from autotools PACKAGE
+ * ssh: option and argument completion updates (#332)
+ * test_arp: Skip if ARP tables are empty
+ * test_chromium_browser: Skip test_2 if 'chromium-browser --help'
+ fails
+ * test_rpm2tgz: Fix expected output
+ * cppcheck: Add new standards to --std option. (#356)
+ * apt-get: fix pkg version completion if it contains a colon (#351)
+ * test: bump black to >=19.10b0
+ * ssh, scp, sftp, ssh-copy-id, curl: improve identity file
+ completion
+ * update-rc.d: indentation fix
+ * update-rc.d: remove dead code
+ * screen: add serial device basic arg (non)completion
+ * screen: add //telnet completion
+ * test: add some trivial perl -E/-e cases
+ * perl: indentation fixes
+ * curl: make @filename completion do the right thing with dirs
+ * _filedir: avoid duplicate dirs internally, and a compgen -d call
+ for files
+ * _filedir: remove unused $x
+ * bash_completion.sh: shellcheck SC2086 fixes
+ * test: shellcheck config cleanups
+ * shellcheck: add some option arg (non)completions
+ * test: fix cpio users test in presence of usernames with whitespace
+ * test: python typing fixes
+ * test: add minimal mypy config
+ * .gitignore: mypy cache
+ * makepkg: fix option completion
+ * test: mark dcop and mr testcases requiring the cmd as such
+ * CONTRIBUTING: disable e-mail bug gateway due to spam
+ * carton: new completion
+ * op: direct command parsing stderr to /dev/null
+ * test: adjust java expectations based on whether jars can be listed
+ * valgrind: look tool names from lib/*-linux-gnu dirs too
+ * test: xfail locale-gen option completion if --help is not
+ available
+ * _sysvdirs: always return 0
+ * java: don't assume jar is installed
+ * travis: test with Debian 10
+ * wine: install for wine-development and wine-stable too
+ * travis: generate dist tarball on alpine
+ * dmypy: new completion
+ * test: add require_longopt xfail helper, use it
+ * test: mark more tests that parse command output as requiring
+ command
+ * sysctl: invoke completed sysctl instead of one from path to get
+ variables
+ * screen, smartctl, update-alternatives: _parse_help, drop hardcoded
+ option list
+ * lintian-info: _parse_help, add more option arg (non)completions
+ * gprof: _parse_usage, drop hardcoded option list
+ * test: fix retrieving command to test from request
+ * travis: pass NETWORK as env var, so we can actually use it
+ * test: xfail MAC address completion without networking
+ * test: ignore _makepkg_bootstrap in makepkg test env
+ * test: hush flake8-bugbear B010
+ * test: don't sort expected completion lists under the hood
+ * test: add bunch of basic option parsing test cases
+ * test: always run tests which don't require tested command
+ * test: explodepkg and upgradepkg test fixes
+ * test: mark sbcl-mt xfail due to whitespace split issues
+ * _terms: search directly from various terminfo dirs
+ * _terms: combine and simplify somewhat
+ * pkg-get: fix $i leak
+ * pkgutil: fix $i leak
+ * test: portinstall/upgrade test case and setup fixes
+ * lvm pv*, vg*: parse help instead of hardcoding option list
+ * ipv6calc: parse help instead of hardcoding option list
+ * test: avoid some sed -r/-E runLint false positives
+ * test: use sh +* as ccache command test case
+ * java: make jar/zip listing work with unzip
+ * test: installpkg test fixes
+ * test: fix acroread fixture dir
+ * test: remove unnecessary returns after pytest.skip
+ * test: avoid gnome-mplayer core dump on Ubuntu 14
+ * xvfb-run: new completion
+ * test: skip gssdp-discover --message-type when option not available
+ * test: expect failures for bc without --help useful with _longopt
+ * test: don't expect a .tox dir in fixture
+ * test: drop sourcing our no longer existing profile.d script
+ * tox: include -- in option completions
+ * tox: complete defaults after a --
+ * gssdp-discover: new completion
+ * test: register our pytest markers to hush warnings from 4.5+
+ * test: fix required pytest version
+ * ip: invoke the tool as $1
+ * README: drop distro badges, link to Repology instead
+ * chromium-browser: add --proxy-server arg completion
+ * test: source our profile.d test env script in docker
+ * influx: new completion
+ * README: badge title tweaks
+ * tox: do simple parse on tox.ini if --listenvs* yields nothing
+ * test: add basic tox fixture
+ * man: fall back to _parse_usage for _parse_help
+ * test_wsimport: xfail options test on unparseable -help
+ * test: don't try to install black on Python < 3.6
+ * pgrep: fix fallback to _parse_usage
+ * test: xfail unparseable mock and munin-node-configure --help cases
+ * test_pwdx: xfail more unparseable help cases
+ * build: make pytest executable configurable, look for pytest-3 too
+ * test: enforce minimum pytest version
+ * test: zopflipng flake8 fix
+ * test: xfail getent and pwdx option completions with unparseable
+ --help
+ * test: add more basic _parse_help use test cases
+ * test: add bunch of basic _parse_help use test cases
+ * .gitignore: add configure.lineno
+ * badblocks: fix $i leak
+ * postfix: option completion is expected to fail at the moment
+ * cal: try _parse_help before _parse_usage
+ * test: add bunch of basic _parse_usage use test cases
+ * chsh, pwck: try _parse_help before _parse_usage
+ * test: add basic autossh test
+ * test: convert more _filedir unit tests to pytest+pexpect
+ * test: flake8 fix
+ * test: convert bunch of _filedir unit tests to pytest+pexpect
+ * test: convert finger partial test case to pytest+pexpect
+ * README: add some badges, tweak existing
+ * test: port _variables unit tests to pytest+pexpect
+ * test: port compgen and quote tests to pytest+pexpect
+ * iconv, lz4, tipc, xsltproc: replace some seds with compgen -X
+ * test: disallow Alpine failure on Travis
+ * _pnames: adapt for busybox ps, rewrite in pure bash
+ * test: run our docker script in test containers by default
+ * test: use one Dockerfile for all dists
+ * test_ifup: accept short option completions too
+ * timeout: fallback to _parse_usage from _parse_help
+ * test_wget: test --s instead of --h
+ * test_lsusb: xfail with unparseable --help
+ * test: expect failures for various completions without useful
+ --help
+ * test: support xfail in our markers like skipif, use it a lot
+ * test: add Alpine Linux container, allow failures for now
+ * iconv: weed out ... from encoding completions
+ * test_iconv: add basic file completion test
+ * test_iconv: skip option completion if --help fails
+ * test_getconf: skip if -a doesn't output any POSIX_V*
+ * test_feh, test_makepkg: invoke grep as "command grep"
+ * test: generalize check whether we're being run in a container
+ * tar: simplify locating tarball from command line
+ * pkg_delete: don't limit to FreeBSD
+ * test: reformat test_chromium_browser.py source
+ * test: set up BASH_COMPLETION_COMPAT_DIR in bashrc (only)
+ * test: more thorough system location interference avoidance
+ * test: bashrc comment and whitespace tweaks
+ * build: makefile whitespace tweaks
+ * build: really reset return value before completions check
+ * build: simplify symlink setup
+ * tar: add missing bsdtar, gtar, and star symlinks
+ * README: use light gray badges for unknown versions
+ * README: link to cygwin package
+ * ri: hush some warnings
+ * unrar: complete on *.exe (#337)
+ * chromium-browser: Add support for .mhtml files
+ * screen: complete first arg with serial devices
+ * gcc: support new --completion option (#222)
+ * unzip, zipinfo: complete *.aab (#340)
+ * cppcheck: Remove deprecated option 'posix' for '--std='
+- Remove gcc-564d068.patch and sh-script-completion-boo977336.patch
+ as these are implemented upstream.
+- Update to version 2.9:
+ * dpkg-source: Add --before-build --after-build --commit, and
+ --print-format
+ * xm: Deprecate completion for obsolete command (#284)
+ * _filedir_xspec: Fallback to suggesting all files if requested
+ (#260)
+ * tar: Support completions for zstd compression extensions (#255)
+ * dpkg: List held packages (#250)
+ * cvs: Add completion for the log command
+ * unzip, zipinfo: Associate with *.xar (eXist-db application
+ package) (#257)
+ * mplayer: Associate with *.w64
+ * okular: Added support for xz-compressed files.
+ * _xspecs: Declare as global on bash >= 4.2
+ * test: Increase expect pty to 160 columns
+ * test: avoid interrupting magic mark output
+ * 7z: add .msi support
+ * tshark: speed up tshark -O completion
+ * tshark: fix completion of -Xlua_script option
+ * tshark: Support preferences (-o) completion with memoization
+ * test: fix misinterpretation of completion output in tests
+ * test: fix flake8 complaints about unused imports
+ * conftest: fix RemovedInPytest4Warning due to use of
+ node.get_marker
+ * chromium-browser: consider chrome and chromium as aliases
+ * tshark: support .gz and .cap files for -r expansion
+ * tshark: prevent a single-character file from breaking -G
+ completion
++++ 390 more lines (skipped)
++++ between
/work/SRC/openSUSE:Factory/bash-completion/bash-completion-doc.changes
++++ and
/work/SRC/openSUSE:Factory/.bash-completion.new.6675/bash-completion-doc.changes
--- /work/SRC/openSUSE:Factory/bash-completion/bash-completion.changes
2019-05-03 22:35:30.893261681 +0200
+++
/work/SRC/openSUSE:Factory/.bash-completion.new.6675/bash-completion.changes
2020-01-10 18:40:06.663484654 +0100
@@ -1,0 +2,569 @@
+Sun Jan 5 17:01:37 UTC 2020 - Martin Liška <[email protected]>
+
+- Update to version 2.10:
+ * perltidy: associate *.t (#338)
+ * perl: fix completion with space between option and argument
+ * _variables: add TERM and LC_* completion (#353)
+ * autotools: Replace pkgdatadir with datadir
+ * pkg-config: Relative paths
+ * pkg-config: generate Name from autotools PACKAGE
+ * ssh: option and argument completion updates (#332)
+ * test_arp: Skip if ARP tables are empty
+ * test_chromium_browser: Skip test_2 if 'chromium-browser --help'
+ fails
+ * test_rpm2tgz: Fix expected output
+ * cppcheck: Add new standards to --std option. (#356)
+ * apt-get: fix pkg version completion if it contains a colon (#351)
+ * test: bump black to >=19.10b0
+ * ssh, scp, sftp, ssh-copy-id, curl: improve identity file
+ completion
+ * update-rc.d: indentation fix
+ * update-rc.d: remove dead code
+ * screen: add serial device basic arg (non)completion
+ * screen: add //telnet completion
+ * test: add some trivial perl -E/-e cases
+ * perl: indentation fixes
+ * curl: make @filename completion do the right thing with dirs
+ * _filedir: avoid duplicate dirs internally, and a compgen -d call
+ for files
+ * _filedir: remove unused $x
+ * bash_completion.sh: shellcheck SC2086 fixes
+ * test: shellcheck config cleanups
+ * shellcheck: add some option arg (non)completions
+ * test: fix cpio users test in presence of usernames with whitespace
+ * test: python typing fixes
+ * test: add minimal mypy config
+ * .gitignore: mypy cache
+ * makepkg: fix option completion
+ * test: mark dcop and mr testcases requiring the cmd as such
+ * CONTRIBUTING: disable e-mail bug gateway due to spam
+ * carton: new completion
+ * op: direct command parsing stderr to /dev/null
+ * test: adjust java expectations based on whether jars can be listed
+ * valgrind: look tool names from lib/*-linux-gnu dirs too
+ * test: xfail locale-gen option completion if --help is not
+ available
+ * _sysvdirs: always return 0
+ * java: don't assume jar is installed
+ * travis: test with Debian 10
+ * wine: install for wine-development and wine-stable too
+ * travis: generate dist tarball on alpine
+ * dmypy: new completion
+ * test: add require_longopt xfail helper, use it
+ * test: mark more tests that parse command output as requiring
+ command
+ * sysctl: invoke completed sysctl instead of one from path to get
+ variables
+ * screen, smartctl, update-alternatives: _parse_help, drop hardcoded
+ option list
+ * lintian-info: _parse_help, add more option arg (non)completions
+ * gprof: _parse_usage, drop hardcoded option list
+ * test: fix retrieving command to test from request
+ * travis: pass NETWORK as env var, so we can actually use it
+ * test: xfail MAC address completion without networking
+ * test: ignore _makepkg_bootstrap in makepkg test env
+ * test: hush flake8-bugbear B010
+ * test: don't sort expected completion lists under the hood
+ * test: add bunch of basic option parsing test cases
+ * test: always run tests which don't require tested command
+ * test: explodepkg and upgradepkg test fixes
+ * test: mark sbcl-mt xfail due to whitespace split issues
+ * _terms: search directly from various terminfo dirs
+ * _terms: combine and simplify somewhat
+ * pkg-get: fix $i leak
+ * pkgutil: fix $i leak
+ * test: portinstall/upgrade test case and setup fixes
+ * lvm pv*, vg*: parse help instead of hardcoding option list
+ * ipv6calc: parse help instead of hardcoding option list
+ * test: avoid some sed -r/-E runLint false positives
+ * test: use sh +* as ccache command test case
+ * java: make jar/zip listing work with unzip
+ * test: installpkg test fixes
+ * test: fix acroread fixture dir
+ * test: remove unnecessary returns after pytest.skip
+ * test: avoid gnome-mplayer core dump on Ubuntu 14
+ * xvfb-run: new completion
+ * test: skip gssdp-discover --message-type when option not available
+ * test: expect failures for bc without --help useful with _longopt
+ * test: don't expect a .tox dir in fixture
+ * test: drop sourcing our no longer existing profile.d script
+ * tox: include -- in option completions
+ * tox: complete defaults after a --
+ * gssdp-discover: new completion
+ * test: register our pytest markers to hush warnings from 4.5+
+ * test: fix required pytest version
+ * ip: invoke the tool as $1
+ * README: drop distro badges, link to Repology instead
+ * chromium-browser: add --proxy-server arg completion
+ * test: source our profile.d test env script in docker
+ * influx: new completion
+ * README: badge title tweaks
+ * tox: do simple parse on tox.ini if --listenvs* yields nothing
+ * test: add basic tox fixture
+ * man: fall back to _parse_usage for _parse_help
+ * test_wsimport: xfail options test on unparseable -help
+ * test: don't try to install black on Python < 3.6
+ * pgrep: fix fallback to _parse_usage
+ * test: xfail unparseable mock and munin-node-configure --help cases
+ * test_pwdx: xfail more unparseable help cases
+ * build: make pytest executable configurable, look for pytest-3 too
+ * test: enforce minimum pytest version
+ * test: zopflipng flake8 fix
+ * test: xfail getent and pwdx option completions with unparseable
+ --help
+ * test: add more basic _parse_help use test cases
+ * test: add bunch of basic _parse_help use test cases
+ * .gitignore: add configure.lineno
+ * badblocks: fix $i leak
+ * postfix: option completion is expected to fail at the moment
+ * cal: try _parse_help before _parse_usage
+ * test: add bunch of basic _parse_usage use test cases
+ * chsh, pwck: try _parse_help before _parse_usage
+ * test: add basic autossh test
+ * test: convert more _filedir unit tests to pytest+pexpect
+ * test: flake8 fix
+ * test: convert bunch of _filedir unit tests to pytest+pexpect
+ * test: convert finger partial test case to pytest+pexpect
+ * README: add some badges, tweak existing
+ * test: port _variables unit tests to pytest+pexpect
+ * test: port compgen and quote tests to pytest+pexpect
+ * iconv, lz4, tipc, xsltproc: replace some seds with compgen -X
+ * test: disallow Alpine failure on Travis
+ * _pnames: adapt for busybox ps, rewrite in pure bash
+ * test: run our docker script in test containers by default
+ * test: use one Dockerfile for all dists
+ * test_ifup: accept short option completions too
+ * timeout: fallback to _parse_usage from _parse_help
+ * test_wget: test --s instead of --h
+ * test_lsusb: xfail with unparseable --help
+ * test: expect failures for various completions without useful
+ --help
+ * test: support xfail in our markers like skipif, use it a lot
+ * test: add Alpine Linux container, allow failures for now
+ * iconv: weed out ... from encoding completions
+ * test_iconv: add basic file completion test
+ * test_iconv: skip option completion if --help fails
+ * test_getconf: skip if -a doesn't output any POSIX_V*
+ * test_feh, test_makepkg: invoke grep as "command grep"
+ * test: generalize check whether we're being run in a container
+ * tar: simplify locating tarball from command line
+ * pkg_delete: don't limit to FreeBSD
+ * test: reformat test_chromium_browser.py source
+ * test: set up BASH_COMPLETION_COMPAT_DIR in bashrc (only)
+ * test: more thorough system location interference avoidance
+ * test: bashrc comment and whitespace tweaks
+ * build: makefile whitespace tweaks
+ * build: really reset return value before completions check
+ * build: simplify symlink setup
+ * tar: add missing bsdtar, gtar, and star symlinks
+ * README: use light gray badges for unknown versions
+ * README: link to cygwin package
+ * ri: hush some warnings
+ * unrar: complete on *.exe (#337)
+ * chromium-browser: Add support for .mhtml files
+ * screen: complete first arg with serial devices
+ * gcc: support new --completion option (#222)
+ * unzip, zipinfo: complete *.aab (#340)
+ * cppcheck: Remove deprecated option 'posix' for '--std='
+- Remove gcc-564d068.patch and sh-script-completion-boo977336.patch
+ as these are implemented upstream.
+- Update to version 2.9:
+ * dpkg-source: Add --before-build --after-build --commit, and
+ --print-format
+ * xm: Deprecate completion for obsolete command (#284)
+ * _filedir_xspec: Fallback to suggesting all files if requested
+ (#260)
+ * tar: Support completions for zstd compression extensions (#255)
+ * dpkg: List held packages (#250)
+ * cvs: Add completion for the log command
+ * unzip, zipinfo: Associate with *.xar (eXist-db application
+ package) (#257)
+ * mplayer: Associate with *.w64
+ * okular: Added support for xz-compressed files.
+ * _xspecs: Declare as global on bash >= 4.2
+ * test: Increase expect pty to 160 columns
+ * test: avoid interrupting magic mark output
+ * 7z: add .msi support
+ * tshark: speed up tshark -O completion
+ * tshark: fix completion of -Xlua_script option
+ * tshark: Support preferences (-o) completion with memoization
+ * test: fix misinterpretation of completion output in tests
+ * test: fix flake8 complaints about unused imports
+ * conftest: fix RemovedInPytest4Warning due to use of
+ node.get_marker
+ * chromium-browser: consider chrome and chromium as aliases
+ * tshark: support .gz and .cap files for -r expansion
+ * tshark: prevent a single-character file from breaking -G
+ completion
++++ 372 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/bash-completion/bash-completion.changes
++++ and
/work/SRC/openSUSE:Factory/.bash-completion.new.6675/bash-completion.changes
Old:
----
bash-completion-2.8.tar.xz
gcc-564d068.patch
sh-script-completion-boo977336.patch
New:
----
bash-completion-2.10.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ bash-completion-doc.spec ++++++
--- /var/tmp/diff_new_pack.kzBaGN/_old 2020-01-10 18:40:09.951485890 +0100
+++ /var/tmp/diff_new_pack.kzBaGN/_new 2020-01-10 18:40:09.999485908 +0100
@@ -1,7 +1,7 @@
#
# spec file for package bash-completion-doc
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -20,12 +20,12 @@
%define _name bash-completion
# WARNING: Never edit this file!!! Edit bash-completion.spec and call
pre_checkin.sh to update bash-completion-doc.spec.
# Always set %%build_doc to 0 before submit to OBS.
-Version: 2.8
+Version: 2.10
Release: 0
Summary: The Documentation of Programmable Completion for Bash
License: GPL-2.0-or-later
Group: Development/Libraries/C and C++
-Url: https://github.com/scop/bash-completion/
+URL: https://github.com/scop/bash-completion/
Source0:
https://github.com/scop/bash-completion/releases/download/%{version}/%{_name}-%{version}.tar.xz
Source1: bash-completion-rpmlintrc
# PATCH-FIX-UPSTREAM bnc#717151 -- Terminal tab autocompletion error
@@ -48,8 +48,6 @@
Patch9: rm-completion-smart-boo958462.patch
# PATCH-FIX-SUSE boo#963140
Patch10: backticks-bsc963140.patch
-# PATCH-FIX-SUSE boo#977336
-Patch11: sh-script-completion-boo977336.patch
# PATCH-FIX-SUSE boo#1090515
Patch12: bash-completion-2.7-unRAR-remove.patch
BuildRequires: asciidoc
@@ -74,7 +72,6 @@
%patch8 -b .p8
%patch9 -b .p9
%patch10 -b .p10 -p1
-%patch11 -b .p11 -p0
%patch12 -b .p12 -p0
%build
++++++ bash-completion.spec ++++++
--- /var/tmp/diff_new_pack.kzBaGN/_old 2020-01-10 18:40:10.239485998 +0100
+++ /var/tmp/diff_new_pack.kzBaGN/_new 2020-01-10 18:40:10.243485999 +0100
@@ -1,7 +1,7 @@
#
# spec file for package bash-completion
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -22,12 +22,12 @@
%define build_core 1
# Always set %%build_doc to 0 before submit to OBS.
%define build_doc 0
-Version: 2.8
+Version: 2.10
Release: 0
Summary: Programmable Completion for Bash
License: GPL-2.0-or-later
Group: System/Shells
-Url: https://github.com/scop/bash-completion/
+URL: https://github.com/scop/bash-completion/
Source0:
https://github.com/scop/bash-completion/releases/download/%{version}/%{name}-%{version}.tar.xz
Source1: bash-completion-rpmlintrc
# PATCH-FIX-UPSTREAM bnc#717151 -- Terminal tab autocompletion error
@@ -50,12 +50,8 @@
Patch9: rm-completion-smart-boo958462.patch
# PATCH-FIX-SUSE boo#963140
Patch10: backticks-bsc963140.patch
-# PATCH-FIX-SUSE boo#977336
-Patch11: sh-script-completion-boo977336.patch
# PATCH-FIX-SUSE boo#1090515
Patch12: bash-completion-2.7-unRAR-remove.patch
-# PATCH-ENHANCE-SUSE from pull request 564d068 of Martin to upstream of
bash-completion
-Patch13: gcc-564d068.patch
%if %build_doc
BuildRequires: asciidoc
BuildRequires: libxslt-tools
@@ -108,9 +104,7 @@
%patch8 -b .p8
%patch9 -b .p9
%patch10 -b .p10 -p1
-%patch11 -b .p11 -p0
%patch12 -b .p12 -p0
-%patch13 -b .p13 -p0
%build
%configure
++++++ FOO-dir-completion-boo905348.patch ++++++
--- /var/tmp/diff_new_pack.kzBaGN/_old 2020-01-10 18:40:10.255486003 +0100
+++ /var/tmp/diff_new_pack.kzBaGN/_new 2020-01-10 18:40:10.255486003 +0100
@@ -4,15 +4,15 @@
--- bash_completion
+++ bash_completion 2017-07-04 07:44:47.556933294 +0000
-@@ -551,6 +551,7 @@ _filedir()
+@@ -555,6 +555,7 @@ _filedir()
local IFS=$'\n'
_tilde "$cur" || return
+ _dollar "$cur" || return
local -a toks
- local x tmp
-@@ -979,6 +980,41 @@ _tilde()
+ local reset
+@@ -1006,6 +1007,41 @@ _tilde()
return $result
}
@@ -54,7 +54,7 @@
# Expand variable starting with tilde (~)
# We want to expand ~foo/... to /home/foo/... to avoid problems when
-@@ -1666,7 +1702,16 @@ complete -F _known_hosts traceroute trac
+@@ -1720,7 +1756,16 @@ complete -F _known_hosts traceroute traceroute6 \
_cd()
{
local cur prev words cword
++++++ LVM-completion-bsc946875.patch ++++++
--- /var/tmp/diff_new_pack.kzBaGN/_old 2020-01-10 18:40:10.259486005 +0100
+++ /var/tmp/diff_new_pack.kzBaGN/_new 2020-01-10 18:40:10.259486005 +0100
@@ -25,7 +25,7 @@
diff --git a/completions/lvm b/completions/lvm
--- a/completions/lvm
+++ b/completions/lvm
-@@ -6,27 +6,41 @@
+@@ -6,27 +6,41 @@ _lvm_filedir()
_filedir
}
@@ -37,41 +37,41 @@
+
_lvm_volumegroups()
{
-- COMPREPLY=( $(compgen -W "$( vgscan 2>/dev/null | \
+- COMPREPLY=( $(compgen -W "$(vgscan 2>/dev/null | \
+ local verbose
+ _lvm_verbose && verbose=-v
+ COMPREPLY=( $(compgen -W "$( vgscan $verbose 2>/dev/null | \
- command sed -n -e 's|.*Found.*"\(.*\)".*$|\1|p' )" -- "$cur" ) )
+ command sed -n -e 's|.*Found.*"\(.*\)".*$|\1|p' )" -- "$cur") )
}
_lvm_physicalvolumes_all()
{
-- COMPREPLY=( $(compgen -W "$( pvscan 2>/dev/null | \
+- COMPREPLY=( $(compgen -W "$(pvscan 2>/dev/null | \
+ local verbose
+ _lvm_verbose && verbose=-v
+ COMPREPLY=( $(compgen -W "$( pvscan $verbose 2>/dev/null | \
- command sed -n -e 's|^.*PV \([^ ]*\) .*|\1|p' )" -- "$cur" ) )
+ command sed -n -e 's|^.*PV \([^ ]*\) .*|\1|p' )" -- "$cur") )
}
_lvm_physicalvolumes()
{
-- COMPREPLY=( $(compgen -W "$( pvscan 2>/dev/null | \
+- COMPREPLY=( $(compgen -W "$(pvscan 2>/dev/null | \
+ local verbose
+ _lvm_verbose && verbose=-v
+ COMPREPLY=( $(compgen -W "$( pvscan $verbose 2>/dev/null | \
- command sed -n -e 's|^.*PV \(.*\) VG.*$|\1|p' )" -- "$cur" ) )
+ command sed -n -e 's|^.*PV \(.*\) VG.*$|\1|p' )" -- "$cur") )
}
_lvm_logicalvolumes()
{
-- COMPREPLY=( $(compgen -W "$( lvscan 2>/dev/null | \
+- COMPREPLY=( $(compgen -W "$(lvscan 2>/dev/null | \
+ local verbose
+ _lvm_verbose && verbose=-v
+ COMPREPLY=( $(compgen -W "$( lvscan $verbose 2>/dev/null | \
- command sed -n -e "s|^.*'\(.*\)'.*$|\1|p" )" -- "$cur" ) )
+ command sed -n -e "s|^.*'\(.*\)'.*$|\1|p" )" -- "$cur") )
if [[ $cur == /dev/mapper/* ]]; then
_filedir
-@@ -394,7 +408,7 @@
+@@ -385,7 +399,7 @@ _vgreduce()
if [[ $args -eq 0 ]]; then
_lvm_volumegroups
else
@@ -80,7 +80,7 @@
fi
fi
} &&
-@@ -709,7 +723,7 @@
+@@ -699,7 +713,7 @@ _lvcreate()
if [[ $args -eq 0 ]]; then
_lvm_volumegroups
else
++++++ PS1-completion-boo903362.patch ++++++
--- /var/tmp/diff_new_pack.kzBaGN/_old 2020-01-10 18:40:10.263486007 +0100
+++ /var/tmp/diff_new_pack.kzBaGN/_new 2020-01-10 18:40:10.267486008 +0100
@@ -4,10 +4,11 @@
--- bash_completion.sh.in
+++ bash_completion.sh.in 2017-07-04 07:42:39.171304553 +0000
-@@ -1,5 +1,5 @@
+@@ -1,6 +1,6 @@
+ # shellcheck shell=sh disable=SC1091,SC2039,SC2166
# Check for interactive bash and that we haven't already been sourced.
--if [ -n "${BASH_VERSION-}" -a -n "${PS1-}" -a -z
"${BASH_COMPLETION_VERSINFO-}" ]; then
+-if [ "x${BASH_VERSION-}" != x -a "x${PS1-}" != x -a
"x${BASH_COMPLETION_VERSINFO-}" = x ]; then
+if [[ -n "${BASH_VERSION-}" && $- = *i* && -z "${BASH_COMPLETION_VERSINFO-}"
]]; then
# Check for recent enough version of bash.
- if [ ${BASH_VERSINFO[0]} -gt 4 ] || \
+ if [ "${BASH_VERSINFO[0]}" -gt 4 ] || \
++++++ bash-completion-2.8.tar.xz -> bash-completion-2.10.tar.xz ++++++
++++ 66458 lines of diff (skipped)
++++++ bash-completion-2.4.patch ++++++
--- /var/tmp/diff_new_pack.kzBaGN/_old 2020-01-10 18:40:11.103486322 +0100
+++ /var/tmp/diff_new_pack.kzBaGN/_new 2020-01-10 18:40:11.103486322 +0100
@@ -4,7 +4,7 @@
--- bash_completion
+++ bash_completion 2017-07-04 07:40:15.221922680 +0000
-@@ -1881,12 +1881,13 @@ _longopt()
+@@ -1938,12 +1938,13 @@ _longopt()
fi
}
# makeinfo and texi2dvi are defined elsewhere.
@@ -21,5 +21,5 @@
+ texindex touch tr unexpand uniq vdir wc who
+complete -F _longopt -o default env netstat seq uname units
- declare -A _xspecs
- _filedir_xspec()
+ # declare only knows -g in bash >= 4.2.
+ if [[ ${BASH_VERSINFO[0]} -gt 4 || ${BASH_VERSINFO[1]} -ge 2 ]]; then
++++++ bash-completion-2.7-unRAR-remove.patch ++++++
--- /var/tmp/diff_new_pack.kzBaGN/_old 2020-01-10 18:40:11.131486333 +0100
+++ /var/tmp/diff_new_pack.kzBaGN/_new 2020-01-10 18:40:11.131486333 +0100
@@ -6,21 +6,21 @@
--- completions/7z
+++ completions/7z 2018-04-24 09:17:49.392549710 +0000
-@@ -75,7 +75,7 @@ _7z()
+@@ -71,7 +71,7 @@ _7z()
else
- COMPREPLY=( $( compgen -P${cur:0:2} -W '7z apm arj bzip2 cab
+ COMPREPLY=( $(compgen -P${cur:0:2} -W '7z apm arj bzip2 cab
chm cpio cramfs deb dmg elf fat flv gzip hfs iso lzh lzma
- lzma86 macho mbr mslz mub nsis ntfs pe ppmd rar rpm
+ lzma86 macho mbr mslz mub nsis ntfs pe ppmd rpm
squashfs swf swfc tar udf vhd wim xar xz z zip' \
- -- "${cur:2}" ) )
+ -- "${cur:2}") )
fi
-@@ -101,7 +101,7 @@ _7z()
- _filedir_xspec unzip
+@@ -105,7 +105,7 @@ _7z()
+ # (assumption: extensions are all lowercase)
[[ $mode == w ]] &&
_filedir '@(7z|bz2|swf|?(g)tar|?(t)[bglx]z|tb?(z)2|wim)' ||
-- _filedir
'@(7z|arj|bz2|cab|chm|cpio|deb|dmg|flv|gem|img|iso|lz[ah]|lzma?(86)|pmd|[rx]ar|rpm|sw[fm]|?(g)tar|taz|?(t)[bglx]z|tb?(z)2|vhd|wim|Z)'
-+ _filedir
'@(7z|arj|bz2|cab|chm|cpio|deb|dmg|flv|gem|img|iso|lz[ah]|lzma?(86)|pmd|xar|rpm|sw[fm]|?(g)tar|taz|?(t)[bglx]z|tb?(z)2|vhd|wim|Z)'
+- _filedir
'@(7z|arj|bz2|cab|chm|cpio|deb|dmg|flv|gem|img|iso|lz[ah]|lzma?(86)|msi|pmd|[rx]ar|rpm|sw[fm]|?(g)tar|taz|?(t)[bglx]z|tb?(z)2|vhd|wim|Z)'
++ _filedir
'@(7z|arj|bz2|cab|chm|cpio|deb|dmg|flv|gem|img|iso|lz[ah]|lzma?(86)|msi|pmd|xar|rpm|sw[fm]|?(g)tar|taz|?(t)[bglx]z|tb?(z)2|vhd|wim|Z)'
else
if [[ ${words[1]} == d ]]; then
local IFS=$'\n'
++++++ ls-completion-boo889319.patch ++++++
--- /var/tmp/diff_new_pack.kzBaGN/_old 2020-01-10 18:40:11.219486366 +0100
+++ /var/tmp/diff_new_pack.kzBaGN/_new 2020-01-10 18:40:11.227486369 +0100
@@ -4,7 +4,7 @@
--- bash_completion
+++ bash_completion 2017-07-04 07:45:25.480233012 +0000
-@@ -1928,11 +1928,12 @@ _longopt()
+@@ -1940,11 +1940,12 @@ _longopt()
# makeinfo and texi2dvi are defined elsewhere.
complete -F _longopt -o filenames a2ps awk base64 bash bc bison cat chroot
colordiff cp \
csplit cut date df diff dir du enscript expand fmt fold gperf \
@@ -16,5 +16,5 @@
complete -F _longopt -o default env netstat seq uname units
+complete -F _longopt -o bashdefault -o default -o filenames -o nospace ls ll
la l ls-l lf
- declare -A _xspecs
- _filedir_xspec()
+ # declare only knows -g in bash >= 4.2.
+ if [[ ${BASH_VERSINFO[0]} -gt 4 || ${BASH_VERSINFO[1]} -ge 2 ]]; then
++++++ rm-completion-smart-boo958462.patch ++++++
--- /var/tmp/diff_new_pack.kzBaGN/_old 2020-01-10 18:40:11.251486378 +0100
+++ /var/tmp/diff_new_pack.kzBaGN/_new 2020-01-10 18:40:11.251486378 +0100
@@ -9,7 +9,7 @@
--- bash_completion
+++ bash_completion 2017-07-04 07:48:24.632925756 +0000
-@@ -1945,11 +1945,13 @@ _longopt()
+@@ -1941,11 +1941,13 @@ _longopt()
complete -F _longopt -o filenames a2ps awk base64 bash bc bison cat chroot
colordiff cp \
csplit cut date df diff dir du enscript expand fmt fold gperf \
grep grub head irb ld ldd less ln m4 md5sum mkdir mkfifo mknod \
@@ -22,5 +22,5 @@
+complete -F _longopt -o bashdefault -o default -o filenames -o nospace rm
rmdir
+
- declare -A _xspecs
- _filedir_xspec()
+ # declare only knows -g in bash >= 4.2.
+ if [[ ${BASH_VERSINFO[0]} -gt 4 || ${BASH_VERSINFO[1]} -ge 2 ]]; then