This commit is contained in:
parent
a1b69fd90a
commit
907a080d05
6
dtc.spec
6
dtc.spec
@ -71,17 +71,17 @@ Python binding part.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} V=1 NO_PYTHON=1
|
||||
python3 pylibfdt/setup.py build '--executable=/usr/bin/python3 -s'
|
||||
|
||||
%install
|
||||
%make_install PREFIX=%{_prefix} LIBDIR=%{_libdir}
|
||||
%make_install PREFIX=%{_prefix} LIBDIR=%{_libdir} NO_PYTHON=1
|
||||
install -p -m 644 libfdt/libfdt_env.h %{buildroot}/%{_includedir}
|
||||
rm -f %{buildroot}/%{_libdir}/*.a
|
||||
python3 pylibfdt/setup.py install -O1 --skip-build --force --root %{buildroot} --prefix %{_prefix}
|
||||
pushd pylibfdt
|
||||
python3 setup.py install -O1 --force --root %{buildroot} --prefix %{_prefix}
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} check
|
||||
|
Loading…
Reference in New Issue
Block a user