Unfortunately at this point we don't have guidelines which prohibit adding directory dependencies, but I will work on this. It's quite common that other packages own same directory, there's no problem for it. Which means you will end up with different packages installed on system... For example, gallery3 co-owns /etc/httpd/conf.d which makes perl-HTML-Mason to pull it instead of httpd-filesystem.
(In reply to Igor Gnatenko from comment #0) > Unfortunately at this point we don't have guidelines which prohibit adding > directory dependencies, but I will work on this. We do have guidelines on this. Multiple ownerships are explicitly allowed. > It's quite common that other packages own same directory, there's no problem > for it. Correct. > Which means you will end up with different packages installed on > system... ... which means the installer doesn't handle such situations correctly. > For example, gallery3 co-owns /etc/httpd/conf.d which makes perl-HTML-Mason > to pull it instead of httpd-filesystem. I think a viable solution in this case would be to remove this requires and let perl-HTML-Mason also own it.
(In reply to Ralf Corsepius from comment #1) > (In reply to Igor Gnatenko from comment #0) > > Unfortunately at this point we don't have guidelines which prohibit adding > > directory dependencies, but I will work on this. > We do have guidelines on this. Multiple ownerships are explicitly allowed. You don't read sentence. I was pointing on Requires on directory, not co-owning directories. > > > It's quite common that other packages own same directory, there's no problem > > for it. > Correct. > > > Which means you will end up with different packages installed on > > system... > ... which means the installer doesn't handle such situations correctly. No. > > > For example, gallery3 co-owns /etc/httpd/conf.d which makes perl-HTML-Mason > > to pull it instead of httpd-filesystem. > I think a viable solution in this case would be to remove this requires and > let perl-HTML-Mason also own it. or change it to Req: httpd-filesystem. Completely up to you. I don't know what this particular package does with it.
(In reply to Igor Gnatenko from comment #2) > > or change it to Req: httpd-filesystem. Done.
This change is naive and the cause of a regression: Nothing guarantees http-filesystem will provide /etc/httpd/conf.d.
In protest against this change and against Igor Gnatenko, I am stepping down as maintainer of this package.