!24 [sync] PR-19: 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:44 +00:00 committed by Gitee
commit 0ae82ce6f6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: dtc
Version: 1.6.0
Release: 2
Release: 3
Summary: Device tree compiler
License: GPLv2+
URL: https://devicetree.org/
@ -51,6 +51,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
@ -78,6 +81,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.0-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:enable make check
* Tue Aug 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.6.0-2
- Type:rebuild
- ID:NA