diff --git a/libbytesize.spec b/libbytesize.spec index eed211b..57b66e4 100644 --- a/libbytesize.spec +++ b/libbytesize.spec @@ -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 - 1.4-8 +- fixbug in remove python2 support for package + * Sat Mar 14 2020 openEuler Buildteam - 1.4-7 - fixbug in self-building