Remove EPEL 7 build-time support
This commit is contained in:
parent
67fd386867
commit
7f233a43af
1 changed files with 0 additions and 6 deletions
|
|
@ -25,7 +25,6 @@ Summary: Python module to compress an unsorted list of IPv4 and IPv6 pref
|
|||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
BuildRequires: python%{python3_pkgversion}-py-radix >= 0.10.0
|
||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}
|
||||
%{?el7:Requires:python%{python3_pkgversion}-py-radix >= 0.10.0}
|
||||
%endif
|
||||
|
||||
%description -n python%{python3_pkgversion}-%{name}
|
||||
|
|
@ -57,7 +56,6 @@ filters.
|
|||
%else
|
||||
%py3_install
|
||||
%{?el8:%py3_shebang_fix $RPM_BUILD_ROOT%{_bindir}/%{name}}
|
||||
%{?el7:pathfix.py -pni "%{__python3} %{py3_shbang_opts}" $RPM_BUILD_ROOT%{_bindir}/%{name}}
|
||||
%endif
|
||||
|
||||
# Correct man page installation path
|
||||
|
|
@ -69,11 +67,7 @@ sed -e '1{\|^#![[:space:]]*/|d}' -i $RPM_BUILD_ROOT%{python3_sitelib}/%{name}/%{
|
|||
touch -c -r %{name}/%{name}.py $RPM_BUILD_ROOT%{python3_sitelib}/%{name}/%{name}.py
|
||||
|
||||
%check
|
||||
%if 0%{?rhel} && 0%{?rhel} < 8
|
||||
PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitelib} pytest-3
|
||||
%else
|
||||
%pytest
|
||||
%endif
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue