Merge pull request #2822 from tomponline/tp-rpmspec

fix rpm packaging for bash completion directory.
This commit is contained in:
Stéphane Graber 2019-02-05 18:16:41 +01:00 committed by GitHub
commit 1fba6a8589
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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} \