Wireshark mailing list archives

Re: RPM generation


From: Anders Broman <anders.broman () ericsson com>
Date: Tue, 10 Apr 2018 09:46:14 +0000

Hi,
What I did:
On SuSe 12.2 git clone Wireshark
Create a build dir
In the Build dir run:
cmake -G "Unix Makefiles" ../wireshark

run:
make rpm-build

Currently I have the following patch:
@ -58,7 +58,12 @@ BuildRequires:       perl
BuildRequires: flex
BuildRequires: bison
# HTML guides
+%if 0%{?suse_version}
+#BuildRequires:  asciidoctor.ruby2.1
+#BuildRequires:  rubygem(asciidoctor)
+%else
BuildRequires: asciidoctor
+%endif
 BuildRequires: glib2-devel >= @GLIB2_MIN_VERSION@
Requires:      glib2 >= @GLIB2_MIN_VERSION@

But the main problem is that it fails building the RPM, it seems to me that cmake is called with the wrong path at 
%cmake, but I have no idea why ☹

Reards
Anders

From: Wireshark-dev [mailto:wireshark-dev-bounces () wireshark org] On Behalf Of Dario Lombardo
Sent: den 10 april 2018 11:38
To: Developer support list for Wireshark <wireshark-dev () wireshark org>
Subject: [Wireshark-dev] RPM generation

I've read in previous messages that some issues about rpm generation are still pending, and this is blocking autotools 
removal. Can those issues be listed here? I'd like to help to solve them, and maybe others can do the same as well.
I'd like to have detailed instructions on how to generate rpm as well, since I've never done it before.
Dario.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: