From 3a632b364d874cce40d0b0fd4955e6611ebe1444 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Apr 07 2017 13:54:12 +0000 Subject: Stop patching pkg-config We definitely don't need patching of version (it will be same anyway), adding Qt into requires not only has no sense, but breaking builds. -DHAVE_STDARG_H is stupid as well.. Signed-off-by: Igor Gnatenko --- diff --git a/wireshark-0006-Add-pkgconfig-entry.patch b/wireshark-0006-Add-pkgconfig-entry.patch deleted file mode 100644 index 7898aef..0000000 --- a/wireshark-0006-Add-pkgconfig-entry.patch +++ /dev/null @@ -1,25 +0,0 @@ -commit 7a47641e4b8b152264bb5d85807821a3d982eeae -Author: Radek Vokal -Date: Wed Jan 6 09:37:49 2016 +0100 - - Add pkgconfig entry - -diff --git a/wireshark.pc.in b/wireshark.pc.in -index 5889178..1e1b62f 100644 ---- a/wireshark.pc.in -+++ b/wireshark.pc.in -@@ -6,9 +6,9 @@ sharedlibdir=${libdir} - plugindir=@plugindir@ - - Name: Wireshark --Description: Network Packet Dissection Library --Version: @VERSION@ -+Description: Network Traffic Analyzer -+Version: @PACKAGE_VERSION@ - --Requires: glib-2.0, gmodule-2.0, gthread-2.0 --Libs: -L${libdir} -lwireshark --Cflags: -I${includedir}/wireshark -+Requires: Qt, glib-2.0, gmodule-2.0, gthread-2.0 -+Libs: -L@libdir@ -lwireshark -lwiretap -+Cflags: -DWS_VAR_IMPORT=extern -DHAVE_STDARG_H -DWS_MSVC_NORETURN= -I@includedir@/wireshark -I@includedir@/wireshark/epan diff --git a/wireshark.spec b/wireshark.spec index 8b19884..4a0139a 100644 --- a/wireshark.spec +++ b/wireshark.spec @@ -5,7 +5,7 @@ Summary: Network traffic analyzer Name: wireshark Version: 2.2.5 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL+ Group: Applications/Internet Url: http://www.wireshark.org/ @@ -26,8 +26,6 @@ Patch3: wireshark-0003-fix-string-overrun-in-plugins-profinet.patch Patch4: wireshark-0004-adds-autoconf-macro-file.patch # Fedora-specific Patch5: wireshark-0005-Restore-Fedora-specific-groups.patch -# Will be proposed upstream -Patch6: wireshark-0006-Add-pkgconfig-entry.patch # Fedora-specific Patch8: wireshark-0008-move-default-temporary-directory-to-var-tmp.patch # Fedora-specific @@ -361,7 +359,6 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %files %files cli -%{!?_licensedir:%global license %%doc} %license COPYING %doc AUTHORS INSTALL NEWS README* %{_bindir}/editcap @@ -428,9 +425,12 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %endif %{_includedir}/wireshark %{_libdir}/lib*.so -%{_libdir}/pkgconfig/* +%{_libdir}/pkgconfig/%{name}.pc %changelog +* Fri Apr 07 2017 Igor Gnatenko - 2.2.5-2 +- Stop patching pkg-config + * Tue Mar 07 2017 Martin Sehnoutka - 2.2.5-1 - New upstream version 2.2.5