From 4fc7aeddc2a8610f771f40ee90d95a85079b77f2 Mon Sep 17 00:00:00 2001 From: panxiaohe Date: Tue, 12 Jul 2022 16:49:17 +0800 Subject: [PATCH] enable check test suite --- libbytesize.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/libbytesize.spec b/libbytesize.spec index 90e3515..b4ae745 100644 --- a/libbytesize.spec +++ b/libbytesize.spec @@ -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 - 2.6-2 +- enable check test suite + * Tue Nov 30 2021 panxiaohe - 2.6-1 - Type:enhancement - ID:NA