[Fedora-packaging] Removing files with RPM's build using python distutils

Todd Zullinger tmz at pobox.com
Mon Sep 5 15:29:14 UTC 2011


Raoul Thill wrote:
> OK, after further investigation, there are no files
> remaining installed, but only empty folders.
> Sorry, I did only do an `ls` on the root project folder,
> instead of a `find` to list all files :(
>
> Therefore I do not seem to have an error in my
> spec file. I only need a possibility to clean out
> empty folders when updating the package.

The error is that you're package does not own those directories.  It
should.  The Packaging Guidelines have a section on this:

    http://fedoraproject.org/wiki/Packaging:UnownedDirectories

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A fine is a tax for doing wrong. A tax is a fine for doing well.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 543 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/packaging/attachments/20110905/d40902d5/attachment.bin 


More information about the packaging mailing list