Mailinglist Archive: opensuse-buildservice (262 mails)

< Previous Next >
Re: [opensuse-buildservice] Unowned directories question
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Thu, 13 Aug 2009 17:48:13 +0200
  • Message-id: <200908131748.13492.adrian@xxxxxxx>
Am Donnerstag, 13. August 2009 17:02:47 schrieb doiggl@xxxxxxxxxxxxxxxxxx:
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@xxxxxxx

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
References