!4 fixbug in remove python2 support for package

Merge pull request !4 from chengquan/dev
This commit is contained in:
openeuler-ci-bot 2020-03-21 21:51:46 +08:00 committed by Gitee
commit 414968106c

View File

@ -3,7 +3,7 @@
Name: libbytesize
Version: 1.4
Release: 7
Release: 8
Summary: A library for working with sizes in bytes
License: LGPLv2+
URL: https://github.com/storaged-project/libbytesize
@ -11,12 +11,15 @@ Source0: https://github.com/storaged-project/libbytesize/releases/downloa
BuildRequires: gcc gmp-devel mpfr-devel pcre-devel gettext-devel libxslt gdb
%if %{with_python2}
BuildRequires: python2-devel
%else
Obsoletes: python2-libbytesize
%endif
%if %{with_python3}
BuildRequires: python3-devel
%endif
BuildRequires: gtk-doc
%description
The goal of this project is to provide a tiny library that would
facilitate the common operations with sizes in bytes.
@ -92,6 +95,9 @@ find %{buildroot} -type f -name "*.la" -delete
%{_datadir}/gtk-doc/html/*
%changelog
* Sat Mar 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.4-8
- fixbug in remove python2 support for package
* Sat Mar 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.4-7
- fixbug in self-building