Tomáš Chvátal 2015-06-09 14:40:27 +00:00 committed by Git OBS Bridge
parent dd35a886f8
commit 60dcfb24a4

View File

@ -1321,8 +1321,8 @@ chrpath --delete %{buildroot}%{_libdir}/%{name}/program/librasqal-lo.so.3
# Move python cache to respective filelist
for i in file-lists/*.txt; do
if [ `cat "${i}" | grep py |wc -l` -gt 0 ]; then
cat "${i}" | grep py > pyfiles.txt
if [ `cat "${i}" | grep '\.py$' |wc -l` -gt 0 ]; then
cat "${i}" | grep '\.py$' > pyfiles.txt
for j in `cat pyfiles.txt`; do
# python3 has __pycache__ dir while py2 does not
%if %{with newmedia}