safeguard against linking against bundled nss

Related: #1563708
This commit is contained in:
Ray Strode 2018-06-11 13:50:47 -04:00 committed by Kalev Lember
parent 94698979bd
commit e41ac4acdc
1 changed files with 8 additions and 1 deletions

View File

@ -12,7 +12,7 @@
Name: mozjs%{major} Name: mozjs%{major}
Version: 52.8.0 Version: 52.8.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: SpiderMonkey JavaScript library Summary: SpiderMonkey JavaScript library
License: MPLv2.0 and MPLv1.1 and BSD and GPLv2+ and GPLv3+ and LGPLv2.1 and LGPLv2.1+ and AFL and ASL 2.0 License: MPLv2.0 and MPLv1.1 and BSD and GPLv2+ and GPLv3+ and LGPLv2.1 and LGPLv2.1+ and AFL and ASL 2.0
@ -91,6 +91,9 @@ pushd ../..
%endif %endif
%patch304 -p1 -b .1253216 %patch304 -p1 -b .1253216
# make sure we don't ever accidentally link against bundled security libs
rm -rf security/
popd popd
# Remove zlib directory (to be sure using system version) # Remove zlib directory (to be sure using system version)
@ -180,6 +183,10 @@ ln -s libmozjs-%{major}.so.0 %{buildroot}%{_libdir}/libmozjs-%{major}.so
%{_includedir}/mozjs-%{major}/ %{_includedir}/mozjs-%{major}/
%changelog %changelog
* Mon Jun 11 2018 Ray Strode <rstrode@redhat.com> - 52.8.0-2
- safeguard against linking against bundled nss
Related: #1563708
* Fri May 11 2018 Kalev Lember <klember@redhat.com> - 52.8.0-1 * Fri May 11 2018 Kalev Lember <klember@redhat.com> - 52.8.0-1
- Update to 52.8.0 - Update to 52.8.0
- Fix the build on ppc - Fix the build on ppc