Compare commits

..

No commits in common. "ba488d3ea2b48fcb85b9cfc8d846235b8808202d" and "3c2ce5929389c7bd815119ad3ac12881b17510bb" have entirely different histories.

3 changed files with 4 additions and 26 deletions

BIN
libbytesize-2.4.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -3,21 +3,20 @@
%define with_tools 1
Name: libbytesize
Version: 2.9
Version: 2.4
Release: 1
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
BuildRequires: gcc gmp-devel mpfr-devel pcre-devel gettext-devel libxslt gdb pcre2-devel
%if %{with_python2}
BuildRequires: python2-devel python2-polib python2-pocketlint python2-six
BuildRequires: python2-devel
%else
Obsoletes: python2-libbytesize
%endif
%if %{with_python3}
BuildRequires: python3-devel python3-polib python3-pocketlint python3-six glibc-all-langpacks
BuildRequires: python3-devel
%endif
BuildRequires: gtk-doc
@ -74,9 +73,6 @@ 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
@ -116,24 +112,6 @@ make check
%endif
%changelog
* Thu Feb 1 2024 caixiaomeng <caixiaomeng2@huawei.com> - 2.9-1
- update version to 2.9
* Thu Jan 19 2023 gaoruoshu <gaoruoshu@huawei.com> - 2.7-1
- update version to 2.7
* 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
- SUG:NA
- DESC:update version to 2.6
* Thu Jul 22 2021 panxiaohe <panxiaohe@huawei.com> - 2.4-2
- remove unnecessary BuildRequires: gdb
* Tue Sep 1 2020 wangchen <wangchen137@huawei.com> - 2.4-1
- Type:enhancement
- ID:NA