Install style.css into the right location

Resolves: rhbz#1492761
Fixes:
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/setroubleshoot/browser.py", line 821, in on_previous_button_clicked
    self.show_current_alert()
  File "/usr/lib/python3.6/site-packages/setroubleshoot/browser.py", line 794, in show_current_alert
    rb = self.add_row(p, alert, args)
  File "/usr/lib/python3.6/site-packages/setroubleshoot/browser.py", line 456, in add_row
    cssProvider.load_from_path('/usr/share/setroubleshoot/gui/style.css')
GLib.GError: gtk-css-provider-error-quark: <broken file>:1:0Failed to import: Error opening file /usr/share/setroubleshoot/gui/style.css: No such file or directory (2)
This commit is contained in:
Petr Lautrbach 2017-09-19 08:09:46 +02:00
parent 5bc197c4d4
commit bedf0d4f2a
1 changed files with 3 additions and 0 deletions

View File

@ -102,6 +102,9 @@ rm -rf %{buildroot}/usr/share/doc/
# create /run/setroubleshoot on boot
install -m644 -D %{SOURCE1} $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf
# install style.css - it's automatic in 3.3.13
install -m644 gui/style.css %{buildroot}%{pkgguidir}/
%find_lang %{name}