From 3a952a278835d859e0becab13fec6fe4775722f4 Mon Sep 17 00:00:00 2001 From: Martin Sehnoutka Date: Dec 01 2016 14:27:06 +0000 Subject: Use autosetup instead of plain setup macro. --- diff --git a/wireshark.spec b/wireshark.spec index 19a8e1e..8caf31a 100644 --- a/wireshark.spec +++ b/wireshark.spec @@ -17,7 +17,9 @@ Source1: 90-wireshark-usbmon.rules Requires: %{name}-cli = %{version}-%{release} # Fedora-specific +%if %{with_lua} Patch1: wireshark-0001-enable-Lua-support.patch +%endif # Fedora-specific Patch2: wireshark-0002-Customize-permission-denied-error.patch # Will be proposed upstream @@ -69,6 +71,7 @@ BuildRequires: GeoIP-devel BuildRequires: lua-devel %endif BuildRequires: libtool, automake, autoconf +Buildrequires: git %description Metapackage with installs %{name}-cli and %{name}-qt. @@ -151,20 +154,7 @@ and plugins. %prep -%setup -q - -%if %{with_lua} -%patch1 -p1 -b .enable_lua -%endif - -%patch2 -p1 -b .perm_denied_customization -%patch3 -p1 -b .profinet_crash -%patch4 -p1 -b .add_autoconf -%patch5 -p1 -b .restore_group -%patch6 -p1 -b .add_pkgconfig -%patch8 -p1 -b .tmp_dir -%patch9 -p1 -b .fix_paths -%patch10 -p1 -b .64bit +%autosetup -S git %build %ifarch s390 s390x sparcv9 sparc64