!15 enable check test suite
From: @panxh_purple Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
2886c37106
@ -4,19 +4,20 @@
|
||||
|
||||
Name: libbytesize
|
||||
Version: 2.6
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: A library for working with sizes in bytes
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/storaged-project/libbytesize
|
||||
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
|
||||
%if %{with_python2}
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-devel python2-polib python2-pocketlint python2-six
|
||||
%else
|
||||
Obsoletes: python2-libbytesize
|
||||
%endif
|
||||
%if %{with_python3}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-devel python3-polib python3-pocketlint python3-six glibc-all-langpacks
|
||||
%endif
|
||||
BuildRequires: gtk-doc
|
||||
|
||||
@ -73,6 +74,9 @@ for doing calculations with storage sizes.
|
||||
find %{buildroot} -type f -name "*.la" -delete
|
||||
%find_lang %{name}
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
@ -112,6 +116,9 @@ find %{buildroot} -type f -name "*.la" -delete
|
||||
%endif
|
||||
|
||||
%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
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user