!22 [sync] PR-20: enable make check

From: @openeuler-sync-bot 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
This commit is contained in:
openeuler-ci-bot 2023-05-30 02:16:56 +00:00 committed by Gitee
commit e32ac13f46
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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