remove provides of bundled nss

This commit is contained in:
Mikhail Novosyolov 2020-08-27 16:23:58 +03:00
parent 994ea18525
commit 8d3db52c40

View file

@ -14,10 +14,20 @@
%define mozillalibdir %{_libdir}/%{name}-%{version}
%define pluginsdir %{_libdir}/mozilla/plugins
# For bundled NSS. copied from firefox.spec
# Do not make provides from plugins /usr/lib64/*/*.so
%global __provides_exclude_from ^%{_libdir}/*/.*\\.so$
# Do not require filtered out provides
# To inspect them:
# for i in /usr/lib64/firefox/* ; do if file $i | grep -q ELF ; then echo ; echo -- $i ; LC_ALL=C ldd $i | grep found ; fi; done
# To make this list:
# ( for i in /usr/lib64/firefox/* ; do if file $i | grep -q ELF ; then LC_ALL=C ldd $i | grep found | awk '{print $1}' | awk -F '\\.so' '{print $1}' ; fi; done ) | sort -u | tr '\n' '|'
%global __requires_exclude ^(liblgpllibs|libmozavutil|libmozgtk|libmozsandbox|libmozsqlite3|libmozwayland|libnspr4|libnss3|libnssutil3|libplc4|libplds4|libsmime3|libssl3|libxul)\\.so.*$
Summary: Web browser based on Goanna engine
Name: newmoon
Version: 28.10.0
Release: 1
Release: 2
License: MPLv2.0
Group: Networking/WWW
Url: http://www.palemoon.org