Python 2 binary package renamed to python2-mod_wsgi
This commit is contained in:
parent
241a680c24
commit
58510b63b1
@ -14,7 +14,7 @@
|
||||
|
||||
Name: mod_wsgi
|
||||
Version: 4.5.20
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A WSGI interface for Python web applications in Apache
|
||||
Group: System Environment/Libraries
|
||||
License: ASL 2.0
|
||||
@ -25,7 +25,6 @@ Source2: wsgi-python3.conf
|
||||
|
||||
BuildRequires: httpd-devel, python-devel
|
||||
BuildRequires: python2-sphinx
|
||||
Requires: httpd-mmn = %{_httpd_mmn}
|
||||
|
||||
# Suppress auto-provides for module DSO
|
||||
%{?filter_provides_in: %filter_provides_in %{_httpd_moddir}/.*\.so$}
|
||||
@ -48,14 +47,27 @@ existing WSGI adapters for mod_python or CGI.
|
||||
|
||||
%endif
|
||||
|
||||
%description
|
||||
The mod_wsgi adapter is an Apache 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.
|
||||
%global _description\
|
||||
The mod_wsgi adapter is an Apache 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.\
|
||||
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python2-%{name}
|
||||
Summary: %summary
|
||||
Requires: httpd-mmn = %{_httpd_mmn}
|
||||
%{?python_provide:%python_provide python2-%{name}}
|
||||
# Remove before F30
|
||||
Provides: mod_wsgi = %{version}-%{release}
|
||||
Provides: mod_wsgi%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: mod_wsgi < %{version}-%{release}
|
||||
|
||||
%description -n python2-%{name} %_description
|
||||
|
||||
%prep
|
||||
%setup -qn %{name}-%{version}
|
||||
|
||||
@ -108,7 +120,7 @@ install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_httpd_modconfdir}/10-wsgi.conf
|
||||
mv $RPM_BUILD_ROOT%{_bindir}/mod_wsgi-express{,-2}
|
||||
ln -s %{_bindir}/mod_wsgi-express-2 $RPM_BUILD_ROOT%{_bindir}/mod_wsgi-express
|
||||
|
||||
%files
|
||||
%files -n python2-%{name}
|
||||
%license LICENSE
|
||||
%doc CREDITS.rst README.rst
|
||||
%config(noreplace) %{_httpd_modconfdir}/*wsgi.conf
|
||||
@ -130,6 +142,10 @@ ln -s %{_bindir}/mod_wsgi-express-2 $RPM_BUILD_ROOT%{_bindir}/mod_wsgi-express
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 4.5.20-2
|
||||
- Python 2 binary package renamed to python2-mod_wsgi
|
||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||
|
||||
* Fri Oct 20 2017 Joe Orton <jorton@redhat.com> - 4.5.20-1
|
||||
- update to 4.5.20
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user