!15 enable check test suite

From: @panxh_purple 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
This commit is contained in:
openeuler-ci-bot 2022-07-13 07:06:47 +00:00 committed by Gitee
commit 2886c37106
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -4,19 +4,20 @@
Name: libbytesize Name: libbytesize
Version: 2.6 Version: 2.6
Release: 1 Release: 2
Summary: A library for working with sizes in bytes Summary: A library for working with sizes in bytes
License: LGPLv2+ License: LGPLv2+
URL: https://github.com/storaged-project/libbytesize URL: https://github.com/storaged-project/libbytesize
Source0: https://github.com/storaged-project/libbytesize/releases/download/%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/storaged-project/libbytesize/releases/download/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc gmp-devel mpfr-devel pcre-devel gettext-devel libxslt pcre2-devel BuildRequires: gcc gmp-devel mpfr-devel pcre-devel gettext-devel libxslt pcre2-devel
%if %{with_python2} %if %{with_python2}
BuildRequires: python2-devel BuildRequires: python2-devel python2-polib python2-pocketlint python2-six
%else %else
Obsoletes: python2-libbytesize Obsoletes: python2-libbytesize
%endif %endif
%if %{with_python3} %if %{with_python3}
BuildRequires: python3-devel BuildRequires: python3-devel python3-polib python3-pocketlint python3-six glibc-all-langpacks
%endif %endif
BuildRequires: gtk-doc BuildRequires: gtk-doc
@ -73,6 +74,9 @@ for doing calculations with storage sizes.
find %{buildroot} -type f -name "*.la" -delete find %{buildroot} -type f -name "*.la" -delete
%find_lang %{name} %find_lang %{name}
%check
make check
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
@ -112,6 +116,9 @@ find %{buildroot} -type f -name "*.la" -delete
%endif %endif
%changelog %changelog
* Tue Jul 12 2022 panxiaohe <panxh.life@foxmail.com> - 2.6-2
- enable check test suite
* Tue Nov 30 2021 panxiaohe<panxiaohe@huawei.com> - 2.6-1 * Tue Nov 30 2021 panxiaohe<panxiaohe@huawei.com> - 2.6-1
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA