Subpackages should own directories too?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is a fake package: 
  http://www.di.ens.fr/~rineau/Fedora/foobar.spec
(only a spec file, no source).

This package foobar owns %{_datadir}/foobar/ and creates an empty file in it.
A subpackage foobar-subpackage owns %{_datadir}/foobar/plugins/ and creates an 
empty file in the latter.

As far as I understand the Fedora Extras Guidelines, this is correct.

However, if i compile and install then uninstall the two packages at once, the 
directory %{_datadir}/foobar/ remains, and rpm says no package owns it (after 
the uninstallation).


It is fixed if foobar-subpackage owns %{_datadir}/foobar/ too. However, 
according to the guidelines: "Packages must not own files or directories 
already owned by other packages."

Who is wrong, the guideline, my version of rpm, or me?

My version-release of rpm is 4.4.2-15.2, on fc-5.

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux