diff --git a/python-libmount.changes b/python-libmount.changes index 1ca162c..b98970d 100644 --- a/python-libmount.changes +++ b/python-libmount.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Jun 13 11:37:33 UTC 2016 - dimstar@opensuse.org + +- Do not BuildRequires bash-completion: this is tempting, but it + pulls bash-completion and its entire dependency stack into Ring0, + which is inacceptable. Pass the correct path + (%{_datdir}/bash-completion/completions) via + --with-bashcompletiondir to configure. + ------------------------------------------------------------------- Thu May 19 14:29:27 CEST 2016 - sbrabec@suse.com diff --git a/python-libmount.spec b/python-libmount.spec index c48bcda..406f70a 100644 --- a/python-libmount.spec +++ b/python-libmount.spec @@ -73,9 +73,8 @@ Name: python-libmount %endif Summary: %main_summary License: GPL-2.0+ -Group: %main_group +Group: %group_pl BuildRequires: audit-devel -BuildRequires: bash-completion BuildRequires: bc BuildRequires: binutils-devel BuildRequires: fdupes @@ -379,6 +378,7 @@ SMP systems. %if %build_util_linux %package -n python-libmount Summary: %summary_pl +License: GPL-2.0+ Group: %group_pl %description -n python-libmount @@ -540,6 +540,7 @@ AUTOPOINT=true autoreconf -vfi --with-ncurses \ --with-selinux \ $uhead \ + --with-bashcompletiondir=%{_datadir}/bash-completion/completions \ --with-systemdsystemunitdir=%{_unitdir} \ --enable-libmount-force-mountinfo \ --enable-sulogin-emergency-mount \ @@ -1139,6 +1140,8 @@ fi %dir %{_datadir}/getopt %attr (755,root,root) %{_datadir}/getopt/getopt-parse.bash %attr (755,root,root) %{_datadir}/getopt/getopt-parse.tcsh +%dir %{_datadir}/bash-completion +%dir %{_datadir}/bash-completion/completions %{_datadir}/bash-completion/completions/* %if %build_util_linux_systemd %exclude %{_datadir}/bash-completion/completions/logger diff --git a/util-linux-systemd.changes b/util-linux-systemd.changes index 1ca162c..b98970d 100644 --- a/util-linux-systemd.changes +++ b/util-linux-systemd.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Jun 13 11:37:33 UTC 2016 - dimstar@opensuse.org + +- Do not BuildRequires bash-completion: this is tempting, but it + pulls bash-completion and its entire dependency stack into Ring0, + which is inacceptable. Pass the correct path + (%{_datdir}/bash-completion/completions) via + --with-bashcompletiondir to configure. + ------------------------------------------------------------------- Thu May 19 14:29:27 CEST 2016 - sbrabec@suse.com diff --git a/util-linux-systemd.spec b/util-linux-systemd.spec index 1564473..d7fffed 100644 --- a/util-linux-systemd.spec +++ b/util-linux-systemd.spec @@ -75,7 +75,6 @@ Summary: %main_summary License: GPL-2.0+ Group: %main_group BuildRequires: audit-devel -BuildRequires: bash-completion BuildRequires: bc BuildRequires: binutils-devel BuildRequires: fdupes @@ -540,6 +539,7 @@ AUTOPOINT=true autoreconf -vfi --with-ncurses \ --with-selinux \ $uhead \ + --with-bashcompletiondir=%{_datadir}/bash-completion/completions \ --with-systemdsystemunitdir=%{_unitdir} \ --enable-libmount-force-mountinfo \ --enable-sulogin-emergency-mount \ @@ -1139,6 +1139,8 @@ fi %dir %{_datadir}/getopt %attr (755,root,root) %{_datadir}/getopt/getopt-parse.bash %attr (755,root,root) %{_datadir}/getopt/getopt-parse.tcsh +%dir %{_datadir}/bash-completion +%dir %{_datadir}/bash-completion/completions %{_datadir}/bash-completion/completions/* %if %build_util_linux_systemd %exclude %{_datadir}/bash-completion/completions/logger diff --git a/util-linux.changes b/util-linux.changes index 1ca162c..b98970d 100644 --- a/util-linux.changes +++ b/util-linux.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Jun 13 11:37:33 UTC 2016 - dimstar@opensuse.org + +- Do not BuildRequires bash-completion: this is tempting, but it + pulls bash-completion and its entire dependency stack into Ring0, + which is inacceptable. Pass the correct path + (%{_datdir}/bash-completion/completions) via + --with-bashcompletiondir to configure. + ------------------------------------------------------------------- Thu May 19 14:29:27 CEST 2016 - sbrabec@suse.com diff --git a/util-linux.spec b/util-linux.spec index 6ca47c7..8ad1021 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -75,7 +75,6 @@ Summary: %main_summary License: GPL-2.0+ Group: %main_group BuildRequires: audit-devel -BuildRequires: bash-completion BuildRequires: bc BuildRequires: binutils-devel BuildRequires: fdupes @@ -540,6 +539,7 @@ AUTOPOINT=true autoreconf -vfi --with-ncurses \ --with-selinux \ $uhead \ + --with-bashcompletiondir=%{_datadir}/bash-completion/completions \ --with-systemdsystemunitdir=%{_unitdir} \ --enable-libmount-force-mountinfo \ --enable-sulogin-emergency-mount \ @@ -1139,6 +1139,8 @@ fi %dir %{_datadir}/getopt %attr (755,root,root) %{_datadir}/getopt/getopt-parse.bash %attr (755,root,root) %{_datadir}/getopt/getopt-parse.tcsh +%dir %{_datadir}/bash-completion +%dir %{_datadir}/bash-completion/completions %{_datadir}/bash-completion/completions/* %if %build_util_linux_systemd %exclude %{_datadir}/bash-completion/completions/logger