Mailinglist Archive: opensuse-packaging (172 mails)

< Previous Next >
Re: [opensuse-packaging] directories not owned by a package
  • From: Marcus Meissner <meissner@xxxxxxx>
  • Date: Wed, 12 May 2010 07:36:27 +0200
  • Message-id: <20100512053627.GB23757@xxxxxxx>
On Wed, May 12, 2010 at 03:42:27AM +0000, doiggl@xxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
This Thread
References