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
Or differently asked. Do I have to use "%dir"? Or may I also use BuildRequires?
See https://lists.opensuse.org/opensuse-packaging/2019-01/msg00011.html -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org