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
|
%global __arch_install_post /usr/lib/rpm/check-buildroot
|
||||||
|
|
||||||
# Macros
|
# Macros
|
||||||
%define pyversion 3.9
|
%define pyversion 3.10
|
||||||
%define name polemarch
|
%define name polemarch
|
||||||
%define shortname polemarch
|
%define shortname polemarch
|
||||||
%define namebase 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-amqp, python3-vine, python3-billiard, python3-celery, python3-kombu
|
||||||
BuildRequires: python3-redis, python3-Cython, python3-django-timezone-field, python3-markdown2
|
BuildRequires: python3-redis, python3-Cython, python3-django-timezone-field, python3-markdown2
|
||||||
BuildRequires: python3-netaddr, python3-ldap, python3-smmap
|
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, openssl-devel, libxcrypt-compat
|
||||||
Requires: python3-virtualenv, python3-mysql, python3-PyMySQL
|
Requires: python3-virtualenv, python3-mysql, python3-PyMySQL
|
||||||
Requires: git
|
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
|
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
|
ln -s %{python3_sitelib}/gitdb %{buildroot}/opt/polemarch/lib/python%{pyversion}/site-packages/gitdb
|
||||||
# remove buildroot path in opt/polemarch/bin/activate.xsh:
|
# 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:
|
# remove .gitignore file:
|
||||||
rm -f %{buildroot}/opt/polemarch/.gitignore
|
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}/*
|
[ "%{_builddir}" != "/" ] && [ -d "%{_builddir}" ] && rm -rf %{_builddir}/*
|
||||||
|
|
||||||
%changelog
|
%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>
|
* Sun Jan 2 2022 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||||
- Update to 1.8.5 version.
|
- Update to 1.8.5 version.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user