Polemarch updated

This commit is contained in:
2020-05-15 14:48:21 +02:00
parent 08ed7f99c3
commit 04a84dd14f

View File

@@ -16,8 +16,8 @@
%define namebase polemarch
%define user polemarch
%define datad poledata
%define version 1.6.2
%define release 2
%define version 1.7.6
%define release 1
%define __prelink_undo_cmd %{nil}
%define _binaries_in_noarch_packages_terminate_build 0
%define unmangled_version %{version}
@@ -44,6 +44,9 @@ Patch1: %name-venvctrl.patch
# Build fails, if these two packages are installed!
BuildRequires: python3, openssl-devel, libyaml-devel, python3-mysql
BuildRequires: python3-sphinxcontrib-blockdiag, python3-virtualenv, openldap-devel
BuildRequires: python3-amqp, python3-vine, python3-billiard, python3-celery, python3-kombu
BuildRequires: python3-redis, python3-Cython, python3-django-timezone-field, python3-markdown2
BuildRequires: python3-netaddr, python3-ldap, python3-smmap
Requires: python3, openssl-devel, libxcrypt-compat
Requires: python3-virtualenv, python3-mysql, python3-PyMySQL
Requires: git
@@ -52,6 +55,9 @@ Requires: krb5-devel, krb5-libs, openldap-devel
Requires: mailcap
Requires: python3-redis >= 3.2.0, python3-django-redis >= 4.0.0, redis >= 5.0.0
Requires: python3-gitdb, python3-GitPython
Requires: python3-amqp, python3-vine, python3-billiard, python3-celery, python3-kombu
Requires: python3-redis, python3-Cython, python3-django-timezone-field, python3-markdown2
Requires: python3-netaddr, python3-ldap, python3-smmap
%description
Polemarch is service for orchestration infrastructure by ansible.
@@ -65,7 +71,11 @@ Simply WEB gui for orchestration infrastructure by ansible playbooks.
%install
#/usr/bin/make BUILD_DIR=%{buildroot}
# Install binary package (compiling does not work here! You need to compile it first!)
# /usr/bin/make BUILD_DIR=/root/rpmbuild/BUILDROOT/polemarch-1.6.2-1.fc32.x86_64
# cd BUILD/polemarch-1.7.3
# /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix ~/rpmbuild/SOURCES/venvctrl-patch --fuzz=0
# /usr/bin/make BUILD_DIR=/root/rpmbuild/BUILDROOT/polemarch
# cd /root/rpmbuild/BUILDROOT/polemarch
# tar czf ~/rpmbuild/SOURCES/polemarch-bin-1.7.3.tgz .
# don't forget to replace version and release number!
tar xzf %{S:10} -C %{buildroot}
/usr/bin/install %{S:1} %{buildroot}%{_sysconfdir}/%{namebase}/settings.ini
@@ -128,6 +138,9 @@ sudo -u %{user} /opt/%{name}/bin/%{shortname}ctl migrate
[ "%{_builddir}" != "/" ] && [ -d "%{_builddir}" ] && rm -rf %{_builddir}/*
%changelog
* Fri May 15 2020 Daniel Steiner <daniel.steiner@daniel-steiner.org>
- Update to 1.7.6 version.
* Sun May 3 2020 Daniel Steiner <daniel.steiner@daniel-steiner.org>
- Fixes for Fedora 32 installation. Git and gitdb packages are now symlinked.