- fix permissions warning on appdata, does not need +x

OBS-URL: https://build.opensuse.org/package/show/network:utilities/wireshark?expand=0&rev=183
This commit is contained in:
Andreas Stieger 2016-09-05 14:53:32 +00:00 committed by Git OBS Bridge
parent 81ad0f9a82
commit 93711da8aa
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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 "/<description>/i \ \ \ \ <name>Wireshark (GTK) Network Analyzer<\/name>" \
-e "/<description>/i \ \ \ \ <summary>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 "/<description>/i \ \ \ \ <name>Wireshark (QT) Network Analyzer<\/name>" \
-e "/<description>/i \ \ \ \ <summary>QT interface for wireshark network traffic analyzer<\/summary>" \
%{buildroot}%{_datadir}/appdata/%{name}.appdata.xml