lbartoletti 124e26815d Standardize shebangs (was Usr bin env) (#6229)
* Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}

* fix perl;add bash

* Fix indentation using modified scripts

* Revert "fix perl;add bash"

This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.

* python3 everywhere

* more bash

* rebase
change perl

* Linux perl; missing from last PR

* fix doxygen_space

* Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}

* fix perl;add bash

* Fix indentation using modified scripts

* Revert "fix perl;add bash"

This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.

* python3 everywhere

* more bash

* rebase
change perl

* fix doxygen_space
2018-02-05 03:38:02 -09: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...).