How can I change the defattr with rpmtool?  I'm currently doing this:

%{l_rpmtool} files -v -ofiles -r${RPM_BUILD_ROOT}
'%defattr(-,opkg-n,opkg-n)' %{l_files_std}

The results in the end when building the rpm are:

+ /usr/local/lib/openpkg/rpmtool files -v -ofiles
-r/usr/local/RPM/USER/TMP/osiris-4.0.5-root '%defattr(-,opkg-n,opkg-n)'
'%defattr(-,opkg,opkg)' /usr/local '%not %dir
{/usr/local,/usr/local/*,/usr/local/etc/rc.d,/usr/local/man/*}'

Note that there are two defattr entries defined.  What's wrong here?  Is
there another way I should be doing this?


-- 
David M. Fetter - UNIX Systems Administrator
Portland State University - www.oit.pdx.edu
"Only those who attempt the absurd can achieve the impossible."

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to