summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2018-06-07 13:49:28 +0200
committerChristophe Monniez <moc@odoo.com>2018-06-08 15:47:07 +0200
commit0e117c873c67c49b08de7606b45f27dc1acce211 (patch)
tree60022fbce8d873c66abbc121278e922f7a6d25cb
parentd4cd8be48f83a7775c667bc6c968a4b9e14679be (diff)
[REM] packaging: add sassc to the rpm package
Since 565277acbb3995a304f8ea2a9aed98c3518420a3 sassc is used as a fallback when the python libsass is not available. With this commit, the saasc package dependency is added to the rpm to avoid installing libsass with pip.
-rw-r--r--setup.cfg2
-rw-r--r--setup/redhat/postinstall.sh1
2 files changed, 1 insertions, 2 deletions
diff --git a/setup.cfg b/setup.cfg
index 76ec37beeed..31fb90461f5 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -5,7 +5,7 @@ post-install = setup/redhat/postinstall.sh
requires =
babel
- libsass
+ sassc
libxslt-python
pychart
pyparsing
diff --git a/setup/redhat/postinstall.sh b/setup/redhat/postinstall.sh
index 1c9df706cd4..54b1b5cd56f 100644
--- a/setup/redhat/postinstall.sh
+++ b/setup/redhat/postinstall.sh
@@ -59,4 +59,3 @@ KillMode=mixed
[Install]
WantedBy=multi-user.target
EOF
-pip3 install libsass