define ./configure options common to build2 and build3 only once
This commit is contained in:
parent
039253f8be
commit
c8f466444b
19
systemd.spec
19
systemd.spec
@ -279,27 +279,28 @@ rm -rf build2 build3
|
|||||||
mkdir build2
|
mkdir build2
|
||||||
mkdir build3
|
mkdir build3
|
||||||
|
|
||||||
|
CONFIGURE_OPTS=(
|
||||||
|
--libexecdir=%{_prefix}/lib
|
||||||
|
--with-sysvinit-path=/etc/rc.d/init.d
|
||||||
|
--with-rc-local-script-path-start=/etc/rc.d/rc.local
|
||||||
|
--disable-kdbus
|
||||||
|
)
|
||||||
|
|
||||||
pushd build3
|
pushd build3
|
||||||
%define _configure ../configure
|
%define _configure ../configure
|
||||||
%configure \
|
%configure \
|
||||||
--libexecdir=%{_prefix}/lib \
|
"${CONFIGURE_OPTS[@]}" \
|
||||||
--disable-manpages \
|
--disable-manpages \
|
||||||
--with-sysvinit-path=/etc/rc.d/init.d \
|
|
||||||
--with-rc-local-script-path-start=/etc/rc.d/rc.local \
|
|
||||||
--disable-compat-libs \
|
--disable-compat-libs \
|
||||||
--disable-kdbus \
|
|
||||||
PYTHON=%{__python3}
|
PYTHON=%{__python3}
|
||||||
make %{?_smp_mflags} GCC_COLORS="" V=1
|
make %{?_smp_mflags} GCC_COLORS="" V=1
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd build2
|
pushd build2
|
||||||
%configure \
|
%configure \
|
||||||
--libexecdir=%{_prefix}/lib \
|
"${CONFIGURE_OPTS[@]}" \
|
||||||
--enable-gtk-doc \
|
--enable-gtk-doc \
|
||||||
--with-sysvinit-path=/etc/rc.d/init.d \
|
--enable-compat-libs
|
||||||
--with-rc-local-script-path-start=/etc/rc.d/rc.local \
|
|
||||||
--enable-compat-libs \
|
|
||||||
--disable-kdbus
|
|
||||||
make %{?_smp_mflags} GCC_COLORS="" V=1
|
make %{?_smp_mflags} GCC_COLORS="" V=1
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user