update version to 2.3
This commit is contained in:
parent
414968106c
commit
7743deab95
Binary file not shown.
BIN
libbytesize-2.3.tar.gz
Normal file
BIN
libbytesize-2.3.tar.gz
Normal file
Binary file not shown.
@ -1,14 +1,15 @@
|
||||
%define with_python2 0
|
||||
%define with_python3 1
|
||||
%define with_tools 1
|
||||
|
||||
Name: libbytesize
|
||||
Version: 1.4
|
||||
Release: 8
|
||||
Version: 2.3
|
||||
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
|
||||
BuildRequires: gcc gmp-devel mpfr-devel pcre-devel gettext-devel libxslt gdb pcre2-devel
|
||||
%if %{with_python2}
|
||||
BuildRequires: python2-devel
|
||||
%else
|
||||
@ -48,6 +49,16 @@ Requires: python2-six
|
||||
Python 2 bindings for libbytesize.
|
||||
%endif
|
||||
|
||||
%if %{with_tools}
|
||||
%package tools
|
||||
Summary: Various nice tools based on libbytesize
|
||||
Requires: python3-bytesize = %{version}-%{release}
|
||||
|
||||
%description tools
|
||||
Variousnicetoolsbasedonlibbytesize, in particular the calculator
|
||||
for doing calculations with storage sizes.
|
||||
%endif
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
@ -94,7 +105,19 @@ find %{buildroot} -type f -name "*.la" -delete
|
||||
%doc ABOUT-NLS README.md
|
||||
%{_datadir}/gtk-doc/html/*
|
||||
|
||||
%if %{with_tools}
|
||||
%files tools
|
||||
%{_bindir}/bscalc
|
||||
%{_mandir}/man1/bscalc.1*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sat Jul 25 2020 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 2.3-1
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:update version to 2.3
|
||||
|
||||
* Sat Mar 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.4-8
|
||||
- fixbug in remove python2 support for package
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user