fixbug in remove python2 support for package
This commit is contained in:
parent
beb9439085
commit
9a2f17aab0
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: libbytesize
|
Name: libbytesize
|
||||||
Version: 1.4
|
Version: 1.4
|
||||||
Release: 7
|
Release: 8
|
||||||
Summary: A library for working with sizes in bytes
|
Summary: A library for working with sizes in bytes
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://github.com/storaged-project/libbytesize
|
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
|
BuildRequires: gcc gmp-devel mpfr-devel pcre-devel gettext-devel libxslt gdb
|
||||||
%if %{with_python2}
|
%if %{with_python2}
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
|
%else
|
||||||
|
Obsoletes: python2-libbytesize
|
||||||
%endif
|
%endif
|
||||||
%if %{with_python3}
|
%if %{with_python3}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The goal of this project is to provide a tiny library that would
|
The goal of this project is to provide a tiny library that would
|
||||||
facilitate the common operations with sizes in bytes.
|
facilitate the common operations with sizes in bytes.
|
||||||
@ -92,6 +95,9 @@ find %{buildroot} -type f -name "*.la" -delete
|
|||||||
%{_datadir}/gtk-doc/html/*
|
%{_datadir}/gtk-doc/html/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Mar 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.4-7
|
||||||
- fixbug in self-building
|
- fixbug in self-building
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user