fix rpm warnings

This commit is contained in:
Dominik 'Rathann' Mierzejewski 2020-10-30 13:29:55 +01:00
parent 0df706d65c
commit 0e31d27abd

View File

@ -29,8 +29,6 @@ Version: 0.27
Release: 1%{?dist}
License: Public Domain
URL: https://github.com/eliben/pyelftools
# https://github.com/eliben/pyelftools/issues/260
#Source0: https://files.pythonhosted.org/packages/source/p/pyelftools/pyelftools-%{version}.tar.gz
Source0: https://github.com/eliben/pyelftools/archive/v%{version}/%{name}-%{version}.tar.gz
%global _description \
Pure-Python library for parsing and analyzing ELF files\
@ -48,7 +46,8 @@ BuildArch: noarch
%{?python_provide:%python_provide python2-%{name}}
# Remove before F30
%description -n python2-%{name} %_description
%endif # with_python2
%endif
# with_python2
%if 0%{?with_python3}
%package -n python3-%{name}