Nginx and Polemarch updated
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
# prevents the building of /usr/lib/.build-id directories and files:
|
||||
# this only happens, if you are using python virtualenv
|
||||
%global _build_id_links none
|
||||
# don't check for rpath:
|
||||
%global __arch_install_post /usr/lib/rpm/check-buildroot
|
||||
|
||||
# Macros
|
||||
%define name polemarch
|
||||
@@ -13,8 +15,8 @@
|
||||
%define namebase polemarch
|
||||
%define user polemarch
|
||||
%define datad poledata
|
||||
%define version 1.1.4
|
||||
%define release 2
|
||||
%define version 1.2.1
|
||||
%define release 1
|
||||
%define __prelink_undo_cmd %{nil}
|
||||
%define _binaries_in_noarch_packages_terminate_build 0
|
||||
%define unmangled_version %{version}
|
||||
@@ -37,7 +39,7 @@ Patch1: %name-venvctrl.patch
|
||||
|
||||
# Note: these two packages must not be installed by distribution (fedora): python3-pyyaml, python3-blockdiag-devel
|
||||
# Build fails, if these two packages are installed!
|
||||
BuildRequires: python3, openssl-devel, libyaml-devel
|
||||
BuildRequires: python3, openssl-devel, libyaml-devel, python3-mysql
|
||||
BuildRequires: python3-sphinxcontrib-blockdiag, python3-virtualenv, openldap-devel
|
||||
Requires: python3, openssl-devel, libxcrypt-compat
|
||||
Requires: python3-virtualenv, python3-mysql, python3-PyMySQL
|
||||
@@ -70,6 +72,7 @@ mv %{buildroot}/var/run %{buildroot}/
|
||||
# create additional directories:
|
||||
install -d %{buildroot}/%{_var}/log/%{name}
|
||||
install -d %{buildroot}/opt/%{datad}
|
||||
ln -s %{python3_sitearch}/MySQLdb %{buildroot}/opt/polemarch/lib/python3.7/site-packages/MySQLdb
|
||||
|
||||
%pre
|
||||
getent group %{user} >/dev/null || \
|
||||
@@ -111,6 +114,12 @@ sudo -u %{user} /opt/%{name}/bin/%{shortname}ctl migrate
|
||||
[ "%{_builddir}" != "/" ] && [ -d "%{_builddir}" ] && rm -rf %{_builddir}/*
|
||||
|
||||
%changelog
|
||||
* Mon Jun 15 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
- Update to 1.2.1 version.
|
||||
|
||||
* Mon Jun 10 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
- Update to 1.2.0 version, python 3 is required now.
|
||||
|
||||
* Sun May 12 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
|
||||
- Dependency for libxcrypt-compat added.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user