Mailinglist Archive: opensuse-buildservice (262 mails)

< Previous Next >
[opensuse-buildservice] Unowned directories question
  • From: <doiggl@xxxxxxxxxxxxxxxxxx>
  • Date: Fri, 14 Aug 2009 01:02:47 +1000
  • Message-id: <deda50dd421ffba70ceef7631ada8a12@xxxxxxxxxxxxxxxxxxxxxxx>
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 ?
Specfile ->
https://build.opensuse.org/package/view_file?file=bugzilla.spec&package=Bugzilla&project=home%3Adoiggl

Thanks for the advice
Glenn

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

< Previous Next >