enable make check

(cherry picked from commit 9b0828bd240e05ca62b3c3d012da1577ed38e0c5)
This commit is contained in:
fly_fzc 2023-05-25 10:45:53 +08:00 committed by openeuler-sync-bot
parent 76a3844fb9
commit 9ee9b72f7e

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