fixbug in self-building
This commit is contained in:
parent
2ec21c3c94
commit
beb9439085
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user