Am Samstag, 12. Januar 2019, 17:50:04 CET schrieb Jan Engelhardt:
On Saturday 2019-01-12 12:20, Eric Schirra wrote:
Am Samstag, 12. Januar 2019, 11:54:57 CET schrieb Jan Engelhardt:
On Saturday 2019-01-12 11:12, Eric Schirra wrote:
Problem is. I have a dir or file which is under a directory from other package. I can now BuildRequires: OtherPackage OR i can include %dir in spec.
In most cases, %dir. It is a bit impractical to check if any other of the 10000 packages already has the directory, let alone that the requirement is actually meaningful.
With other packages there are more lines which i must insert for such problem. And why should i put many lines with %dir when i can put only one line with BuildRequires?
And the dirs belongs definitely, in my example, to apache.
I would be careful with such pompous statements:
17:48 a4:~ » rpm -qf /srv/www/htdocs/ filesystem-15.5-26.1.x86_64
I have say this was an example! Other example: rpm -qf /usr/share/polkit-1/actions yast2-country-4.0.23-lp150.2.6.1.x86_64 systemd-234-lp150.20.9.1.x86_64 firewalld-0.5.5-lp150.2.18.1.noarch gsmartcontrol-1.1.3-lp150.2.14.x86_64 polkit-0.114-lp150.2.6.1.x86_64 Why does /usr/share/polkit-1/actions own four packages? What rights does the path have in the respective package? Actually /usr/share/polkit-1/actions belongs to polkit? Only the policy files may belong to other packages. Right? Without polkit installtion you do not need the whole path. Not /usr/share/polkit-1/actions. And not the policy files below. (Ohne das polkit Paket, kann man mit dem Pfad nichts mehr anfangen. Er ist nutzlos. Man muss also immer auch polkit installiert haben, wenn meine eine policy benötigt.) Right? In my opinion, it is more logical, in this case, /usr/share/polkit-1/actions to polkit. Polkit pretends the directory-name and the rights and so on. All others packages must follow dir from polkit. Regards Eric -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org