Daniele Viganò d0aae2f0ac
Fix a build error on Fedora 29+
error is: "PyCapsule_GetPointer called with incorrect name"
patch taken from: https://issues.qgis.org/issues/19476
2018-09-15 19:22:04 +02:00
..
2018-09-15 19:22:04 +02:00
2018-06-23 04:43:43 +10:00

QGIS RPM generator

Build RPM using mock

$ ./buildrpms.sh

Generate a valid spec file from template

$ ./buildrpms.sh -c

Build SRPM using mock

$ ./buildrpms.sh -s

Rebuild last generated RPM using mock

$ ./buildrpms.sh -b

Build an unstable release

$ ./buildrpms.sh [flags] -u

This generates an RPM with release .git<short commit ID>

MOCK old chroot

It is possible to execute mock using the 'old chroot' behavior (which does not uses systemd-nspawn) setting the environment variable _MOCK_OLD_CHROOT before running buildrpms.sh:

export _MOCK_OLD_CHROOT=1

This may be useful when running mock inside environments that do not play well with systemd-nspawn (LXC/LXD, Docker...).