我正在为ROSA(基于Linux的操作系统)制作一些python模块的包装
所以我有这个错误:
python-dogpile-cache.noarch: E: non-readable (Badness: 1) /usr/share/doc/python-dogpile-cache/changelog.rst 0600
所以我正在制作dogpile.cache v 0.6.7的rpm包。 我的.spec文件如下所示。 我什至找不到有关rpm错误描述的信息。所以我问您有什么帮助。
%define oname dogpile.cache
Name: python-dogpile-cache
Version: 0.6.7
Release: 1
Summary: A caching front-end based on the Dogpile lock
Source0: http://pypi.python.org/packages/source/d/%{oname}/%{oname}-%{version}.tar.gz
License: BSD
Group: Development/Python
Url: http://bitbucket.org/zzzeek/dogpile.cache
BuildArch: noarch
BuildRequires: pythonegg(setuptools)
BuildRequires: python-dogpile-core
%description
A caching API built around the concept of a "dogpile lock", which allows
continued access to an expiring data value while a single thread generates
a new value.
%prep
%setup -q -n %{oname}-%{version}
%build
python setup.py build
%install
python setup.py install --root=%{buildroot}
%files
%doc LICENSE
%doc README.rst
%doc docs/api.html
%doc docs/changelog.html
%doc docs/core_usage.html
%doc docs/front.html
%doc docs/genindex.html
%doc docs/index.html
%doc docs/py-modindex.html
%doc docs/recipes.html
%doc docs/search.html
%doc docs/usage.html
%doc docs/_sources/api.rst.txt
%doc docs/_sources/changelog.rst.txt
%doc docs/_sources/core_usage.rst.txt
%doc docs/_sources/front.rst.txt
%doc docs/_sources/index.rst.txt
%doc docs/_sources/recipes.rst.txt
%doc docs/_sources/usage.rst.txt
%doc docs/_static/changelog.css
%doc docs/build/changelog.rst
%doc docs/build/requirements.txt
%doc docs/build/unreleased/README.txt
%{py_puresitedir}/dogpile/*.py*
%{py_puresitedir}/dogpile/cache/*.py*
%{py_puresitedir}/dogpile/cache/backends/*.py*
%{py_puresitedir}/dogpile/cache/plugins/*.py*
%{py_puresitedir}/dogpile/util/*.py*
%{py_puresitedir}/dogpile.cache*.egg-info
答案 0 :(得分:1)
您没有找到有关该错误的任何文档,因为该错误来自rpmlint,而不是rpm。
rpmlint将某些启发式方法应用于包装以提高包装质量。
该错误是由于权限0600导致文件不可读。