From 7587a6f4fc82003168af3e6d00abce11b345f4a0 Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Tue, 10 Oct 2023 09:16:54 +0200 Subject: [PATCH] spec: Move bash completion from /etc to /usr/share --- contrib/osc.spec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/contrib/osc.spec b/contrib/osc.spec index 514940d6..597e6b18 100644 --- a/contrib/osc.spec +++ b/contrib/osc.spec @@ -15,10 +15,6 @@ # need to override python_sitelib because it is not set as we would expect on many distros %define python_sitelib %(RPM_BUILD_ROOT= %{use_python} -Ic "import sysconfig; print(sysconfig.get_path('purelib'))") -%if 0%{?is_opensuse} -%define completion_dir_bash %{_sysconfdir}/bash_completion.d -%endif - # generate manpages on distros where argparse-manpage >= 3 is available %if 0%{?suse_version} > 1500 || 0%{?fedora} >= 37 %bcond_without man