[packages/fuse] - use configure option for verbose make, added define for common options
qboosh
qboosh at pld-linux.org
Tue Jul 4 18:16:13 CEST 2017
commit 672dd998cccf6d2cfcbcd6c5e2319e5c7f80842a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Jul 4 18:17:47 2017 +0200
- use configure option for verbose make, added define for common options
fuse.spec | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/fuse.spec b/fuse.spec
index 65a641b..bec4eb1 100644
--- a/fuse.spec
+++ b/fuse.spec
@@ -45,8 +45,6 @@ BuildRequires: xorg-lib-libX11-devel
BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _make_opts V=1
-
%description
fuse is Free Unix Spectrum Emulator.
What Fuse does have:
@@ -283,13 +281,17 @@ Bashowe dopełnianie składni poleceń emulatora FUSE.
%{__sed} -i -e '/^complete /s/ fuse$/ fuse-fb fuse-gtk fuse-gtk3 fuse-sdl fuse-svga/' data/shell-completion/bash/fuse
%build
+%define common_opts \\\
+ --disable-silent-rules \\\
+ --with-bash-completion-dir=%{bash_compdir} \\\
+ %{nil}
# SDL
%if %{with sdl}
mkdir build-sdl
cd build-sdl
../%configure \
+ %{common_opts} \
--program-suffix=-sdl \
- --with-bash-completion-dir=%{bash_compdir} \
--with-sdl
%{__make}
cd ..
@@ -300,8 +302,8 @@ cd ..
mkdir build-svga
cd build-svga
../%configure \
+ %{common_opts} \
--program-suffix=-svga \
- --with-bash-completion-dir=%{bash_compdir} \
--with-svgalib
%{__make}
cd ..
@@ -312,8 +314,8 @@ cd ..
mkdir build-fb
cd build-fb
../%configure \
+ %{common_opts} \
--program-suffix=-fb \
- --with-bash-completion-dir=%{bash_compdir} \
%if %{with libao}
--without-alsa \
--with-libao \
@@ -328,8 +330,8 @@ cd ..
mkdir build-gtk2
cd build-gtk2
../%configure \
+ %{common_opts} \
--program-suffix=-gtk \
- --with-bash-completion-dir=%{bash_compdir} \
%if %{with libao}
--without-alsa \
--with-libao \
@@ -344,9 +346,9 @@ cd ..
mkdir build-gtk3
cd build-gtk3
../%configure \
+ %{common_opts} \
--enable-gtk3 \
--program-suffix=-gtk3 \
- --with-bash-completion-dir=%{bash_compdir} \
%if %{with libao}
--without-alsa \
--with-libao \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/fuse.git/commitdiff/672dd998cccf6d2cfcbcd6c5e2319e5c7f80842a
More information about the pld-cvs-commit
mailing list