unowned dirs

Neal Becker ndbecker2 at gmail.com
Wed Oct 20 21:07:35 UTC 2010


https://bugzilla.redhat.com/show_bug.cgi?id=645079

Various dirs are created by the install process.  These dirs under hgext 
could vary depending on whatever extensions upstream decides to package.  
I'd prefer not to have to keep changing the spec to reflect those changes, 
but to automate the process.

Right now I have:
%dir %{python_sitearch}/mercurial
%dir %{python_sitearch}/hgext

I guess owning the parent dirs is not sufficient?

I could auto-generate a list of directories, but don't know what to do with 
it.

Right now, I auto-generate lists of files, which are then used as:
%files -f %{name}-base+hg.lang.files

Would adding directories to %files -f fix this?

BTW, it's annoying that rpm allows only 1 %files -f.

BTW, it's annoying that rpm doesn't use a real programming language, e.g., 
python.



More information about the devel mailing list