diff --git a/time.spec b/time.spec index 3cf641bb89510b3b35f98c118ffd609e4aa38868..873247ac57cccdc513fec41ce821124ba72612d0 100644 --- a/time.spec +++ b/time.spec @@ -1,7 +1,7 @@ Summary: A program that measures many of the CPU resources that other programs use Name: time Version: 1.9 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv3+ and GFDL URL: https://www.gnu.org/software/%{name}/ Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz @@ -32,6 +32,9 @@ autoreconf -fiv rm -f %{buildroot}%{_infodir}/dir %check +%ifarch loongarch64 +sed -i 's/\(test "$d" -ge 5000 && test "$d" -le \)6000/\17000/' tests/time-max-rss.sh +%endif make check %files @@ -41,6 +44,10 @@ make check %{_infodir}/time.info* %changelog +* Tue Dec 23 2025 doupengda - 1.9-7 +- [Type] bugfix +- [DESC] Fixed time1.9 test failure on loongarch64 + * Thu Sep 26 2024 OpenCloudOS Release Engineering - 1.9-6 - Rebuilt for clarifying the packages requirement in BaseOS and AppStream