Mailinglist Archive: opensuse-buildservice (62 mails)

< Previous Next >
Re: [opensuse-buildservice] The %doc clause of specfile
  • From: "Srinidhi B" <srinidhi@xxxxxxxxxx>
  • Date: Mon, 06 Apr 2009 11:45:46 -0600
  • Message-id: <49D9EB6A020000550006A6B3@xxxxxxxxxxxxxxxxxxxxxxx>

On Mon, 2009-04-06 at 13:17 -0400, Greg Freemyer wrote:

Another newbie question:

I'm trying to get the docs copied out to the
/usr/share/packages/open2300 directory via %doc.

The makefile is not handling these files as part of the "make install"
step. Maybe it has to?

I'm trying to do this via the specfile via:


%doc api.txt
%doc mysql2300.sql
%doc open2300-dist.conf

But OBS is giving me an error for 11.0/11.1/factory:

The following directories are not even executable by their owner:
drw-r--r-- 2 root root 0 Apr 6 16:27 /usr/share/doc/packages/open2300

I also tried
but then it complains about all the docs being executable.

I downloaded your project tarball and could see that all files have 755
permission set - including README, INSTALL, etc.

Fix the permissions on your sources, then "make install" will copy the
files with the correct permissions and then, %defattr(-,root,root) would
work perfectly as expected.


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

< Previous Next >
List Navigation