Mailinglist Archive: opensuse-buildservice (250 mails)

< Previous Next >
Re: [opensuse-buildservice] The %doc clause of specfile
  • From: Petit Eric <surfzoid@xxxxxxxxx>
  • Date: Mon, 6 Apr 2009 19:28:27 +0200
  • Message-id: <84776a970904061028n6ce13bf6m7a4728a14fbd89de@xxxxxxxxxxxxxx>
2009/4/6 Greg Freemyer <greg.freemyer@xxxxxxxxx>:
All,

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:

%files

%defattr(644,root,root)
%doc api.txt
%doc COPYING
%doc README
%doc INSTALL
%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
%defattr(-,root,root)
but then it complains about all the docs being executable.

What am I missing?
try to split in two RPM, one for the soft other for the doc :-)
You can take a look at my MonoOSC spec file (i'm newbie too and so
write MonoOSC for help :-))
http://sourceforge.net/projects/monoosc/
http://fr.opensuse.org/Build_Service/Client_MonoOSC
spec file :
https://build.opensuse.org/package/view_file?file=MonoOSC.spec&package=MonoOSC&project=home%3Asurfzoid

hope it help :-)

Thanks
Greg
--
Greg Freemyer
Head of EDD Tape Extraction and Processing team
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
First 99 Days Litigation White Paper -
http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf

The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx





--

Cordially.

Small Eric Quotations of the days:
---------------------------------------------------------------------------
If one day one reproaches you that your work is not a work of
professional, say you that:
Amateurs built the arch of Noah, and professionals the Titanic.
---------------------------------------------------------------------------

Few people are done for independence, it is the privilege of the powerful ones.
---------------------------------------------------------------------------

No key was wounded during the drafting of this message.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
References