Polemarch upgrade to 1.1.4, including dependencies (MySQL and Django)

This commit is contained in:
2019-05-03 15:06:29 +02:00
parent 505f79964f
commit 7c07f37607
5 changed files with 1825 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
%define namebase polemarch
%define user polemarch
%define datad poledata
%define version 1.1.3
%define version 1.1.4
%define release 1
%define __prelink_undo_cmd %{nil}
%define _binaries_in_noarch_packages_terminate_build 0
@@ -31,6 +31,7 @@ AutoProv: No
Source0: %name-%version.tar.gz
Source1: %name-settings
Source2: %name-redis-patch.sh
Source3: %name-mysql-patch.sh
Patch0: %name-python3.patch
# Note: these two packages must not be installed by distribution (fedora): python3-pyyaml, python3-blockdiag-devel
@@ -38,7 +39,7 @@ Patch0: %name-python3.patch
BuildRequires: python3, openssl-devel, libyaml-devel
BuildRequires: python3-sphinxcontrib-blockdiag, python3-virtualenv, openldap-devel
Requires: python3, openssl-devel
Requires: python3-virtualenv
Requires: python3-virtualenv, python3-mysql, python3-PyMySQL
Requires: git
Requires: libyaml-devel
Requires: krb5-devel, krb5-libs, openldap-devel
@@ -58,6 +59,8 @@ make BUILD_DIR=%{buildroot}
install %{S:1} %{buildroot}%{_sysconfdir}/%{namebase}/settings.ini
# fix for python3 redis access:
bash %{S:2}
# fix or workaround for mysqlclient version check:
bash %{S:3}
# fix for fedora rundir config:
mv %{buildroot}/var/run %{buildroot}/
# create additional directories:
@@ -104,6 +107,12 @@ sudo -u %{user} /opt/%{name}/bin/%{shortname}ctl migrate
[ "%{_builddir}" != "/" ] && [ -d "%{_builddir}" ] && rm -rf %{_builddir}/*
%changelog
* Fri May 3 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
- Workaround for mysql DB version failure.
* Sun Apr 28 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
- Update to latest 1.1.4 version.
* Fri Mar 22 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
- Update to latest 1.1.3 version.