]> git.proxmox.com Git - mirror_lxc.git/commitdiff
fix rpm packaging for bash completion directory.
authortomponline <tomp@tomp.uk>
Tue, 5 Feb 2019 17:10:20 +0000 (17:10 +0000)
committertomponline <tomp@tomp.uk>
Tue, 5 Feb 2019 17:10:20 +0000 (17:10 +0000)
Closed #1825

Signed-off-by: tomponline <tomp@tomp.uk>
lxc.spec.in

index 7fcd811ff7e413f0f94453dc516813d86195c950..ec6321c333aa8d50f3d66dbcc2e8760561926f45 100644 (file)
@@ -125,6 +125,10 @@ development of the Linux containers.
 %prep
 %setup -q -n %{name}-%{version}%{?beta_dot}
 %build
+
+#Dont use pkgconfig to get bash completion dir and use backwards compatible location.
+export bashcompdir=%{_sysconfdir}/bash_completion.d
+
 PATH=$PATH:/usr/sbin:/sbin %configure $args \
 %if "x%{_unitdir}" != "x"
   --with-systemdsystemunitdir=%{_unitdir} \