Den sön 15 apr. 2018 23:05Dario Lombardo <dario.lombardo...@gmail.com>
skrev:

> 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 followed the way I do it on Windows, which I think is the recommended way
there :-)


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.broma...@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-requ...@wireshark.org
> ?subject=unsubscribe
___________________________________________________________________________
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-requ...@wireshark.org?subject=unsubscribe

Reply via email to