20 Commits

Author SHA1 Message Date
basilrabi
a25f8b970f [RPM] fix broken -u flag in buildrmps.sh
When using `buildrpms.sh -u`, the script fails with:

```
Wrote: /builddir/build/SRPMS/qgis-*.src.rpm
Finish: rpmbuild -bs
Finish: buildsrpm
INFO: Done(qgis.spec) Config(default) 0 minutes 22 seconds
INFO: Results and/or logs in: result
INFO: Cleaning up build root ('cleanup_on_success=True')
Start: clean chroot
Finish: clean chroot
Finish: run
Source package created
Source package unavailable. Abort
```

The reason was because a wrong src.rpm file name was extracted by sed.
Instead of `qgis-*.src.rpm`, what was being extracted is
`qgis-*.src.rpm\r` which includes a carriage return. This change removes
any character at the end of the `.rpm` when extracting the file name.
2020-01-02 13:07:29 +10:00
Daniele Viganò
08c095e7a7
[RPM] Fix rpmbuild.sh broken shell checks 2019-03-26 14:40:37 +01:00
Daniele Viganò
4857a06d35
[RPM] Make buildrpm.sh more robust and fix -b flag usage 2019-03-26 10:38:07 +01:00
Daniele Viganò
b4ce8d60db
[RPM] Improve buildrpms.sh script and use pbzip2 when available 2019-03-26 08:52:15 +01:00
Daniele Viganò
fd8344bceb More fixes for rpm/buildrpms.sh 2018-06-23 04:43:43 +10:00
Daniele Viganò
9caeb809fc Fix a regression in buildrpms.sh introduced in #7287 2018-06-23 04:43:43 +10:00
Daniele Viganò
6b7a7f1893 Some minor fixes to rpm/buildrpms.sh 2018-06-21 10:26:06 +02:00
Nyall Dawson
6c9484b923 Fix SC2181 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
36e38210db Fix SC2116 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
80d655598a Fix SC2219 warnings 2018-06-21 15:33:29 +10:00
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
Nyall Dawson
f37c2bf6f6 Revert "[needs-qa]Usr bin env" 2018-01-30 11:33:49 +11:00
lbartoletti
59c2ab45a0 more bash 2018-01-17 21:28:10 +01:00
Daniele Viganò
fac6543458 Fix epoch management in rpm spec 'Requires' 2017-10-25 08:39:42 +02:00
Daniele Viganò
19ee74b589 Better RPM generation, add support for unstable builds 2017-10-09 14:05:18 +02:00
Daniele Viganò
524c7915e8 Update qgis-mime.xml for RPM, replace wrong ext in buildrpms.sh 2017-10-02 09:12:34 +02:00
Daniele Viganò
15e5419a74 Initial RPM sources update for QGIS3 2017-10-01 23:41:47 +02:00
Juergen E. Fischer
4e1cf3c081 add missing copyright headers 2016-01-08 21:32:11 +01:00
Matthias Kuhn
abd1978530 [rpmbuild] support for multi-digit version numbers and add Fedora 22 to default 2015-06-26 15:45:50 +02:00
Matthias Kuhn
e12601ef7f Add rpm files to build Fedora/CentOS/RHEL packages 2015-05-01 16:43:06 +02:00