diff --git a/libbytesize.spec b/libbytesize.spec index ca9a5bf..b9b0df6 100644 --- a/libbytesize.spec +++ b/libbytesize.spec @@ -3,12 +3,15 @@ Name: libbytesize Version: 1.4 -Release: 4 +Release: 5 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 +%if %{with_python2} +BuildRequires: python2-devel +%endif %if %{with_python3} BuildRequires: python3-devel %endif @@ -87,6 +90,12 @@ find %{buildroot} -type f -name "*.la" -delete %{_datadir}/gtk-doc/html/* %changelog +* Fri Feb 21 2020 openEuler Buildteam - 1.4-5 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:add build requires of python2-devel if with python2 + * Wed Nov 20 2019 fangyufa - 1.4-4 - Type:bugfix - ID:NA