probably since qt6 migration many symlinks inside the .app in bundled PyQt were broken: ``` $ cp -r $HOME/electrum/dist/Electrum.app Electrum-ghost3.app cp: /Users/vagrant/electrum/dist/Electrum.app/Contents/Resources/PyQt6/Qt6/lib/QtMultimediaQuick.framework/QtMultimediaQuick: No such file or directory cp: /Users/vagrant/electrum/dist/Electrum.app/Contents/Resources/PyQt6/Qt6/lib/QtQuickTimeline.framework/QtQuickTimeline: No such file or directory cp: /Users/vagrant/electrum/dist/Electrum.app/Contents/Resources/PyQt6/Qt6/lib/QtQuickControls2.framework/QtQuickControls2: No such file or directory ``` We were stripping out lots of datas/binaries from Qt from the mac build artifact, leaving behind dangling symlinks. Instead of adding more hacks on top of the current hacks to also rm the dangling links, I tried to clean up this blacklisting. There was no issue re the Windows build, no symlinks there, but I like to keep these two spec files in sync. ----- Some numbers: - mac: - without any exclusions at all, the mac .dmg is 80 MiB. - with these exclusions it is 57 MiB. - win: - (haven't built without exclusions.) - with the previous stripping strategy, exes were 68M/68M/50M - with these exclusions, exes are 66M/66M/50M
4.4 KiB
4.4 KiB