Compare commits
10 Commits
3c2ce59293
...
ba488d3ea2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba488d3ea2 | ||
|
|
6fff66a171 | ||
|
|
ffa0f41f1c | ||
|
|
921ecfe260 | ||
|
|
2886c37106 | ||
|
|
4fc7aeddc2 | ||
|
|
cc8040ae67 | ||
|
|
4a5b5ebc0d | ||
|
|
fae2dd59a6 | ||
|
|
ef88e40213 |
Binary file not shown.
BIN
libbytesize-2.9.tar.gz
Normal file
BIN
libbytesize-2.9.tar.gz
Normal file
Binary file not shown.
@ -3,20 +3,21 @@
|
||||
%define with_tools 1
|
||||
|
||||
Name: libbytesize
|
||||
Version: 2.4
|
||||
Version: 2.9
|
||||
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 gdb pcre2-devel
|
||||
|
||||
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,24 @@ find %{buildroot} -type f -name "*.la" -delete
|
||||
%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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user