From 93711da8aa26e06d7ff51531253dfc14963d2b58b2540e19235a8e1424d05c10 Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Mon, 5 Sep 2016 14:53:32 +0000 Subject: [PATCH] - fix permissions warning on appdata, does not need +x OBS-URL: https://build.opensuse.org/package/show/network:utilities/wireshark?expand=0&rev=183 --- wireshark.changes | 5 +++++ wireshark.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/wireshark.changes b/wireshark.changes index 2dc8e25..c06fa57 100644 --- a/wireshark.changes +++ b/wireshark.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 5 14:49:45 UTC 2016 - astieger@suse.com + +- fix permissions warning on appdata, does not need +x + ------------------------------------------------------------------- Thu Jul 28 17:23:15 UTC 2016 - astieger@suse.com diff --git a/wireshark.spec b/wireshark.spec index 27202b9..98e8943 100644 --- a/wireshark.spec +++ b/wireshark.spec @@ -263,13 +263,13 @@ install -d -m 0755 %{buildroot}%{_mandir}/man1/ # install separate appdata files corresponding to .desktop files for AppStore integration install -d -m0755 %{buildroot}%{_datadir}/appdata -install wireshark.appdata.xml %{buildroot}%{_datadir}/appdata/%{name}-gtk.appdata.xml +install -m644 wireshark.appdata.xml %{buildroot}%{_datadir}/appdata/%{name}-gtk.appdata.xml sed -i -e "//i \ \ \ \ Wireshark (GTK) Network Analyzer<\/name>" \ -e "//i \ \ \ \ GTK interface for wireshark network traffic analyzer<\/summary>" \ -e "s/wireshark\.desktop/wireshark-gtk.desktop/" \ %{buildroot}%{_datadir}/appdata/%{name}-gtk.appdata.xml -install wireshark.appdata.xml %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml +install -m644 wireshark.appdata.xml %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml sed -i -e "//i \ \ \ \ Wireshark (QT) Network Analyzer<\/name>" \ -e "//i \ \ \ \ QT interface for wireshark network traffic analyzer<\/summary>" \ %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml