diff --git a/libbytesize.spec b/libbytesize.spec index 0ab70e6..eed211b 100644 --- a/libbytesize.spec +++ b/libbytesize.spec @@ -3,12 +3,12 @@ Name: libbytesize Version: 1.4 -Release: 6 +Release: 7 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 +BuildRequires: gcc gmp-devel mpfr-devel pcre-devel gettext-devel libxslt gdb %if %{with_python2} BuildRequires: python2-devel %endif @@ -77,6 +77,8 @@ find %{buildroot} -type f -name "*.la" -delete %files -n python2-bytesize %defattr(-,root,root) %{_libdir}/python2*/site-packages/* +%else +%exclude %{_libdir}/python2*/site-packages/* %endif %if %{with_python3} @@ -90,6 +92,9 @@ find %{buildroot} -type f -name "*.la" -delete %{_datadir}/gtk-doc/html/* %changelog +* Sat Mar 14 2020 openEuler Buildteam - 1.4-7 +- fixbug in self-building + * Sat Feb 22 2020 openEuler Buildteam - 1.4-6 - Type:bugfix - ID:NA