Polemarch builds now on Fedora 35 with python 3.10
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
%global __arch_install_post /usr/lib/rpm/check-buildroot
|
||||
|
||||
# Macros
|
||||
%define pyversion 3.9
|
||||
%define pyversion 3.10
|
||||
%define name polemarch
|
||||
%define shortname polemarch
|
||||
%define namebase polemarch
|
||||
@@ -45,7 +45,7 @@ BuildRequires: python3-sphinxcontrib-blockdiag, python3-virtualenv, openldap-dev
|
||||
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
|
||||
BuildRequires: nodejs-has-yarn, yarnpkg, nodejs >= 10.0
|
||||
#BuildRequires: nodejs-has-yarn, yarnpkg, nodejs >= 10.0
|
||||
Requires: python3, openssl-devel, libxcrypt-compat
|
||||
Requires: python3-virtualenv, python3-mysql, python3-PyMySQL
|
||||
Requires: git
|
||||
@@ -93,7 +93,7 @@ ln -s %{python3_sitelib}/git %{buildroot}/opt/polemarch/lib/python%{pyversion}/s
|
||||
rm -rf %{buildroot}/opt/polemarch/lib/python%{pyversion}/site-packages/gitdb
|
||||
ln -s %{python3_sitelib}/gitdb %{buildroot}/opt/polemarch/lib/python%{pyversion}/site-packages/gitdb
|
||||
# remove buildroot path in opt/polemarch/bin/activate.xsh:
|
||||
sed -i -e 's|/root/rpmbuild/BUILDROOT/polemarch.*x86_64||' %{buildroot}/opt/polemarch/bin/activate.xsh
|
||||
sed -i -e 's|/root/rpmbuild/BUILDROOT/polemarch.*x86_64||' %{buildroot}/opt/polemarch/bin/activate.csh
|
||||
# remove .gitignore file:
|
||||
rm -f %{buildroot}/opt/polemarch/.gitignore
|
||||
|
||||
@@ -137,6 +137,9 @@ sudo -u %{user} /opt/%{name}/bin/%{shortname}ctl migrate
|
||||
[ "%{_builddir}" != "/" ] && [ -d "%{_builddir}" ] && rm -rf %{_builddir}/*
|
||||
|
||||
%changelog
|
||||
* Fri 18 2022 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to 1.8.5 version. Built for Fedora 35.
|
||||
|
||||
* Sun Jan 2 2022 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to 1.8.5 version.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user