hopefully this fixes the rpath thing
This commit is contained in:
parent
580ab4bf81
commit
6ec1eade17
1 changed files with 4 additions and 7 deletions
|
@ -1,16 +1,10 @@
|
|||
%global __brp_check_rpaths %{nil}
|
||||
# ^ disable rpath checking
|
||||
# see https://stackoverflow.com/a/73807744
|
||||
# (the problem: https://drone.askiiart.net/pkg-repo/librewolf-allow-dark/4502/1/2)
|
||||
# (see also: https://fedoraproject.org/wiki/Changes/Broken_RPATH_will_fail_rpmbuild)
|
||||
|
||||
Name: librewolf-allow-dark
|
||||
Version: __VERSION__
|
||||
Release: 1
|
||||
Summary: Librewolf, with the privacy.override_rfp_for_color_scheme option added
|
||||
License: MPL-2.0
|
||||
URL: https://git.askiiart.net/pkg-repo/librewolf-allow-dark
|
||||
BuildRequires: tar zstd
|
||||
BuildRequires: tar zstd patchelf
|
||||
|
||||
%description
|
||||
Librewolf with the privacy.override_rfp_for_color_scheme about:config option added, which if enabled lets you change the color scheme even if rfp is turned on
|
||||
|
@ -40,6 +34,9 @@ for res in "${resolutions[@]}"; do
|
|||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${res}x${res}/apps
|
||||
cp ./browser/chrome/icons/default/default${res}.png %{buildroot}%{_datadir}/icons/hicolor/${res}x${res}/apps/librewolf.png
|
||||
done
|
||||
# Remove the broken RPATH... hopefully it's only a problem for this file
|
||||
patchelf --remove-rpath /usr/share/librewolf/libonnxruntime.so
|
||||
# move the stuff to /usr/share/librewolf
|
||||
mv ./* %{buildroot}%{_datadir}/librewolf/
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue