| Summary: | Unowned directory | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Christoph Wickert <cwickert> |
| Component: | mercurial | Assignee: | Neal Becker <ndbecker2> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | dennis, mads, ndbecker2, vvitek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-11 22:35:08 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
so are you saying
%dir %{_datadir}/zsh/site-functions/
should be replaced by
%dir %{_datadir}/zsh/
??
Yes, you either need a dependency on zsh or you need to own that dir. The latter makes more sense.
You can also use
%dir %{_datadir}/zsh/
%{_datadir}/zsh/site-functions/
to make it more obvious in the spec, but the result is the same.
Since both are directories, is it not
%dir %{_datadir}/zsh/
%dir %{_datadir}/zsh/site-functions/
??
Yes, but then you have to list the file explicitly.
%dir %{_datadir}/zsh/
%dir %{_datadir}/zsh/site-functions/
%{_datadir}/zsh/site-functions/_mercurial
%dir only describes the directory, no files in there.
For rpm a simple
%{_datadir}/zsh/
is the same, it's just about legibility: If you look at the spec, %{_datadir}/zsh/ can mean anything, a thousand files and subfolders or just a single one.
|
Description of problem: mercurial places a file in %{_datadir}/zsh/site-functions/ but does not own %{_datadir}/zsh/ or requires something that owns it. Version-Release number of selected component (if applicable): mercurial-1.9.2-1.fc15 Additional info: https://fedoraproject.org/wiki/Packaging:Guidelines#File_and_Directory_Ownership