commit 4ad0e355d6a8856fc9349c31cd7261b60d715e32
Author: Jacek Konieczny <j.koniec...@eggsoft.pl>
Date:   Wed Oct 24 09:00:56 2018 +0200

    fix 'gui' bcond

 wireshark.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/wireshark.spec b/wireshark.spec
index 905245b..b8ba45e 100644
--- a/wireshark.spec
+++ b/wireshark.spec
@@ -343,7 +343,7 @@ install -d 
$RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_includedir}/wireshar
 
 cp -p image/wsicon48.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
 
-%{__rm} $RPM_BUILD_ROOT%{_desktopdir}/wireshark*.desktop
+%{?with_gui:%{__rm} $RPM_BUILD_ROOT%{_desktopdir}/wireshark*.desktop}
 %{?with_gtk:cp -p wireshark-gtk.desktop 
$RPM_BUILD_ROOT%{_desktopdir}/wireshark.desktop}
 %{?with_qt:cp -p wireshark.desktop 
$RPM_BUILD_ROOT%{_desktopdir}/wireshark-qt.desktop}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wireshark.git/commitdiff/4ad0e355d6a8856fc9349c31cd7261b60d715e32

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to