!3 fix bug in self-building

Merge pull request !3 from chengquan/dev
This commit is contained in:
openeuler-ci-bot 2020-03-15 10:30:09 +08:00 committed by Gitee
commit 5c657308f0

View File

@ -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 <buildteam@openeuler.org> - 1.4-7
- fixbug in self-building
* Sat Feb 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.4-6
- Type:bugfix
- ID:NA