Remove rpath
(cherry picked from commit e4a7222ba1c7715a42df76310334c8b778565247)
This commit is contained in:
parent
d93706a6af
commit
70cb600ef6
@ -6,7 +6,7 @@
|
|||||||
%global sphinxbin %{_bindir}/sphinx-build-3
|
%global sphinxbin %{_bindir}/sphinx-build-3
|
||||||
Name: mod_wsgi
|
Name: mod_wsgi
|
||||||
Version: 4.9.1
|
Version: 4.9.1
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: A WSGI interface for Python web applications in Apache
|
Summary: A WSGI interface for Python web applications in Apache
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://modwsgi.readthedocs.io/
|
URL: https://modwsgi.readthedocs.io/
|
||||||
@ -14,7 +14,7 @@ Source0: https://github.com/GrahamDumpleton/mod_wsgi/archive/refs/ta
|
|||||||
Source1: wsgi-python3.conf
|
Source1: wsgi-python3.conf
|
||||||
Patch1: mod_wsgi-4.5.20-exports.patch
|
Patch1: mod_wsgi-4.5.20-exports.patch
|
||||||
Patch2: CVE-2022-2255.patch
|
Patch2: CVE-2022-2255.patch
|
||||||
BuildRequires: httpd-devel gcc perl
|
BuildRequires: httpd-devel gcc perl chrpath
|
||||||
%{?filter_provides_in: %filter_provides_in %{_httpd_moddir}/.*\.so$}
|
%{?filter_provides_in: %filter_provides_in %{_httpd_moddir}/.*\.so$}
|
||||||
%{?filter_setup}
|
%{?filter_setup}
|
||||||
%description
|
%description
|
||||||
@ -65,6 +65,8 @@ install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_httpd_modconfdir}/10-wsgi-python3
|
|||||||
mv $RPM_BUILD_ROOT%{_bindir}/mod_wsgi-express{,-3}
|
mv $RPM_BUILD_ROOT%{_bindir}/mod_wsgi-express{,-3}
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
chrpath -d %{buildroot}%{python3_sitearch}/mod_wsgi/server/mod_wsgi-py310.cpython-310-%{_arch}-linux-gnu.so
|
||||||
|
|
||||||
%files -n python3-%{name}
|
%files -n python3-%{name}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CREDITS.rst README.rst
|
%doc CREDITS.rst README.rst
|
||||||
@ -75,6 +77,9 @@ popd
|
|||||||
%{_bindir}/mod_wsgi-express-3
|
%{_bindir}/mod_wsgi-express-3
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 3 2023 liyanan <liyanan32@h-partners.com> - 4.9.1-3
|
||||||
|
- Remove rpath
|
||||||
|
|
||||||
* Mon Aug 08 2022 zhuhai95 <zhuhai@ncti-gba.cn> - 4.9.1-2
|
* Mon Aug 08 2022 zhuhai95 <zhuhai@ncti-gba.cn> - 4.9.1-2
|
||||||
- Fix CVE-2022-2255
|
- Fix CVE-2022-2255
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user