Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
Bug 233893 - openvrml-devel: unowned directories
openvrml-devel: unowned directories
Product: Fedora
Classification: Fedora
Component: openvrml (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Braden McDaniel
Fedora Extras Quality Assurance
: EasyFix
Depends On:
  Show dependency treegraph
Reported: 2007-03-25 13:03 EDT by Michael Schwendt
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version: 0.16.3-4.fc6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-27 12:13:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Michael Schwendt 2007-03-25 13:03:46 EDT
--- openvrml.spec.orig  2007-03-25 18:10:07.000000000 +0200
+++ openvrml.spec       2007-03-25 19:03:35.000000000 +0200
@@ -106,8 +106,10 @@
 %files devel
 %doc doc/manual
+%dir %{_includedir}/%{name}
+%dir %{_includedir}/%{name}/openvrml
Comment 1 Braden McDaniel 2007-03-25 15:18:51 EDT
Okay; I didn't even know about %dir. I was under the impression that rpm would
clean up a directory automatically once it didn't have any more files in it.

Additionally, I suppose the gl-devel subpackage needs

%dir %{_includedir}/%{name}/openvrml/gl
Comment 2 Michael Schwendt 2007-03-25 16:26:50 EDT
RPM does that only if the directory is included in a package.

Query your package in verbose list-mode to display all the files
that are included. For example: rpm -qplv somepackage.i386.rpm
Watch out for the lines in the list that start with 'd'. Just like
with "ls", those are the directories. Every directory that belongs
to your package's files should be included (under consideration of
sub-package dependencies).


> Additionally, I suppose the gl-devel subpackage needs
> %dir %{_includedir}/%{name}/openvrml/gl

No. The package includes


already, which means to include the directory "gl" and the entire tree
below it.


There are alternative ways on how to include directories.

Method one:


This includes the specified directory "foo" and everything in it
recursively, provided that "foo" is a directory. /usr and /usr/lib,
however, don't belong into the package. The '/' at the end is a
convenient way to make it clear that "foo/" is supposed to be a
directory and not a single file.

Method two:

  %dir /usr/lib/foo

This includes the same files than method one, except it is more explicit.
If "foo" contains sub-directories, these are included recursively due
to the wildcard '*' and just as with method one.

Comment 3 Braden McDaniel 2007-03-27 12:13:21 EDT
Thanks for the explanation.

Note You need to log in before you can comment on or make changes to this bug.