]> git.pld-linux.org Git - packages/python-lesscpy.git/blobdiff - python-lesscpy.spec
rebuild with tests and docs
[packages/python-lesscpy.git] / python-lesscpy.spec
index c1c0d2c92685cc609d7d32a0ccdc922e582da211..fe895070c3cda40e1d84264c4ab7671fa59577c3 100644 (file)
@@ -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:       1
+Release:       10
 License:       MIT
 Group:         Libraries/Python
 #Source0Download: https://pypi.python.org/simple/lesscpy
@@ -112,10 +112,11 @@ 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-3 $RPM_BUILD_ROOT%{_bindir}/lesscpy
+ln -sf lesscpy-2 $RPM_BUILD_ROOT%{_bindir}/lesscpy
 %endif
 
 %clean
This page took 0.072791 seconds and 4 git commands to generate.