[devel] q: sisyphus_check spec file type

Michael Shigorin =?iso-8859-1?q?mike_=CE=C1_osdn=2Eorg=2Eua?=
Ср Мар 22 11:47:33 MSK 2006


	Здравствуйте.
Что это было?

$ hsh-3.0 cndrvcups-common.spec
-- building in /home/mike/hasher/3.0 with /usr/local/etc/apt/3.0/apt.conf
Components: hasher
Processing pkglists... hasher done
Processing srclists...  hasher done
Creating component releases... done
Updating global release file... done
Appending MD5Sum... hasher done
All your base are belong to us!!!
/.in/cndrvcups-common.spec: unexpected file type: ASCII English text
rebuild: cndrvcups-common.spec: sisyphus_check failed.

Посмотрел:

~/RPM/SPECS> ( find -name '*.spec' | xargs file ) | cut -d: -f2 | sed 's,^ \+,,' | grep -v 'symbolic link' | sort -u 
ASCII C++ program text
ASCII English text
ASCII English text, with very long lines
ASCII Java program text
ASCII text
ISO-8859 English text
ISO-8859 English text, with very long lines
ISO-8859 Java program text
ISO-8859 text
UTF-8 Unicode English text
UTF-8 Unicode text

Как упоминал ott@, полагаться на file -- неосторожно.

-- 
 ---- WBR, Michael Shigorin <mike на altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/



Подробная информация о списке рассылки Devel