Commit Graph

77 Commits

Author SHA1 Message Date
Dave Page
4a0efc0e86 Fix message. 2020-06-02 13:19:46 +01:00
Dave Page
2549085872 We need yum-utils. Fix the rpmmacros message whilst passing. 2020-06-02 11:54:36 +01:00
Dave Page
9e67a0b0e7 Include postgresql-libs in our Yum repos. 2020-06-02 11:30:07 +01:00
Dave Page
60a0b66414 Conflict with postgresql-libs 9.2 and below as there won't be a suitable libpq.
Per discussion with Devrim.
2020-06-01 09:42:18 +01:00
Dave Page
b21b03495d Tell Yum where the GPG public key is, and fix the arch and version variables, per Devrim. 2020-05-29 14:04:51 +01:00
Dave Page
ccb39bea1a Require postgresql >= 9.5, and don't bother with Recommends. Per discussion with Devrim. 2020-05-28 16:26:44 +01:00
Dave Page
bda62cb1f1 Don't try to import the signing key. YUM/RPM will do that for us, per Devrim. 2020-05-28 16:04:14 +01:00
Dave Page
96939ba985 Add information to the Redhat README about signing RPMs, creating a repository and creating repo RPMs. 2020-05-21 12:47:41 +01:00
Dave Page
4aaacfd5b0 Add the public key for our packages for the RPM build. 2020-05-18 15:43:17 +01:00
Dave Page
52187306ce Create the dist/ directory if needed. 2020-05-18 15:37:18 +01:00
Dave Page
5337514c63 Allow the base directory for the repo to be overridden from the environment. 2020-05-18 10:22:28 +01:00
Dave Page
762784d2b5 Add a script for generating a repo RPM. 2020-05-15 11:22:28 +01:00
Dave Page
e538a4f710 Install rpm-sign. 2020-03-31 17:44:38 +01:00
Dave Page
af00296ffe We only need to enable repos on CentOS/RHEL 8. 2020-03-31 17:14:45 +01:00
Dave Page
dd7d3c6e23 Fix syntax. Sigh. 2020-03-31 17:12:00 +01:00
Dave Page
e576a886d0 Appending signing macros is tricky as the user running the build isn't usually the one running this script. Output instructions instead. 2020-03-31 17:03:48 +01:00
Dave Page
f0d077fed8 Attempt to append signing macros to the non-root users config. 2020-03-31 16:59:45 +01:00
Dave Page
37e39ca089 Offer to setup RPM signing macros for the user. 2020-03-31 16:44:34 +01:00
Dave Page
7c2b218076 Install expect. 2020-03-31 16:07:47 +01:00
Dave Page
becb453e7d Use the correct architecture for web packages on Redhat. 2020-03-20 15:48:00 +00:00
Dave Page
35644fdd35 Update supported distro lists. 2020-03-20 14:51:19 +00:00
Dave Page
e256fc32d9 Ensure rpm-build is installed. 2020-03-20 11:50:59 +00:00
Dave Page
7f571fa7d8 Add mod_wsgi to the built package list. 2020-03-19 13:17:22 -04:00
Dave Page
e1cb6d92c5 Update supported distros list. 2020-03-19 12:56:39 -04:00
Dave Page
8812a7db69 Add support for building RPMs on CentOS/RHEL 7 2020-03-19 12:56:39 -04:00
Dave Page
6105fc861d Don't ask to continue when installing deps. 2020-03-18 13:00:33 +00:00
Dave Page
f156696339 Add support for building RHEL/CentOS 8 RPMs. 2020-03-18 08:51:11 -04:00