On Sat, Jan 12, Eric Schirra wrote:
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?
Because the filelist is important for installing/de-installing the package, not for runtime. Assume your package BuildRequires apache2, but as it only requires a web server, not especially apache2, it would also work with nginx. 1. the directories would not be owned by any package 2. de-installation of the package would not remove the directory 3. in worst case, RPM creates the directories with wrong permissions and your application will not work. As written, as long as your package does not require apache2, a BuildRequires for apache2 to fool the rpmlint scripts is plain wrong. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org