]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
sample to setup shadow py3 tree
authorElan Ruusamäe <glen@delfi.ee>
Thu, 28 May 2015 14:51:28 +0000 (17:51 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 28 May 2015 14:51:28 +0000 (17:51 +0300)
python.spec

index 12bcca5278f86a2c162bf11ed1c88ac47c05af3d..ec96acdafb520bcd8391cd85a32c357273094d24 100644 (file)
@@ -70,6 +70,11 @@ Dokumentacja API %{module}.
 # fix #!/usr/bin/env python -> #!/usr/bin/python:
 #%{__sed} -i -e '1s,^#!.*python,#!%{__python},' %{name}.py
 
+# setup copy of source in py3 dir
+set -- *
+install -d py3
+cp -a "$@" py3
+
 %build
 %if %{with python2}
 # CC/CFLAGS is only for arch packages - remove on noarch packages
This page took 0.127026 seconds and 4 git commands to generate.