update to 4.6.2

Resolves: rhbz#1514768
This commit is contained in:
Matthias Runge 2018-03-13 09:05:38 +01:00
parent c8a7642dcf
commit 17ef2c3cb0
3 changed files with 22 additions and 19 deletions

1
.gitignore vendored
View File

@ -14,3 +14,4 @@ mod_wsgi-3.2.tar.gz
/mod_wsgi-4.5.13.tar.gz
/mod_wsgi-4.5.15.tar.gz
/mod_wsgi-4.5.20.tar.gz
/mod_wsgi-4.6.2.tar.gz

View File

@ -13,8 +13,8 @@
%endif
Name: mod_wsgi
Version: 4.5.20
Release: 4%{?dist}
Version: 4.6.2
Release: 1%{?dist}
Summary: A WSGI interface for Python web applications in Apache
Group: System Environment/Libraries
License: ASL 2.0
@ -24,29 +24,15 @@ Source1: wsgi.conf
Source2: wsgi-python3.conf
Patch1: mod_wsgi-4.5.20-exports.patch
BuildRequires: httpd-devel, python2-devel
BuildRequires: httpd-devel
BuildRequires: python2-sphinx
BuildRequires: gcc
# Suppress auto-provides for module DSO
%{?filter_provides_in: %filter_provides_in %{_httpd_moddir}/.*\.so$}
%{?filter_setup}
%if 0%{?with_python3} > 0
%package -n python3-%{name}
Summary: A WSGI interface for Python3 web applications in Apache
Group: System Environment/Libraries
Requires: httpd-mmn = %{_httpd_mmn}
BuildRequires: python3-devel
%description -n python3-%{name}
The mod_wsgi adapter is an Apacheache module that provides a WSGI compliant
interface for hosting Python based web applications within Apache. The
adapter is written completely in C code against the Apache C runtime and
for hosting WSGI applications within Apache has a lower overhead than using
existing WSGI adapters for mod_python or CGI.
%endif
%global _description\
The mod_wsgi adapter is an Apache module that provides a WSGI compliant\
@ -61,6 +47,7 @@ existing WSGI adapters for mod_python or CGI.\
%package -n python2-%{name}
Summary: %summary
Requires: httpd-mmn = %{_httpd_mmn}
BuildRequires: python2-devel
%{?python_provide:%python_provide python2-%{name}}
# Remove before F30
Provides: mod_wsgi = %{version}-%{release}
@ -69,6 +56,17 @@ Obsoletes: mod_wsgi < %{version}-%{release}
%description -n python2-%{name} %_description
%if 0%{?with_python3} > 0
%package -n python3-%{name}
Summary: %summary
Requires: httpd-mmn = %{_httpd_mmn}
BuildRequires: python3-devel
%description -n python3-%{name} %_description
%endif
%prep
%setup -qn %{name}-%{version}
%patch1 -p1 -b .exports
@ -144,6 +142,10 @@ ln -s %{_bindir}/mod_wsgi-express-2 $RPM_BUILD_ROOT%{_bindir}/mod_wsgi-express
%endif
%changelog
* Tue Mar 13 2018 Matthias Runge <mrunge@redhat.com> - 4.6.2-1
- update to 4.6.2 (rhbz#1514768)
- add gcc BR
* Wed Feb 7 2018 Joe Orton <jorton@redhat.com> - 4.5.20-4
- restrict module DSO symbol exports

View File

@ -1 +1 @@
SHA512 (mod_wsgi-4.5.20.tar.gz) = abe51e3c046df0b381024a449ed7eb21c86c98ca7b27e81fccb40a831bf68e7489c75175996b25087e826fc0c6c4d8b79ab6a9c11f22e3fcbb8c484bb27b1266
SHA512 (mod_wsgi-4.6.2.tar.gz) = 584eccbdbdc76a889ee1dbd7ec44ea20dac0e1e28f3a5f1e2cbc5c9006fc0e6e1bb04a7fa754d08ff2d4e6e9b9cbe9e96de427c0f5685629f2e577aa7793684f