mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-16 05:42:54 +00:00
Merge pull request #2822 from tomponline/tp-rpmspec
fix rpm packaging for bash completion directory.
This commit is contained in:
commit
1fba6a8589
@ -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} \
|
||||||
|
Loading…
Reference in New Issue
Block a user