Hello community,

here is the log from the commit of package bash-completion for openSUSE:Factory 
checked in at 2020-08-23 09:19:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bash-completion (Old)
 and      /work/SRC/openSUSE:Factory/.bash-completion.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bash-completion"

Sun Aug 23 09:19:16 2020 rev:50 rq:827973 version:2.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/bash-completion/bash-completion-doc.changes      
2020-04-04 12:19:45.551641387 +0200
+++ 
/work/SRC/openSUSE:Factory/.bash-completion.new.3399/bash-completion-doc.changes
    2020-08-23 09:19:18.078622682 +0200
@@ -1,0 +2,370 @@
+Tue Aug 18 23:13:19 UTC 2020 - Matthias Eliasson <[email protected]>
+
+- Update to version 2.11:
+  * _known_hosts_real: check that ruptime is present before calling
+    (#390)
+  * totem: reuse kaffeine completions (#372)
+  * __reassemble_comp_words_by_ref: avoid triggering nounset on
+    indirect references
+  * lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
+    files (#397)
+  * ip: complete route add table arg
+  * ip: style fixes similar to ip-netns
+  * ip: add more completions for ip-rule
+  * ip: add support for netns (#391)
+  * ip: improve completion of route subcommands (#326)
+  * unzip, zipinfo: complete *.aar (#428)
+  * ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
+  * python: support executables with minor version (#389)
+  * insmod, modinfo, modprobe: support xz compressed modules (#401)
+  * tshark: complete -r arg with all filenames (#422)
+  * openssl: update -starttls completions (#403)
+  * _filedir*: update link to bug-bash discussion on -X (#404)
+  * test/python: add testcase for submodule completion
+  * Release 2.11
+  * extra/make-changelog: check and output usage message
+  * pre-commit: anchor exclude patterns
+  * pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
+    and classes
+  * test/xfreerdp: skip --help failure cases
+  * test/tshark: fix multiple -O completion with no http2 support
+  * test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
+  * _xinetd_services: avoid nounset error on bash 4.2
+  * pre-commit: upgrade isort to 5.1.4
+  * pre-commit: upgrade pyupgrade to 2.7.2
+  * pre-commit: add pyupgrade, run it
+  * test/ant: gitignore all target cache files
+  * _known_hosts_real: exclude Host negations
+  * pre-commit: upgrade isort to 5.0.7
+  * pre-commit: update shellcheck-py URL
+  * test/inputrc: do not set print-completions-horizontally
+  * test/inputrc: comment typo fix
+  * pytest: complete async test class methods
+  * __get_cword_at_cursor_by_ref: fix regression on bash 4.2
+  * test: upgrade markdownlint-cli to 0.23.2
+  * _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
+    16
+  * _longopt: exclude too many dashes, allow underscores, require ends
+    with alnum
+  * _included_ssh_config_files: support globs
+  * _known_hosts_real: prevent unwanted pathname expansion on host
+    entries
+  * test/shfmt: upgrade to 3.1.2, reformat with it
+  * test/_known_hosts_real: add explicit no globbing test case
+  * test: upgrade mypy to 0.782
+  * CONTRIBUTING.md: add posix and nounset mode item
+  * test: upgrade mypy to 0.781
+  * test: upgrade perltidy to 20200619
+  * _known_hosts_real: fix completion of Host entries after a wildcard
+    etc
+  * _known_hosts_real: fix # handling in ssh configs
+  * test: upgrade flake8 to 3.8.3
+  * test/xhost: multiple expected result handling fixes
+  * test/slapt-src: single expected result handling fixes
+  * test: partial hostname completion fixes
+  * test: simplify completion parsing
+  * test/dpkg-query: mark as xfail on non-Debian based systems
+  * .gitignore: clean up some no longer needed ignores
+  * test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
+    lspci
+  * test: regex escape our magic mark for completeness
+  * test: upgrade mypy to 0.780
+  * test/_known_hosts_real: don't modify class scoped base expected
+    list
+  * test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
+    between tests
+  * test/_known_hosts_real: tolerate duplicates
+  * bash_completion: trivial cleanups
+  * gcc: avoid errors in nounset mode
+  * pytest: fix test class method completion with BSD awk
+  * man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
+  * java, make: avoid errors in nounset mode on Ubuntu 14 and 16
+  * README: document GNU make build requirement
+  * pytest: add test class method completion
+  * _known_hosts: avoid errors in nounset mode and no arguments
+  * bash_completion: fix array set checks with empty elements in them
+  * *: avoid more errors in nounset mode
+  * cfrun: fix $hostfile leak
+  * _command_offset, route: cleanups
+  * *: avoid more errors in nounset mode
+  * qemu: add -machine arg completion
+  * qemu, sbopkg: avoid unintentional globbing on option arg
+    completions
+  * test: enable shellcheck SC2035
+  * *: drop support for bash 4.1
+  * _init_completion: fix unassigned redirect completion in nounset
+    mode
+  * ip: route shfmt, arithmetic evaluation
+  * _filedir: avoid unbound variable error on Ubuntu 14 and 16
+  * _pids, _pgids, _pnames: improve shfmt formatting
+  * scp, sftp, ssh: fix completion on options bundled with -4/-6
+  * modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
+    [ ]
+  * test/runLint: warn about [ ] instead of [[ ]] use
+  * test: skip various tests if we don't get a useful usage message
+  * *: mark nounset mode as supported, issues with it are bugs now
+  * *: avoid more errors in nounset mode
+  * *: avoid more errors in nounset mode
+  * *: avoid more errors in nounset mode
+  * test/inputrc: comment and whitespace tweaks
+  * *: avoid more errors in nounset mode
+  * test/unit: sort files included in dist
+  * test/unit: include test_unit_known_hosts_real.py in dist
+  * bash_completion: line wrapping tweaks, NFC
+  * 7z: fix -o/-w attached arg completion
+  * postfix: try to arrange a fake tty so we can tickle the usage
+    message out
+  * _bashcomp_try_faketty: new function to try running command with a
+    fake tty
+  * mr: avoid herestrings, simplify command parsing
+  * test/mr: handle missing "clean" with skipif
+  * test: mark known non-ASCII issues with test suite as xfail
+  * dpkg-deb: add --raw-extract and -X arg completions
+  * test: add some dpkg-query test cases
+  * dpkg-deb: fix --show/-W completion
+  * test: upgrade markdownlint-cli to 0.23.1
+  * *: use more arithmetic evaluation
+  * test: try harder to restore environment and cwd on failures
+  * *: use $ifs for storing/restoring $IFS
+  * test/irb: xfail options test if --help is not available
+  * test: upgrade flake8 to 3.8.1
+  * test: pre-commit config cleanups, ordering
+  * test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
+  * test: sync shfmt and shellcheck configs
+  * test: shfmt bashrc
+  * test: remove unused run-shellcheck, shellcheck is in pre-commit
+    now
+  * test: remove old test suite code no longer used \o/
+  * test/_known_hosts_real: port remaining test cases to
+    pytest+pexpect
+  * test: remove more no longer needed old test suite code
+  * test/_known_hosts_real: port more test cases to pytest+pexpect
+  * test/_get_cword: port remaining test case to pytest+pexpect
+  * test: replace some echos with printfs
+  * test/_filedir: fix shutil.rmtree on Python < 3.6
+  * test/_expand: port remaining test cases to pytest+pexpect
+  * test: drop some no longer needed old test suite code
+  * test/_filedir: port remaining test cases to pytest+pexpect
+  * test: run all Travis jobs on dist: bionic
+  * test: drop not needed sudo on Travis
+  * test/_filedir: port more test cases to pytest+pexpect
+  * test/__expand_tilde_by_ref: port remaining test cases to
+    pytest+pexpect
+  * test/_get_comp_words_by_ref: convert remaining test cases to
+    pytest+pexpect
+  * test: run pytest --verbose in docker
+  * lftp: use "bookmark list" command to list bookmarks
+  * test: drop some no longer needed old test suite code
+  * test/slapt-src: convert remaining test case to pytest+pexpect
+  * _xfunc: simplify
+  * apt-cache: avoid nonzero exit code from _apt_cache_packages
+  * test/slapt-get: convert remaining test case to pytest+pexpect
+  * test/secret-tool: add to test command list
+  * test/scp: port remaining test case to pytest+pexpect
+  * test/umount: convert remaining test case to pytest+pexpect
+  * secret-tool: new completion
+  * apt-get: complete build-dep with dirs
+  * travis: use golang 1.14 for shfmt
+  * *: run all shell code through shfmt -s
+  * pre-commit etc: add shfmt
+  * test: fix incorrect fixtures/shared/default xfails/expectations
+  * test: upgrade markdownlint to 0.23.0
+  * nmap: simplify help scraping a bit, don't try to emit unnecessary
+    newlines
+  * test: prefix fake test commands with underscore
+  * test: port most umount test cases to pytest+pexpect
+  * test: add note about unescaped assert_complete single return
+    values
+  * editorconfig: apply yaml settings to .yaml too
+  * pre-commit: use local perlcritic hook
+  * *: doc and comment link updates
+  * pre-commit, *.md: add markdownlint, address findings
+  * README: clarify loading automatically on demand
+  * ssh-keygen: -O arg updates and improvements
+  * ssh-keygen: add -b arg completions according to specified -t
+  * ssh-keygen: option and arg completion updates for new versions
+  * _command: improve commentary
+  * reportbug, scp, sftp, svn: use compgen -c instead of _command
+  * find: fix -exec etc argument and its completion
+  * extra: trigger docker builds only on test-cmd-list.txt changes
+  * test: add script to maintain list of executables for full test
+    coverage
+  * test: run lint tests on Travis in a quickish separate first stage
+  * test/make: mark more cases as requiring command
+  * make: add bmake alias
+  * test: run pre-commit on host instead of docker
+  * test: add perlcritic to pre-commit, run on all perl
+  * *: remove some unused variables, thanks to shellcheck SC2034
++++ 173 more lines (skipped)
++++ between 
/work/SRC/openSUSE:Factory/bash-completion/bash-completion-doc.changes
++++ and 
/work/SRC/openSUSE:Factory/.bash-completion.new.3399/bash-completion-doc.changes
--- /work/SRC/openSUSE:Factory/bash-completion/bash-completion.changes  
2020-06-25 16:47:47.820980106 +0200
+++ 
/work/SRC/openSUSE:Factory/.bash-completion.new.3399/bash-completion.changes    
    2020-08-23 09:19:19.674623567 +0200
@@ -1,0 +2,347 @@
+Tue Aug 18 23:13:19 UTC 2020 - Matthias Eliasson <[email protected]>
+
+- Update to version 2.11:
+  * _known_hosts_real: check that ruptime is present before calling
+    (#390)
+  * totem: reuse kaffeine completions (#372)
+  * __reassemble_comp_words_by_ref: avoid triggering nounset on
+    indirect references
+  * lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
+    files (#397)
+  * ip: complete route add table arg
+  * ip: style fixes similar to ip-netns
+  * ip: add more completions for ip-rule
+  * ip: add support for netns (#391)
+  * ip: improve completion of route subcommands (#326)
+  * unzip, zipinfo: complete *.aar (#428)
+  * ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
+  * python: support executables with minor version (#389)
+  * insmod, modinfo, modprobe: support xz compressed modules (#401)
+  * tshark: complete -r arg with all filenames (#422)
+  * openssl: update -starttls completions (#403)
+  * _filedir*: update link to bug-bash discussion on -X (#404)
+  * test/python: add testcase for submodule completion
+  * Release 2.11
+  * extra/make-changelog: check and output usage message
+  * pre-commit: anchor exclude patterns
+  * pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
+    and classes
+  * test/xfreerdp: skip --help failure cases
+  * test/tshark: fix multiple -O completion with no http2 support
+  * test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
+  * _xinetd_services: avoid nounset error on bash 4.2
+  * pre-commit: upgrade isort to 5.1.4
+  * pre-commit: upgrade pyupgrade to 2.7.2
+  * pre-commit: add pyupgrade, run it
+  * test/ant: gitignore all target cache files
+  * _known_hosts_real: exclude Host negations
+  * pre-commit: upgrade isort to 5.0.7
+  * pre-commit: update shellcheck-py URL
+  * test/inputrc: do not set print-completions-horizontally
+  * test/inputrc: comment typo fix
+  * pytest: complete async test class methods
+  * __get_cword_at_cursor_by_ref: fix regression on bash 4.2
+  * test: upgrade markdownlint-cli to 0.23.2
+  * _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
+    16
+  * _longopt: exclude too many dashes, allow underscores, require ends
+    with alnum
+  * _included_ssh_config_files: support globs
+  * _known_hosts_real: prevent unwanted pathname expansion on host
+    entries
+  * test/shfmt: upgrade to 3.1.2, reformat with it
+  * test/_known_hosts_real: add explicit no globbing test case
+  * test: upgrade mypy to 0.782
+  * CONTRIBUTING.md: add posix and nounset mode item
+  * test: upgrade mypy to 0.781
+  * test: upgrade perltidy to 20200619
+  * _known_hosts_real: fix completion of Host entries after a wildcard
+    etc
+  * _known_hosts_real: fix # handling in ssh configs
+  * test: upgrade flake8 to 3.8.3
+  * test/xhost: multiple expected result handling fixes
+  * test/slapt-src: single expected result handling fixes
+  * test: partial hostname completion fixes
+  * test: simplify completion parsing
+  * test/dpkg-query: mark as xfail on non-Debian based systems
+  * .gitignore: clean up some no longer needed ignores
+  * test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
+    lspci
+  * test: regex escape our magic mark for completeness
+  * test: upgrade mypy to 0.780
+  * test/_known_hosts_real: don't modify class scoped base expected
+    list
+  * test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
+    between tests
+  * test/_known_hosts_real: tolerate duplicates
+  * bash_completion: trivial cleanups
+  * gcc: avoid errors in nounset mode
+  * pytest: fix test class method completion with BSD awk
+  * man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
+  * java, make: avoid errors in nounset mode on Ubuntu 14 and 16
+  * README: document GNU make build requirement
+  * pytest: add test class method completion
+  * _known_hosts: avoid errors in nounset mode and no arguments
+  * bash_completion: fix array set checks with empty elements in them
+  * *: avoid more errors in nounset mode
+  * cfrun: fix $hostfile leak
+  * _command_offset, route: cleanups
+  * *: avoid more errors in nounset mode
+  * qemu: add -machine arg completion
+  * qemu, sbopkg: avoid unintentional globbing on option arg
+    completions
+  * test: enable shellcheck SC2035
+  * *: drop support for bash 4.1
+  * _init_completion: fix unassigned redirect completion in nounset
+    mode
+  * ip: route shfmt, arithmetic evaluation
+  * _filedir: avoid unbound variable error on Ubuntu 14 and 16
+  * _pids, _pgids, _pnames: improve shfmt formatting
+  * scp, sftp, ssh: fix completion on options bundled with -4/-6
+  * modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
+    [ ]
+  * test/runLint: warn about [ ] instead of [[ ]] use
+  * test: skip various tests if we don't get a useful usage message
+  * *: mark nounset mode as supported, issues with it are bugs now
+  * *: avoid more errors in nounset mode
+  * *: avoid more errors in nounset mode
+  * *: avoid more errors in nounset mode
+  * test/inputrc: comment and whitespace tweaks
+  * *: avoid more errors in nounset mode
+  * test/unit: sort files included in dist
+  * test/unit: include test_unit_known_hosts_real.py in dist
+  * bash_completion: line wrapping tweaks, NFC
+  * 7z: fix -o/-w attached arg completion
+  * postfix: try to arrange a fake tty so we can tickle the usage
+    message out
+  * _bashcomp_try_faketty: new function to try running command with a
+    fake tty
+  * mr: avoid herestrings, simplify command parsing
+  * test/mr: handle missing "clean" with skipif
+  * test: mark known non-ASCII issues with test suite as xfail
+  * dpkg-deb: add --raw-extract and -X arg completions
+  * test: add some dpkg-query test cases
+  * dpkg-deb: fix --show/-W completion
+  * test: upgrade markdownlint-cli to 0.23.1
+  * *: use more arithmetic evaluation
+  * test: try harder to restore environment and cwd on failures
+  * *: use $ifs for storing/restoring $IFS
+  * test/irb: xfail options test if --help is not available
+  * test: upgrade flake8 to 3.8.1
+  * test: pre-commit config cleanups, ordering
+  * test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
+  * test: sync shfmt and shellcheck configs
+  * test: shfmt bashrc
+  * test: remove unused run-shellcheck, shellcheck is in pre-commit
+    now
+  * test: remove old test suite code no longer used \o/
+  * test/_known_hosts_real: port remaining test cases to
+    pytest+pexpect
+  * test: remove more no longer needed old test suite code
+  * test/_known_hosts_real: port more test cases to pytest+pexpect
+  * test/_get_cword: port remaining test case to pytest+pexpect
+  * test: replace some echos with printfs
+  * test/_filedir: fix shutil.rmtree on Python < 3.6
+  * test/_expand: port remaining test cases to pytest+pexpect
+  * test: drop some no longer needed old test suite code
+  * test/_filedir: port remaining test cases to pytest+pexpect
+  * test: run all Travis jobs on dist: bionic
+  * test: drop not needed sudo on Travis
+  * test/_filedir: port more test cases to pytest+pexpect
+  * test/__expand_tilde_by_ref: port remaining test cases to
+    pytest+pexpect
+  * test/_get_comp_words_by_ref: convert remaining test cases to
+    pytest+pexpect
+  * test: run pytest --verbose in docker
+  * lftp: use "bookmark list" command to list bookmarks
+  * test: drop some no longer needed old test suite code
+  * test/slapt-src: convert remaining test case to pytest+pexpect
+  * _xfunc: simplify
+  * apt-cache: avoid nonzero exit code from _apt_cache_packages
+  * test/slapt-get: convert remaining test case to pytest+pexpect
+  * test/secret-tool: add to test command list
+  * test/scp: port remaining test case to pytest+pexpect
+  * test/umount: convert remaining test case to pytest+pexpect
+  * secret-tool: new completion
+  * apt-get: complete build-dep with dirs
+  * travis: use golang 1.14 for shfmt
+  * *: run all shell code through shfmt -s
+  * pre-commit etc: add shfmt
+  * test: fix incorrect fixtures/shared/default xfails/expectations
+  * test: upgrade markdownlint to 0.23.0
+  * nmap: simplify help scraping a bit, don't try to emit unnecessary
+    newlines
+  * test: prefix fake test commands with underscore
+  * test: port most umount test cases to pytest+pexpect
+  * test: add note about unescaped assert_complete single return
+    values
+  * editorconfig: apply yaml settings to .yaml too
+  * pre-commit: use local perlcritic hook
+  * *: doc and comment link updates
+  * pre-commit, *.md: add markdownlint, address findings
+  * README: clarify loading automatically on demand
+  * ssh-keygen: -O arg updates and improvements
+  * ssh-keygen: add -b arg completions according to specified -t
+  * ssh-keygen: option and arg completion updates for new versions
+  * _command: improve commentary
+  * reportbug, scp, sftp, svn: use compgen -c instead of _command
+  * find: fix -exec etc argument and its completion
+  * extra: trigger docker builds only on test-cmd-list.txt changes
+  * test: add script to maintain list of executables for full test
+    coverage
+  * test: run lint tests on Travis in a quickish separate first stage
+  * test/make: mark more cases as requiring command
+  * make: add bmake alias
+  * test: run pre-commit on host instead of docker
+  * test: add perlcritic to pre-commit, run on all perl
+  * *: remove some unused variables, thanks to shellcheck SC2034
++++ 150 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/bash-completion/bash-completion.changes
++++ and 
/work/SRC/openSUSE:Factory/.bash-completion.new.3399/bash-completion.changes

Old:
----
  bash-completion-2.10.tar.xz

New:
----
  bash-completion-2.11.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bash-completion-doc.spec ++++++
--- /var/tmp/diff_new_pack.VBB1Vk/_old  2020-08-23 09:19:22.578625176 +0200
+++ /var/tmp/diff_new_pack.VBB1Vk/_new  2020-08-23 09:19:22.582625178 +0200
@@ -16,15 +16,14 @@
 #
 
 
-Name:           bash-completion-doc
 %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.10
+Name:           bash-completion-doc
+Version:        2.11
 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/
 Source0:        
https://github.com/scop/bash-completion/releases/download/%{version}/%{_name}-%{version}.tar.xz
 Source1:        bash-completion-rpmlintrc
@@ -36,10 +35,10 @@
 Patch2:         PS1-completion-boo903362.patch
 # PATCH-FIX-SUSE boo#905348 -- tab completion with shell variable changes 
command line with backslash
 Patch3:         FOO-dir-completion-boo905348.patch
-# PATCH-FIX-SUSE boo#889319
-Patch5:         ls-completion-boo889319.patch
 # PATCH-FIX-SUSE
 Patch4:         qdbus-qt5.patch
+# PATCH-FIX-SUSE boo#889319
+Patch5:         ls-completion-boo889319.patch
 # PATCH-FIX-SUSE boo#940835
 Patch6:         backtick-completion-boo940835.patch
 # PATCH-FIX-SUSE bsc#946875
@@ -51,12 +50,12 @@
 # PATCH-FIX-SUSE boo#963140
 Patch10:        backticks-bsc963140.patch
 # PATCH-FIX-SUSE boo#1090515
-Patch12:        bash-completion-2.7-unRAR-remove.patch
+Patch11:        bash-completion-2.7-unRAR-remove.patch
 # PATCH-FIX-SUSE boo#1167952
-Patch13:        
bash-completion-fix-missing-directory-completion-with-filename-pattern.patch
+Patch12:        
bash-completion-fix-missing-directory-completion-with-filename-pattern.patch
 BuildRequires:  asciidoc
 BuildRequires:  libxslt-tools
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 Provides:       bash-completion:%{_defaultdocdir}/%{_name}/AUTHORS
 BuildArch:      noarch
 
@@ -65,20 +64,7 @@
 package bash-completion.
 
 %prep
-%setup -q -n %{_name}-%{version}
-%patch0 -b .p0
-%patch1 -b .p1
-%patch2 -b .p2
-%patch3 -b .p3
-%patch4 -b .p4 -p1
-%patch5 -b .p5
-%patch6 -b .p6
-%patch7 -b .p7 -p1
-%patch8 -b .p8
-%patch9 -b .p9
-%patch10 -b .p10 -p1
-%patch12 -b .p12 -p0
-%patch13 -b .p13 -p1
+%autosetup -p1 -n %{_name}-%{version}
 
 %build
 %configure
@@ -96,7 +82,6 @@
 install -m 0644 README.md  %{buildroot}%{_defaultdocdir}/%{_name}/README
 
 %files
-%defattr(-,root,root)
 %dir %{_defaultdocdir}/%{_name}
 %{_defaultdocdir}/%{_name}/AUTHORS
 %{_defaultdocdir}/%{_name}/README

++++++ bash-completion.spec ++++++
--- /var/tmp/diff_new_pack.VBB1Vk/_old  2020-08-23 09:19:22.606625192 +0200
+++ /var/tmp/diff_new_pack.VBB1Vk/_new  2020-08-23 09:19:22.610625193 +0200
@@ -16,17 +16,16 @@
 #
 
 
-Name:           bash-completion
 # WARNING: After editing this file please call pre_checkin.sh to update 
bash-completion-doc.spec.
 # Do not change %%build_core.
 %define build_core 1
 # Always set %%build_doc to 0 before submit to OBS.
 %define build_doc 0
-Version:        2.10
+Name:           bash-completion
+Version:        2.11
 Release:        0
 Summary:        Programmable Completion for Bash
 License:        GPL-2.0-or-later
-Group:          System/Shells
 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
@@ -38,10 +37,10 @@
 Patch2:         PS1-completion-boo903362.patch
 # PATCH-FIX-SUSE boo#905348 -- tab completion with shell variable changes 
command line with backslash
 Patch3:         FOO-dir-completion-boo905348.patch
-# PATCH-FIX-SUSE boo#889319
-Patch5:         ls-completion-boo889319.patch
 # PATCH-FIX-SUSE
 Patch4:         qdbus-qt5.patch
+# PATCH-FIX-SUSE boo#889319
+Patch5:         ls-completion-boo889319.patch
 # PATCH-FIX-SUSE boo#940835
 Patch6:         backtick-completion-boo940835.patch
 # PATCH-FIX-SUSE bsc#946875
@@ -53,31 +52,28 @@
 # PATCH-FIX-SUSE boo#963140
 Patch10:        backticks-bsc963140.patch
 # PATCH-FIX-SUSE boo#1090515
-Patch12:        bash-completion-2.7-unRAR-remove.patch
+Patch11:        bash-completion-2.7-unRAR-remove.patch
 # PATCH-FIX-SUSE boo#1167952
-Patch13:        
bash-completion-fix-missing-directory-completion-with-filename-pattern.patch
-%if %build_doc
+Patch12:        
bash-completion-fix-missing-directory-completion-with-filename-pattern.patch
+BuildRequires:  libtool
+BuildRequires:  pkgconfig
+BuildArch:      noarch
+%if %{build_doc}
 BuildRequires:  asciidoc
 BuildRequires:  libxslt-tools
 %endif
-BuildRequires:  libtool
-BuildRequires:  pkg-config
-%if %build_core
+%if %{build_core}
 BuildRequires:  cmake
 BuildRequires:  util-linux
 Requires:       bash
 %endif
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildArch:      noarch
-
-%if %build_core
+%if %{build_core}
 %description
 bash-completion is a collection of shell functions that take advantage
 of the programmable completion feature of Bash 2.04 and later.
 
 %package devel
 Summary:        The Configuration of Programmable Completion for Bash
-Group:          Development/Libraries/C and C++
 Provides:       bash-completion:%{_datadir}/pkgconfig/bash-completion.pc
 
 %description devel
@@ -85,10 +81,10 @@
 package bash-completion.
 
 %endif
-%if %build_doc
+
+%if %{build_doc}
 %package doc
 Summary:        The Documentation of Programmable Completion for Bash
-Group:          Development/Libraries/C and C++
 Provides:       bash-completion:%{_defaultdocdir}/%{name}/AUTHORS
 BuildArch:      noarch
 
@@ -97,29 +93,17 @@
 package bash-completion.
 
 %endif
+
 %prep
-%setup -q
-%patch0 -b .p0
-%patch1 -b .p1
-%patch2 -b .p2
-%patch3 -b .p3
-%patch4 -b .p4 -p1
-%patch5 -b .p5
-%patch6 -b .p6
-%patch7 -b .p7 -p1
-%patch8 -b .p8
-%patch9 -b .p9
-%patch10 -b .p10 -p1
-%patch12 -b .p12 -p0
-%patch13 -b .p13 -p1
+%autosetup -p1
 
 %build
 autoreconf -fiv
 %configure
-%if %build_core
-make %{?_smp_mflags}
+%if %{build_core}
+%make_build
 %endif
-%if %build_doc
+%if %{build_doc}
 pushd doc
     mkdir html
     a2x -D html -d book -f xhtml --asciidoc-opts="--unsafe" main.txt
@@ -127,7 +111,7 @@
 %endif
 
 %install
-%if %build_core
+%if %{build_core}
 %make_install
 # shipping in latest systemd now
 rm -vf %{buildroot}%{_datadir}/bash-completion/completions/udevadm
@@ -158,7 +142,7 @@
 # Seems to be broken (boo#1161136)
 rm -vf %{buildroot}%{_datadir}/bash-completion/completions/_adb
 %endif
-%if %build_doc
+%if %{build_doc}
 pushd doc
     mkdir -p  %{buildroot}%{_defaultdocdir}/%{name}/html
     install -m 0644 html/* %{buildroot}%{_defaultdocdir}/%{name}/html/
@@ -167,11 +151,10 @@
 install -m 0644 README.md  %{buildroot}%{_defaultdocdir}/%{name}/README
 %endif
 
-%if %build_core
+%if %{build_core}
 %files
-%defattr(-,root,root)
 %license COPYING
-%if %build_doc
+%if %{build_doc}
 %exclude %{_defaultdocdir}/%{name}/AUTHORS
 %exclude %{_defaultdocdir}/%{name}/README
 %exclude %{_defaultdocdir}/%{name}/html/
@@ -181,7 +164,6 @@
 %config %{_sysconfdir}/profile.d/bash_completion.sh
 
 %files devel
-%defattr(-,root,root)
 %{_datadir}/pkgconfig/bash-completion.pc
 # TRICK: bash-completion-devel does not require bash-completion.
 # It would cause failure of directory ownership check.
@@ -189,9 +171,9 @@
 %dir %{_datadir}/bash-completion
 
 %endif
-%if %build_doc
+
+%if %{build_doc}
 %files doc
-%defattr(-,root,root)
 %dir %{_defaultdocdir}/%{name}
 %{_defaultdocdir}/%{name}/AUTHORS
 %{_defaultdocdir}/%{name}/README

++++++ FOO-dir-completion-boo905348.patch ++++++
--- /var/tmp/diff_new_pack.VBB1Vk/_old  2020-08-23 09:19:22.634625207 +0200
+++ /var/tmp/diff_new_pack.VBB1Vk/_new  2020-08-23 09:19:22.634625207 +0200
@@ -2,17 +2,19 @@
  bash_completion |   47 ++++++++++++++++++++++++++++++++++++++++++++++-
  1 file changed, 46 insertions(+), 1 deletion(-)
 
---- bash_completion
-+++ bash_completion    2017-07-04 07:44:47.556933294 +0000
-@@ -555,6 +555,7 @@ _filedir()
+Index: bash-completion-2.11/bash_completion
+===================================================================
+--- bash-completion-2.11.orig/bash_completion
++++ bash-completion-2.11/bash_completion
+@@ -566,6 +566,7 @@ _filedir()
      local IFS=$'\n'
  
-     _tilde "$cur" || return
+     _tilde "${cur-}" || return
 +    _dollar "$cur" || return
  
      local -a toks
-     local reset
-@@ -1006,6 +1007,41 @@ _tilde()
+     local reset arg=${1-}
+@@ -1044,6 +1045,42 @@ _tilde()
      return $result
  }
  
@@ -51,10 +53,11 @@
 +    ((glob == 0)) && shopt -u extglob
 +    return ${#COMPREPLY[@]}
 +}
- 
++
  # Expand variable starting with tilde (~)
  # We want to expand ~foo/... to /home/foo/... to avoid problems when
-@@ -1720,7 +1756,16 @@ complete -F _known_hosts traceroute traceroute6 \
+ # word-to-complete starting with a tilde is fed to commands and ending up
+@@ -1810,7 +1847,16 @@ complete -F _known_hosts traceroute trac
  _cd()
  {
      local cur prev words cword

++++++ LVM-completion-bsc946875.patch ++++++
--- /var/tmp/diff_new_pack.VBB1Vk/_old  2020-08-23 09:19:22.646625213 +0200
+++ /var/tmp/diff_new_pack.VBB1Vk/_new  2020-08-23 09:19:22.646625213 +0200
@@ -22,9 +22,10 @@
 
 
 
-diff --git a/completions/lvm b/completions/lvm
---- a/completions/lvm
-+++ b/completions/lvm
+Index: bash-completion-2.11/completions/lvm
+===================================================================
+--- bash-completion-2.11.orig/completions/lvm
++++ bash-completion-2.11/completions/lvm
 @@ -6,27 +6,41 @@ _lvm_filedir()
      _filedir
  }
@@ -37,42 +38,42 @@
 +
  _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
-@@ -385,7 +399,7 @@ _vgreduce()
-         if [[ $args -eq 0 ]]; then
+@@ -387,7 +401,7 @@ _vgreduce()
+         if ((args == 0)); then
              _lvm_volumegroups
          else
 -            _lvm_physicalvolumes
@@ -80,8 +81,8 @@
          fi
      fi
  } &&
-@@ -699,7 +713,7 @@ _lvcreate()
-         if [[ $args -eq 0 ]]; then
+@@ -701,7 +715,7 @@ _lvcreate()
+         if ((args == 0)); then
              _lvm_volumegroups
          else
 -            _lvm_physicalvolumes

++++++ PS1-completion-boo903362.patch ++++++
--- /var/tmp/diff_new_pack.VBB1Vk/_old  2020-08-23 09:19:22.662625223 +0200
+++ /var/tmp/diff_new_pack.VBB1Vk/_new  2020-08-23 09:19:22.662625223 +0200
@@ -2,8 +2,10 @@
  bash_completion.sh.in |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
---- bash_completion.sh.in
-+++ bash_completion.sh.in      2017-07-04 07:42:39.171304553 +0000
+Index: bash-completion-2.11/bash_completion.sh.in
+===================================================================
+--- bash-completion-2.11.orig/bash_completion.sh.in
++++ bash-completion-2.11/bash_completion.sh.in
 @@ -1,6 +1,6 @@
  # shellcheck shell=sh disable=SC1091,SC2039,SC2166
  # Check for interactive bash and that we haven't already been sourced.
@@ -11,4 +13,4 @@
 +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 ] ||

++++++ backtick-completion-boo940835.patch ++++++
--- /var/tmp/diff_new_pack.VBB1Vk/_old  2020-08-23 09:19:22.670625227 +0200
+++ /var/tmp/diff_new_pack.VBB1Vk/_new  2020-08-23 09:19:22.674625229 +0200
@@ -2,9 +2,11 @@
  bash_completion |   15 ++++++++++-----
  1 file changed, 10 insertions(+), 5 deletions(-)
 
---- bash_completion
-+++ bash_completion    2017-07-04 07:46:01.087575561 +0000
-@@ -987,16 +987,21 @@ _tilde()
+Index: bash-completion-2.11/bash_completion
+===================================================================
+--- bash-completion-2.11.orig/bash_completion
++++ bash-completion-2.11/bash_completion
+@@ -1052,16 +1052,21 @@ _tilde()
  _dollar()
  {
      local s=""
@@ -30,7 +32,7 @@
      \$\{*)
          COMPREPLY=($(compgen -v -P '${' -S "}$s" -- ${1#??})) ;;
      \$*)
-@@ -1008,7 +1013,7 @@ _dollar()
+@@ -1073,7 +1078,7 @@ _dollar()
  
      if ((${#COMPREPLY[@]} > 0)) ; then
          ((${#COMPREPLY[@]} == 1)) && eval COMPREPLY=\(${COMPREPLY[@]}\)

++++++ backticks-bsc963140.patch ++++++
--- /var/tmp/diff_new_pack.VBB1Vk/_old  2020-08-23 09:19:22.682625233 +0200
+++ /var/tmp/diff_new_pack.VBB1Vk/_new  2020-08-23 09:19:22.686625236 +0200
@@ -2,9 +2,11 @@
  bash-completion-2.7/bash_completion |   20 ++++++++++++++------
  1 file changed, 14 insertions(+), 6 deletions(-)
 
---- bash-completion-2.7/bash_completion
-+++ bash-completion-2.7/bash_completion        2017-07-04 07:49:14.823999472 
+0000
-@@ -994,13 +994,21 @@ _dollar()
+Index: bash-completion-2.11/bash_completion
+===================================================================
+--- bash-completion-2.11.orig/bash_completion
++++ bash-completion-2.11/bash_completion
+@@ -1059,13 +1059,21 @@ _dollar()
      [[ "$COMP_LINE" == cd* ]] && s="/"
  
      case "$1" in
@@ -30,7 +32,7 @@
          ;;
      \$\{*)
          COMPREPLY=($(compgen -v -P '${' -S "}$s" -- ${1#??})) ;;
-@@ -1013,8 +1021,8 @@ _dollar()
+@@ -1078,8 +1086,8 @@ _dollar()
  
      if ((${#COMPREPLY[@]} > 0)) ; then
          ((${#COMPREPLY[@]} == 1)) && eval COMPREPLY=\(${COMPREPLY[@]}\)

++++++ bash-completion-2.10.tar.xz -> bash-completion-2.11.tar.xz ++++++
++++ 41973 lines of diff (skipped)

++++++ bash-completion-2.4.patch ++++++
--- /var/tmp/diff_new_pack.VBB1Vk/_old  2020-08-23 09:19:23.014625418 +0200
+++ /var/tmp/diff_new_pack.VBB1Vk/_new  2020-08-23 09:19:23.014625418 +0200
@@ -2,9 +2,11 @@
  bash_completion |   11 ++++++-----
  1 file changed, 6 insertions(+), 5 deletions(-)
 
---- bash_completion
-+++ bash_completion    2017-07-04 07:40:15.221922680 +0000
-@@ -1938,12 +1938,13 @@ _longopt()
+Index: bash-completion-2.11/bash_completion
+===================================================================
+--- bash-completion-2.11.orig/bash_completion
++++ bash-completion-2.11/bash_completion
+@@ -2031,12 +2031,13 @@ _longopt()
      fi
  }
  # makeinfo and texi2dvi are defined elsewhere.
@@ -21,5 +23,5 @@
 +    texindex touch tr unexpand uniq vdir wc who
 +complete -F _longopt -o default env netstat seq uname units
  
- # declare only knows -g in bash >= 4.2.
- if [[ ${BASH_VERSINFO[0]} -gt 4 || ${BASH_VERSINFO[1]} -ge 2 ]]; then
+ declare -Ag _xspecs
+ 

++++++ bash-completion-2.7-unRAR-remove.patch ++++++
--- /var/tmp/diff_new_pack.VBB1Vk/_old  2020-08-23 09:19:23.026625424 +0200
+++ /var/tmp/diff_new_pack.VBB1Vk/_new  2020-08-23 09:19:23.030625426 +0200
@@ -4,18 +4,20 @@
  completions/7z |    4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
---- completions/7z
-+++ completions/7z     2018-04-24 09:17:49.392549710 +0000
-@@ -71,7 +71,7 @@ _7z()
+Index: bash-completion-2.11/completions/7z
+===================================================================
+--- bash-completion-2.11.orig/completions/7z
++++ bash-completion-2.11/completions/7z
+@@ -76,7 +76,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
-@@ -105,7 +105,7 @@ _7z()
+@@ -110,7 +110,7 @@ _7z()
          #     (assumption: extensions are all lowercase)
          [[ $mode == w ]] &&
              _filedir '@(7z|bz2|swf|?(g)tar|?(t)[bglx]z|tb?(z)2|wim)' ||

++++++ 
bash-completion-fix-missing-directory-completion-with-filename-pattern.patch 
++++++
--- /var/tmp/diff_new_pack.VBB1Vk/_old  2020-08-23 09:19:23.042625433 +0200
+++ /var/tmp/diff_new_pack.VBB1Vk/_new  2020-08-23 09:19:23.042625433 +0200
@@ -16,18 +16,21 @@
  bash_completion | 25 ++++++++-----------------
  1 file changed, 8 insertions(+), 17 deletions(-)
 
-diff --git a/bash_completion b/bash_completion
-index 0fc89e51..015fea12 100644
---- a/bash_completion
-+++ b/bash_completion
-@@ -560,34 +560,25 @@ _filedir()
+Index: bash-completion-2.11/bash_completion
+===================================================================
+--- bash-completion-2.11.orig/bash_completion
++++ bash-completion-2.11/bash_completion
+@@ -571,34 +571,22 @@ _filedir()
      local -a toks
-     local reset
+     local reset arg=${1-}
  
--    if [[ "$1" == -d ]]; then
--        reset=$(shopt -po noglob); set -o noglob
--        toks=( $(compgen -d -- "$cur") )
--        IFS=' '; $reset; IFS=$'\n'
+-    if [[ $arg == -d ]]; then
+-        reset=$(shopt -po noglob)
+-        set -o noglob
+-        toks=($(compgen -d -- "${cur-}"))
+-        IFS=' '
+-        $reset
+-        IFS=$'\n'
 -    else
 +    reset=$(shopt -po noglob); set -o noglob
 +    toks=( $(compgen -d -- "$cur") )
@@ -35,34 +38,36 @@
 +
 +    if [[ "$1" != -d ]]; then
          local quoted
-         _quote_readline_by_ref "$cur" quoted
+         _quote_readline_by_ref "${cur-}" quoted
  
          # Munge xspec to contain uppercase version too
-         # 
http://thread.gmane.org/gmane.comp.shells.bash.bugs/15294/focus=15306
--        local xspec=${1:+"!*.@($1|${1^^})"} plusdirs=()
+         # https://lists.gnu.org/archive/html/bug-bash/2010-09/msg00036.html
+         # news://news.gmane.io/[email protected]
+-        local xspec=${arg:+"!*.@($arg|${arg^^})"} plusdirs=()
 -
 -        # Use plusdirs to get dir completions if we have a xspec; if we don't,
 -        # there's no need, dirs come along with other completions. Don't use
 -        # plusdirs quite yet if fallback is in use though, in order to not 
ruin
 -        # the fallback condition with the "plus" dirs.
--        local opts=( -f -X "$xspec" )
+-        local opts=(-f -X "$xspec")
 -        [[ $xspec ]] && plusdirs=(-o plusdirs)
--        [[ ${COMP_FILEDIR_FALLBACK-} ]] || opts+=( "${plusdirs[@]}" )
--
+-        [[ ${COMP_FILEDIR_FALLBACK-} || -z ${plusdirs-} ]] ||
+-            opts+=("${plusdirs[@]}")
+ 
 +        local xspec=${1:+"!*.@($1|${1^^})"}
-         reset=$(shopt -po noglob); set -o noglob
--        toks+=( $(compgen "${opts[@]}" -- $quoted) )
+         reset=$(shopt -po noglob)
+         set -o noglob
+-        toks+=($(compgen "${opts[@]}" -- $quoted))
 +        toks+=( $(compgen -f -X "$xspec" -- $quoted) )
-         IFS=' '; $reset; IFS=$'\n'
- 
-         # Try without filter if it failed to produce anything and configured 
to
-         [[ -n ${COMP_FILEDIR_FALLBACK:-} && -n "$1" && ${#toks[@]} -lt 1 ]] 
&& {
-             reset=$(shopt -po noglob); set -o noglob
--            toks+=( $(compgen -f "${plusdirs[@]}" -- $quoted) )
+         IFS=' '
+         $reset
+         IFS=$'\n'
+@@ -607,7 +595,7 @@ _filedir()
+         [[ -n ${COMP_FILEDIR_FALLBACK-} && -n $arg && ${#toks[@]} -lt 1 ]] && 
{
+             reset=$(shopt -po noglob)
+             set -o noglob
+-            toks+=($(compgen -f ${plusdirs+"${plusdirs[@]}"} -- $quoted))
 +            toks+=( $(compgen -f -- $quoted) )
-             IFS=' '; $reset; IFS=$'\n'
-         }
-     fi
--- 
-2.25.1
-
+             IFS=' '
+             $reset
+             IFS=$'\n'

++++++ ls-completion-boo889319.patch ++++++
--- /var/tmp/diff_new_pack.VBB1Vk/_old  2020-08-23 09:19:23.066625446 +0200
+++ /var/tmp/diff_new_pack.VBB1Vk/_new  2020-08-23 09:19:23.066625446 +0200
@@ -2,9 +2,11 @@
  bash_completion |    3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 
---- bash_completion
-+++ bash_completion    2017-07-04 07:45:25.480233012 +0000
-@@ -1940,11 +1940,12 @@ _longopt()
+Index: bash-completion-2.11/bash_completion
+===================================================================
+--- bash-completion-2.11.orig/bash_completion
++++ bash-completion-2.11/bash_completion
+@@ -2079,11 +2079,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 +18,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 only knows -g in bash >= 4.2.
- if [[ ${BASH_VERSINFO[0]} -gt 4 || ${BASH_VERSINFO[1]} -ge 2 ]]; then
+ declare -Ag _xspecs
+ 

++++++ qdbus-qt5.patch ++++++
--- /var/tmp/diff_new_pack.VBB1Vk/_old  2020-08-23 09:19:23.082625455 +0200
+++ /var/tmp/diff_new_pack.VBB1Vk/_new  2020-08-23 09:19:23.082625455 +0200
@@ -3,31 +3,31 @@
 
 qdbus is the Qt 4 variant, also complete for the Qt 5 version.
 
-Index: bash-completion-2.10/completions/qdbus
+Index: bash-completion-2.11/completions/qdbus
 ===================================================================
---- bash-completion-2.10.orig/completions/qdbus
-+++ bash-completion-2.10/completions/qdbus
+--- bash-completion-2.11.orig/completions/qdbus
++++ bash-completion-2.11/completions/qdbus
 @@ -9,6 +9,6 @@ _qdbus()
-     COMPREPLY=( $(compgen -W '$(command ${words[@]} 2>/dev/null | \
-         command sed "s/(.*)//")' -- "$cur") )
+     COMPREPLY=($(compgen -W '$(command ${words[@]} 2>/dev/null | \
+         command sed "s/(.*)//")' -- "$cur"))
  } &&
--complete -F _qdbus qdbus dcop
-+complete -F _qdbus qdbus qdbus-qt5 dcop
+-    complete -F _qdbus qdbus dcop
++    complete -F _qdbus qdbus qdbus-qt5 dcop
  
  # ex: filetype=sh
-Index: bash-completion-2.10/completions/Makefile.am
+Index: bash-completion-2.11/completions/Makefile.am
 ===================================================================
---- bash-completion-2.10.orig/completions/Makefile.am
-+++ bash-completion-2.10/completions/Makefile.am
-@@ -668,6 +668,7 @@ CLEANFILES = \
+--- bash-completion-2.11.orig/completions/Makefile.am
++++ bash-completion-2.11/completions/Makefile.am
+@@ -680,6 +680,7 @@ CLEANFILES = \
        pyvenv-3.6 \
        pyvenv-3.7 \
        pyvenv-3.8 \
-+      qdbus-qt5 \
++    qdbus-qt5 \
        qemu-kvm \
        qemu-system-i386 \
        qemu-system-x86_64 \
-@@ -882,7 +883,7 @@ symlinks: $(DATA)
+@@ -894,7 +895,7 @@ symlinks: $(DATA)
        $(ss) pyvenv \
                pyvenv-3.4 pyvenv-3.5 pyvenv-3.6 pyvenv-3.7 pyvenv-3.8
        $(ss) qdbus \

++++++ respect-variables-boo940837.patch ++++++
--- /var/tmp/diff_new_pack.VBB1Vk/_old  2020-08-23 09:19:23.090625459 +0200
+++ /var/tmp/diff_new_pack.VBB1Vk/_new  2020-08-23 09:19:23.094625462 +0200
@@ -8,9 +8,11 @@
  bash_completion |   15 +++++++++++++--
  1 file changed, 13 insertions(+), 2 deletions(-)
 
---- bash_completion
-+++ bash_completion    2017-07-04 07:47:32.437889150 +0000
-@@ -1886,8 +1886,19 @@ _complete_as_root()
+Index: bash-completion-2.11/bash_completion
+===================================================================
+--- bash-completion-2.11.orig/bash_completion
++++ bash-completion-2.11/bash_completion
+@@ -2034,8 +2034,19 @@ _complete_as_root()
  
  _longopt()
  {
@@ -31,4 +33,4 @@
 +    fi
  
      case "${prev,,}" in
-         --help|--usage|--version)
+         --help | --usage | --version)

++++++ rm-completion-smart-boo958462.patch ++++++
--- /var/tmp/diff_new_pack.VBB1Vk/_old  2020-08-23 09:19:23.102625466 +0200
+++ /var/tmp/diff_new_pack.VBB1Vk/_new  2020-08-23 09:19:23.102625466 +0200
@@ -7,9 +7,11 @@
  bash_completion |    4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
---- bash_completion
-+++ bash_completion    2017-07-04 07:48:24.632925756 +0000
-@@ -1941,11 +1941,13 @@ _longopt()
+Index: bash-completion-2.11/bash_completion
+===================================================================
+--- bash-completion-2.11.orig/bash_completion
++++ bash-completion-2.11/bash_completion
+@@ -2096,11 +2096,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 +24,5 @@
 +complete -F _longopt -o bashdefault -o default -o filenames -o nospace rm 
rmdir
 +
  
- # declare only knows -g in bash >= 4.2.
- if [[ ${BASH_VERSINFO[0]} -gt 4 || ${BASH_VERSINFO[1]} -ge 2 ]]; then
+ declare -Ag _xspecs
+ 

++++++ tar-completion.patch ++++++
--- /var/tmp/diff_new_pack.VBB1Vk/_old  2020-08-23 09:19:23.114625473 +0200
+++ /var/tmp/diff_new_pack.VBB1Vk/_new  2020-08-23 09:19:23.114625473 +0200
@@ -4,13 +4,15 @@
  completions/tar |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
---- completions/tar
-+++ completions/tar    2016-12-14 12:37:15.952363674 +0000
-@@ -191,7 +191,7 @@ __tar_preparse_cmdline()
+Index: bash-completion-2.11/completions/tar
+===================================================================
+--- bash-completion-2.11.orig/completions/tar
++++ bash-completion-2.11/completions/tar
+@@ -185,7 +185,7 @@ __tar_preparse_cmdline()
      first_arg=1
      for i in "$@"; do
          case "$i" in
--            --delete|--test-label)
+-            --delete | --test-label)
 +            
--delete|--test-label|--catenate|--concatenate|--extract|--get|--update|--list|--append|--create)
                  tar_mode=${i:2:100}
                  tar_mode_arg=$i


Reply via email to