On Fri, 15 Aug 2008, Philipp Thomas wrote:
Use %attr in your spec. See http://docs.fedoraproject.org/drafts/rpm-guide-en/ch09s05.html#id2972829 for an explanation.
I had that at the very start. It does not work. Here is how the stuff unpacks. + /usr/bin/gzip -dc /usr/src/packages/SOURCES/pypolicyd-spf-0.7.1.tar.gz + tar -xvvf - drwxr-xr-x scott/scott 0 2008-07-26 04:01 pypolicyd-spf-0.7.1/ -rw-r--r-- scott/scott 6712 2008-07-26 03:58 pypolicyd-spf-0.7.1/CHANGES -rwxr-xr-x scott/scott 1241 2008-07-26 03:58 pypolicyd-spf-0.7.1/setup.py -rw-r--r-- scott/scott 222 2008-07-26 03:58 pypolicyd-spf-0.7.1/TODO -rw-r--r-- scott/scott 276 2008-07-26 03:58 pypolicyd-spf-0.7.1/policyd-spf.conf -rw-r--r-- scott/scott 5692 2008-07-26 03:58 pypolicyd-spf-0.7.1/policydspfsupp.py -rw-r--r-- scott/scott 1595 2008-07-26 03:58 pypolicyd-spf-0.7.1/README -rw-r--r-- scott/scott 17987 2008-07-26 03:58 pypolicyd-spf-0.7.1/LICENSE -rw-r--r-- scott/scott 9588 2008-07-26 03:58 pypolicyd-spf-0.7.1/policyd-spf.1 -rw-r--r-- scott/scott 16453 2008-07-26 03:58 pypolicyd-spf-0.7.1/policyd-spf.conf.5 -rwxr-xr-x scott/scott 21455 2008-07-26 03:58 pypolicyd-spf-0.7.1/policyd-spf -rw-r--r-- scott/scott 3121 2008-07-26 03:58 pypolicyd-spf-0.7.1/policyd-spf.conf.commented -rw-r--r-- scott/scott 2687 2008-07-26 03:58 pypolicyd-spf-0.7.1/README.per_user_whitelisting + STATUS=0 + '[' 0 -ne 0 ']'
I am really frustrated with the rpmlint stuff.
Yeah, rpmlint can be frustrating at times.
This is a real pain in the ... I can not seem to get past rpmlint
%attr(644,nobody,root)%config/usr/lib/policyd-spf/config/policyd-spf.conf
%attr(644,nobody,root)%config/usr/lib/policyd-spf/config/policyd-spf.conf.commented
%attr(644,nobody,root)%doc README README.per_user_whitelisting LICENSE CHANGES TODO
%attr(644,nobody,root)%{_mandir}/man1/policyd-spf.1.gz
%attr(644,nobody,root)%{_mandir}/man5/policyd-spf.conf.5.gz
and every variation that I could generate. I tried using chmod as below
as well.
%if 0%{?suse_version}
%if %suse_version >= 1100
chmod ugo+X /etc/cron.d/policyd-spf
chmod ugo+X /usr/lib/policyd-spf/config/*
chmod ugo+X /usr/share/doc/packages/python-policyd-spf/README
chmod ugo+X
/usr/share/doc/packages/python-policyd-spf/README.per_user_whitelist
ing
chmod ugo+X /usr/share/doc/packages/python-policyd-spf/LICENSE
chmod ugo+X /usr/share/doc/packages/python-policyd-spf/CHANGES
chmod ugo+X /usr/share/doc/packages/python-policyd-spf/TODO
chmod ugo+X /usr/share/man/man1/policyd-spf.1.gz
chmod ugo+X /usr/share/man/man5/policyd-spf.conf.5.gz
#README README.per_user_whitelisting LICENSE CHANGES TODO
%endif
%endif
I really do not know what else to try. Any ideas?
Thanks,
--
Boyd Gerber