[Bug 896087] Review Request: prototype - JavaScript framework

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=896087

--- Comment #11 from Michael Schwendt <mschwendt@xxxxxxxxx> ---
> - From my knowledges, the directory ownership of %{_datadir}/%{name}
> need to be specify explicitely

Depends. This page covers some of the problems related to incorrect directory
ownership:

  https://fedoraproject.org/wiki/Packaging:UnownedDirectories

An entry in the %files section, such as

  %{_datadir}/%{name}

includes the path %{_datadir}/%{name}, if it is a _file_, and if it is a
_directory_, it includes the directory with a proper %dir attribute *and*
anything in that directory.

  %{_datadir}/%{name}
and
  %{_datadir}/%{name}/

achieve the same than

  %dir %{_datadir}/%{name}
  %{_datadir}/%{name}/*

Decide yourself when to be explicit about which files/dirs to include.
Sometimes wildcards based on '*' are convenient, but spelling out individual
file names can be beneficial (e.g. specific API header names or library
versions).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=W1SZH0dQFJ&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]