fix rpm warnings
This commit is contained in:
parent
0df706d65c
commit
0e31d27abd
@ -29,8 +29,6 @@ Version: 0.27
|
|||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
URL: https://github.com/eliben/pyelftools
|
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
|
Source0: https://github.com/eliben/pyelftools/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
%global _description \
|
%global _description \
|
||||||
Pure-Python library for parsing and analyzing ELF files\
|
Pure-Python library for parsing and analyzing ELF files\
|
||||||
@ -48,7 +46,8 @@ BuildArch: noarch
|
|||||||
%{?python_provide:%python_provide python2-%{name}}
|
%{?python_provide:%python_provide python2-%{name}}
|
||||||
# Remove before F30
|
# Remove before F30
|
||||||
%description -n python2-%{name} %_description
|
%description -n python2-%{name} %_description
|
||||||
%endif # with_python2
|
%endif
|
||||||
|
# with_python2
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
%package -n python3-%{name}
|
%package -n python3-%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user