[opensuse-buildservice] The %doc clause of specfile
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? 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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
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?
2009/4/6 Greg Freemyer
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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- 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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mon, Apr 6, 2009 at 12:17 PM, Greg Freemyer
%defattr(644,root,root)
Use %defattr(644,root,root,755) instead. This way directories will have mode 755 by default. -Archie -- Archie L. Cobbs -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mon, Apr 6, 2009 at 1:56 PM, Archie Cobbs
On Mon, Apr 6, 2009 at 12:17 PM, Greg Freemyer
wrote: %defattr(644,root,root)
Use %defattr(644,root,root,755) instead. This way directories will have mode 755 by default.
-Archie
-- Archie L. Cobbs
Oh, I like that approach even more since I pulled the docs from svn with the wrong permissions and I don't have checkin privileges. I'll give it a shot. 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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Archie Cobbs
-
Greg Freemyer
-
Petit Eric