Use %_smp_mflags for parallel build
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/wv?expand=0&rev=11
This commit is contained in:
parent
549bb0c56e
commit
81ce1192ee
6
wv.spec
6
wv.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package wv
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -25,7 +25,7 @@ Group: Productivity/Publishing/Word
|
||||
Version: 1.2.2
|
||||
Release: 216
|
||||
Summary: Tools for Importing Microsoft Word (tm) Documents
|
||||
URL: http://wvWare.sourceforge.net/
|
||||
Url: http://wvWare.sourceforge.net/
|
||||
Source: wv-%{version}.tar.gz
|
||||
Patch: wv-1.2.2-automake.patch
|
||||
Patch5: wv-1.0.3-wvText.patch
|
||||
@ -80,7 +80,7 @@ autoreconf -f -i --verbose
|
||||
%define warn_flags -Wall -Wstrict-prototypes -Wpointer-arith -Wformat -Wformat-security
|
||||
CFLAGS="$RPM_OPT_FLAGS %{warn_flags} -fno-strict-aliasing -fstack-protector" \
|
||||
%configure --with-libwmf --with-expat --disable-dependency-tracking --disable-static --with-pic
|
||||
%{__make} %{?jobs:-j%jobs}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT manonedir=%{_mandir}/man1 install
|
||||
|
Loading…
x
Reference in New Issue
Block a user