Accepting request 755044 from home:marxin:branches:Base:System
- Use %make_build and recpect %optflags. OBS-URL: https://build.opensuse.org/request/show/755044 OBS-URL: https://build.opensuse.org/package/show/Base:System/dtc?expand=0&rev=48
This commit is contained in:
parent
c1d6ec879c
commit
efebb20a5c
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 8 09:18:44 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
- Use %make_build and recpect %optflags.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 30 15:38:12 UTC 2019 - Dirk Mueller <dmueller@suse.com>
|
Wed Oct 30 15:38:12 UTC 2019 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
8
dtc.spec
8
dtc.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dtc
|
# spec file for package dtc
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -73,7 +73,8 @@ Python binding part.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} V=1 NO_PYTHON=1
|
export EXTRA_CFLAGS="%{optflags}"
|
||||||
|
%make_build NO_PYTHON=1
|
||||||
cd pylibfdt
|
cd pylibfdt
|
||||||
python3 setup.py build_ext
|
python3 setup.py build_ext
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -86,7 +87,8 @@ cd pylibfdt
|
|||||||
%python3_install
|
%python3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
export EXTRA_CFLAGS="%{optflags}"
|
||||||
|
%make_build check
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license README.license
|
%license README.license
|
||||||
|
Loading…
Reference in New Issue
Block a user