enable make check

(cherry picked from commit 1759ef81c513c3f499cfa2ff97bd5c2d94ab6018)
This commit is contained in:
fly_fzc 2023-05-25 10:50:21 +08:00 committed by openeuler-sync-bot
parent 114dc90b81
commit 6cfa92486f

View File

@ -2,7 +2,7 @@
Name: dtc
Version: 1.6.1
Release: 2
Release: 3
Summary: Device tree compiler
License: GPLv2+
URL: https://devicetree.org/
@ -53,6 +53,9 @@ This package provides python3 bindings for libfdt
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=$RPM_BUILD_ROOT/usr \
LIBDIR=%{_libdir} BINDIR=%{_bindir} INCLUDEDIR=%{_includedir} V=1
%check
%make_build check
%pre
%preun
@ -80,6 +83,12 @@ make install DESTDIR=$RPM_BUILD_ROOT PREFIX=$RPM_BUILD_ROOT/usr \
%doc Documentation/manual.txt
%changelog
* Thu May 25 2023 fuanan <fuanan3@h-partners.com> - 1.6.1-3
- Type: bugfix
- ID: NA
- SUG: NA
- DESC: enable make check
* Wed Oct 26 2022 yanglongkang<yanglongkang@h-partners.com> - 1.6.1-2
- Type: bugfix
- ID: NA