fixbug in remove python2 support for package
This commit is contained in:
parent
beb9439085
commit
9a2f17aab0
@ -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 <buildteam@openeuler.org> - 1.4-8
|
||||
- fixbug in remove python2 support for package
|
||||
|
||||
* Sat Mar 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.4-7
|
||||
- fixbug in self-building
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user