Accepting request 87269 from Base:System
re-submit #86758 including changelog (forwarded request 87178 from rudi_m) OBS-URL: https://build.opensuse.org/request/show/87269 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=34
This commit is contained in:
commit
805d015884
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 9 15:25:02 UTC 2011 - sweet_f_a@gmx.de
|
||||
|
||||
- rewrite last broken arm portability changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 20:31:59 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
|
9
xz.spec
9
xz.spec
@ -34,6 +34,9 @@ Obsoletes: lzma < %version
|
||||
%if 0%{?suse_version} < 1130
|
||||
%define do_profiling 0
|
||||
%endif
|
||||
%ifarch %{arm}
|
||||
%define do_profiling 0
|
||||
%endif
|
||||
|
||||
%if 0%{?lang_package:1} > 0
|
||||
Recommends: %name-lang
|
||||
@ -87,14 +90,14 @@ compiling programs using the LZMA library.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%ifnarch %{arm} && %{do_profiling}
|
||||
%if %{do_profiling}
|
||||
profiledir=$(mktemp -d)
|
||||
trap "rm -rf $profiledir" EXIT
|
||||
export CFLAGS="%optflags %{cflags_profile_generate}=$profiledir"
|
||||
%endif
|
||||
%configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name || cat config.log
|
||||
%configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name
|
||||
make %{?_smp_mflags}
|
||||
%ifnarch %{arm} && %{do_profiling}
|
||||
%if %{do_profiling}
|
||||
time make check
|
||||
make clean
|
||||
export CFLAGS="%optflags %{cflags_profile_feedback}=$profiledir"
|
||||
|
Loading…
Reference in New Issue
Block a user