Wireshark-users: Re: [Wireshark-users] make rpm-package fails "Not a git repository"

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Tue, 24 Sep 2019 17:27:12 -0400
There's also a bug open for this behavior:

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15167

On Tue, Sep 24, 2019 at 1:35 AM Jaap Keuter <jaap.keuter@xxxxxxxxx> wrote:

“You can build an RPM package using the rpm-package target. The package version is derived from the current git HEAD, so you must build from a git checkout."


On 23 Sep 2019, at 23:45, Nejedlo, Mark <Mark.Nejedlo@xxxxxxxxxxxxxx> wrote:

I am attempting to build an RPM for wireshark 3.0.5 following the instructions in the INSTALL file.  “make” works fine, but when I run “make rpm-package”, I get a fatal error saying “Not a git repository”.  The INSTALL file does not say anything about needing to build from a git repo.  A bit of googling turned up a thread from about a year and a half ago (vaguely in the timeframe of the 2.6 release) which suggested that it was required to be built from a git repo to make an RPM, but that this was no longer the case.
 
Do we have to build from a git repo to use make rpm-package?
 
Thanks,
Mark
 

___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request@xxxxxxxxxxxxx?subject=unsubscribe