-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] packaging: update rpm packaging for fedora 32
As Fedora 32 was the current release when Odoo 14.0 was released, this should be the supported version. Also, a few old libs were still in mentioned in the packaging files. They flew under the radar because they never broke the packaging. This is not the case anymore, those libs disappeared from the Fedora repos. It seems that pyparsing is not used anymore since 5a1c06a and thus can be safely removed from `requirements.txt` too. pychart is not used anymore since 3425752. While at it, remove mix of tabs and spaces in package.dffedora, also add missing packages to avoid installation at test time. Now that I started down the slippery slope, also removed some `-dev` packages in package.dfsrc as wheel's are available. Finally, the rpm install script now detects the python ABI version in order to avoid update this file at each ABI change in Fedora. Fixes odoo#63719 closes odoo#65224 Signed-off-by: Christophe Monniez (moc) <[email protected]>
- Loading branch information
Showing
10 changed files
with
55 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,59 @@ | ||
# Please note that this Dockerfile is used for testing nightly builds and should | ||
# not be used to deploy Odoo | ||
FROM fedora:30 | ||
FROM fedora:32 | ||
MAINTAINER Odoo S.A. <[email protected]> | ||
|
||
# Dependencies and postgres | ||
RUN dnf update -d 0 -e 0 -y && \ | ||
dnf install -d 0 -e 0 \ | ||
babel \ | ||
createrepo \ | ||
pychart \ | ||
pyparsing \ | ||
python3-babel \ | ||
python3-decorator \ | ||
python3-docutils \ | ||
python3-feedparser \ | ||
python3-gevent \ | ||
python3-greenlet \ | ||
python3-html2text \ | ||
python3-jinja2 \ | ||
python3-lxml \ | ||
python3-mako \ | ||
python3-markupsafe \ | ||
python3-num2words \ | ||
python3-ofxparse \ | ||
python3-passlib \ | ||
python3-pillow \ | ||
python3-psutil \ | ||
python3-pydot \ | ||
python3-pyldap \ | ||
python3-pyparsing \ | ||
python3-PyPDF2 \ | ||
python3-pyserial \ | ||
python3-dateutil \ | ||
python3-polib \ | ||
python3-pytz \ | ||
python3-pyusb \ | ||
python3-qrcode \ | ||
python3-reportlab \ | ||
python3-requests \ | ||
python3-six \ | ||
python3-stdnum \ | ||
python3-suds \ | ||
python3-vobject \ | ||
python3-werkzeug \ | ||
python3-xlwt \ | ||
python3-xlrd \ | ||
python3-xlsxwriter \ | ||
libsass \ | ||
pytz \ | ||
postgresql \ | ||
postgresql-server \ | ||
postgresql-libs \ | ||
postgresql-contrib \ | ||
postgresql-devel \ | ||
rpmdevtools -y && \ | ||
dnf clean all | ||
dnf install -d 0 -e 0 \ | ||
createrepo \ | ||
libsass \ | ||
postgresql \ | ||
postgresql-contrib \ | ||
postgresql-devel \ | ||
postgresql-libs \ | ||
postgresql-server \ | ||
python3-PyPDF2 \ | ||
python3-babel \ | ||
python3-dateutil \ | ||
python3-decorator \ | ||
python3-docutils \ | ||
python3-feedparser \ | ||
python3-freezegun \ | ||
python3-gevent \ | ||
python3-greenlet \ | ||
python3-html2text \ | ||
python3-idna \ | ||
python3-jinja2 \ | ||
python3-lxml \ | ||
python3-mako \ | ||
python3-markupsafe \ | ||
python3-mock \ | ||
python3-num2words \ | ||
python3-ofxparse \ | ||
python3-passlib \ | ||
python3-pillow \ | ||
python3-polib \ | ||
python3-psutil \ | ||
python3-psycopg2 \ | ||
python3-pydot \ | ||
python3-pyldap \ | ||
python3-pyserial \ | ||
python3-pytz \ | ||
python3-pyusb \ | ||
python3-qrcode \ | ||
python3-reportlab \ | ||
python3-requests \ | ||
python3-six \ | ||
python3-stdnum \ | ||
python3-suds \ | ||
python3-vobject \ | ||
python3-werkzeug \ | ||
python3-xlrd \ | ||
python3-xlsxwriter \ | ||
python3-xlwt \ | ||
rpmdevtools -y && \ | ||
dnf clean all | ||
|
||
# Postgres configuration | ||
RUN mkdir -p /var/lib/postgres/data | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/bin/sh | ||
set -e | ||
python3 setup.py install --prefix=/usr --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES --install-lib usr/lib/python3.7/site-packages/ | ||
ABI=$(rpm -q --provides python3 | awk '/abi/ {print $NF}') | ||
python3 setup.py install --prefix=/usr --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES --install-lib usr/lib/python${ABI}/site-packages/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters