This commit is contained in:
parent
dd35a886f8
commit
60dcfb24a4
@ -1321,8 +1321,8 @@ chrpath --delete %{buildroot}%{_libdir}/%{name}/program/librasqal-lo.so.3
|
|||||||
|
|
||||||
# Move python cache to respective filelist
|
# Move python cache to respective filelist
|
||||||
for i in file-lists/*.txt; do
|
for i in file-lists/*.txt; do
|
||||||
if [ `cat "${i}" | grep py |wc -l` -gt 0 ]; then
|
if [ `cat "${i}" | grep '\.py$' |wc -l` -gt 0 ]; then
|
||||||
cat "${i}" | grep py > pyfiles.txt
|
cat "${i}" | grep '\.py$' > pyfiles.txt
|
||||||
for j in `cat pyfiles.txt`; do
|
for j in `cat pyfiles.txt`; do
|
||||||
# python3 has __pycache__ dir while py2 does not
|
# python3 has __pycache__ dir while py2 does not
|
||||||
%if %{with newmedia}
|
%if %{with newmedia}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user