From 72b02b7211e657892333b6e5adb371e79453611a Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sat, 15 Oct 2016 21:14:27 +0200 Subject: [PATCH] - 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 -- 2.44.0