Am Donnerstag, 13. August 2009 17:02:47 schrieb doiggl@velocitynet.com.au:
Hello To get past this Warning message I have gotten a workaround for it. (see workaround below)
Warning message: bugzilla-3.4.1-14.1.noarch.rpm: directories not owned by a package: - /etc/httpd - /etc/httpd/conf.d - /usr/share/bugzilla/extensions - /usr/share/bugzilla/lib bugzilla-doc-3.4.1-14.1.noarch.rpm: directories not owned by a package: - /usr/share/bugzilla/docs bugzilla-doc-build-3.4.1-14.1.noarch.rpm: directories not owned by a package: - /usr/share/bugzilla/docs System halted.
#WORKAROUND #----------
%if 0%{?suse_version} # With unowned dirs /etc/httpd/, the build will fail so own them ourselves %dir %{_sysconfdir}/etc/httpd %dir %{_sysconfdir}/etc/httpd/conf.d %dir %{_sysconfdir}/etc/httpd/conf.d/bugzilla.conf %endif
Questions: Does the workaround look ok ?, and at what line should I place the code in the .specfile ?
Why do you want to do this only for suse ? This is not a workaround, it is a bugfix, which should be fixed also for non- suse. bye adrian
Specfile -> https://build.opensuse.org/package/view_file?file=bugzilla.spec&package=Bug zilla&project=home%3Adoiggl
Thanks for the advice Glenn
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org