Commit a8a6c2c6 by tomponline

fix rpm packaging for bash completion directory.

Closed #1825 Signed-off-by: 's avatartomponline <tomp@tomp.uk>
parent 9fb7aab8
...@@ -125,6 +125,10 @@ development of the Linux containers. ...@@ -125,6 +125,10 @@ development of the Linux containers.
%prep %prep
%setup -q -n %{name}-%{version}%{?beta_dot} %setup -q -n %{name}-%{version}%{?beta_dot}
%build %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 \ PATH=$PATH:/usr/sbin:/sbin %configure $args \
%if "x%{_unitdir}" != "x" %if "x%{_unitdir}" != "x"
--with-systemdsystemunitdir=%{_unitdir} \ --with-systemdsystemunitdir=%{_unitdir} \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment