Don't build for s390x on EL8

This commit is contained in:
Carl George 2020-04-08 00:20:17 -05:00
parent 199783ca79
commit 67855c61be
1 changed files with 11 additions and 1 deletions

View File

@ -3,7 +3,7 @@
Name: python-%{srcname}
Version: 3.6.2
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Python HTTP client/server for asyncio
License: ASL 2.0
@ -15,6 +15,13 @@ Patch0: unbundle-http-parser.patch
BuildRequires: gcc
BuildRequires: http-parser-devel
# EPEL8 is utilizing the CentOS Devel repo for some packages. However, this is
# not available for s390x, so exclude it.
# https://fedoraproject.org/wiki/EPEL/FAQ#RHEL_8.2B_has_binaries_in_the_release.2C_but_is_missing_some_corresponding_-devel_package._How_do_I_build_a_package_that_needs_that_missing_-devel_package.3F
%if %{defined el8}
ExcludeArch: s390x
%endif
%description
Python HTTP client/server for asyncio which supports both the client and the
server side of the HTTP protocol, client and server websocket, and webservers
@ -51,6 +58,9 @@ with middlewares and pluggable routing.
%{python3_sitearch}/%{srcname}/
%changelog
* Wed Apr 08 2020 Carl George <carl@george.computer> - 3.6.2-3
- Don't build for s390x on EL8
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild