diff --git a/.gitignore b/.gitignore index 6ab44ff..bc91f7d 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/mod_wsgi.spec b/mod_wsgi.spec index a1371f4..61b73bb 100644 --- a/mod_wsgi.spec +++ b/mod_wsgi.spec @@ -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 - 4.6.2-1 +- update to 4.6.2 (rhbz#1514768) +- add gcc BR + * Wed Feb 7 2018 Joe Orton - 4.5.20-4 - restrict module DSO symbol exports diff --git a/sources b/sources index e0e4756..d4d9436 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mod_wsgi-4.5.20.tar.gz) = abe51e3c046df0b381024a449ed7eb21c86c98ca7b27e81fccb40a831bf68e7489c75175996b25087e826fc0c6c4d8b79ab6a9c11f22e3fcbb8c484bb27b1266 +SHA512 (mod_wsgi-4.6.2.tar.gz) = 584eccbdbdc76a889ee1dbd7ec44ea20dac0e1e28f3a5f1e2cbc5c9006fc0e6e1bb04a7fa754d08ff2d4e6e9b9cbe9e96de427c0f5685629f2e577aa7793684f