[opensuse-packaging] directories not owned by a package
Hello, I get this error in the build process Preparing packages for installation... bugzilla-contrib-3.6-15.1 bugzilla-3.6-15.1 warning: user apache does not exist - using root warning: group apache does not exist - using root ... running 01-check-debuginfo ... testing for empty debuginfo packages ... running 02-check-gcc-output ... testing for serious compiler warnings (using /usr/lib/build/checks-data/check_gcc_output) (using //.build.log) ... running 03-check-binary-kernel-log ... running 04-check-filelist ... checking filelist bugzilla-3.6-15.1.noarch.rpm: directories not owned by a package: - /etc/apache2 - /etc/apache2/conf.d System halted. - What is a way to fix it ? Can the following be used %files %defattr(-,root,root) . . %exclude %{_datadir}/%{name}/etc/apache2 %exclude %{_datadir}/%{name}/etc/apache2/conf.d Spec file -> https://build.opensuse.org/package/view_file?file=bugzilla3-6.spec&package=bugzilla3-6&project=home%3Adoiggl log file -> https://build.opensuse.org/package/live_build_log?arch=x86_64&package=bugzilla3-6&project=home%3Adoiggl&repository=openSUSE_11.2 Thanks Glenn -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Wed, May 12, 2010 at 03:42:27AM +0000, doiggl@velocitynet.com.au wrote:
Hello, I get this error in the build process
Preparing packages for installation... bugzilla-contrib-3.6-15.1 bugzilla-3.6-15.1 warning: user apache does not exist - using root warning: group apache does not exist - using root ... running 01-check-debuginfo ... testing for empty debuginfo packages ... running 02-check-gcc-output ... testing for serious compiler warnings (using /usr/lib/build/checks-data/check_gcc_output) (using //.build.log) ... running 03-check-binary-kernel-log ... running 04-check-filelist ... checking filelist bugzilla-3.6-15.1.noarch.rpm: directories not owned by a package: - /etc/apache2 - /etc/apache2/conf.d System halted.
- What is a way to fix it ?
Requires: apache2
Can the following be used
%files %defattr(-,root,root) . . %exclude %{_datadir}/%{name}/etc/apache2 %exclude %{_datadir}/%{name}/etc/apache2/conf.d
No. You could add %dir %{_datadir}/%{name}/etc/apache2 %dir %{_datadir}/%{name}/etc/apache2/conf.d as directories can be owned by multiple packages. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
doiggl@velocitynet.com.au
-
Marcus Meissner