[packages/python-lesscpy] - parser.py source file is required by ply; release 3
qboosh
qboosh at pld-linux.org
Sat Oct 15 21:12:21 CEST 2016
commit 72b02b7211e657892333b6e5adb371e79453611a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Oct 15 21:14:27 2016 +0200
- parser.py source file is required by ply; release 3
python-lesscpy.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/python-lesscpy.spec b/python-lesscpy.spec
index f7fc9cb..95899fa 100644
--- a/python-lesscpy.spec
+++ b/python-lesscpy.spec
@@ -8,7 +8,7 @@ Summary: Python LESS Compiler
Summary(pl.UTF-8): Kompilator języka LESS w Pythonie
Name: python-lesscpy
Version: 0.12.0
-Release: 2
+Release: 3
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.python.org/simple/lesscpy
@@ -112,7 +112,8 @@ rm -rf $RPM_BUILD_ROOT
%if %{with python2}
%py_install
-%py_postclean
+# source required for ply to work
+%py_postclean -x 'parser\.py'
%{__mv} $RPM_BUILD_ROOT%{_bindir}/lesscpy{,-2}
ln -sf lesscpy-2 $RPM_BUILD_ROOT%{_bindir}/lesscpy
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-lesscpy.git/commitdiff/72b02b7211e657892333b6e5adb371e79453611a
More information about the pld-cvs-commit
mailing list