Wireshark mailing list archives
Re: RPM generation
From: Dario Lombardo <dario.lombardo.ml () gmail com>
Date: Sun, 15 Apr 2018 23:04:21 +0200
Ok, I got the point. I always built the rpm from a build dir under the source dir. With your approach, the rpm-package target fails because of the lack of a parent git directory. It expects to retrieve the current version using 'git describe', and it can't because it has no clue on where the sources are. However I found a solution that leverages the fact that the export archive ships with the version number. This problem is not strictly openSUSE related, but shared across all platforms. It didn't pop up before because the common (suggested) approach is to have a build dir under the sources. I'm pushing a new change that should solve your last issue, and you should be able to build the rpm again. Let me know. Dario. On Fri, Apr 13, 2018 at 4:35 PM, Anders Broman <a.broman58 () gmail com> wrote:
Hi, I have the git repo in /home/ericsson/wireshark/ And build in /home/ericsson/build/ In the Build dir I run the cmake command with... /wireshark And then make rpm-package Regards Anders
___________________________________________________________________________ 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:
- Re: RPM generation, (continued)
- Re: RPM generation Dario Lombardo (Apr 13)
- Re: RPM generation Anders Broman (Apr 13)
- Re: RPM generation Dario Lombardo (Apr 13)
- Re: RPM generation Anders Broman (Apr 13)
- Re: RPM generation Dario Lombardo (Apr 13)
- Re: RPM generation Anders Broman (Apr 13)
- Re: RPM generation Dario Lombardo (Apr 14)
- Re: RPM generation Dario Lombardo (Apr 14)
- Re: RPM generation Anders Broman (Apr 15)
- Re: RPM generation Dario Lombardo (Apr 14)
- Re: RPM generation Dario Lombardo (Apr 15)
- Re: RPM generation Anders Broman (Apr 15)
- Re: RPM generation Dario Lombardo (Apr 16)
- Re: RPM generation Peter Wu (Apr 16)
- Re: RPM generation Anders Broman (Apr 16)
- Re: RPM generation Dario Lombardo (Apr 16)
- Re: RPM generation Dario Lombardo (Apr 16)
- Re: RPM generation Peter Wu (Apr 16)
- Re: RPM generation Dario Lombardo (Apr 16)