Question on Directory Ownership

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

 



I've been looking at the following example, but something is still unclear:
     http://fedoraproject.org/wiki/Packaging/Guidelines#File_and_Directory_Ownership

Let's say we have a single package Foo-Animal with Emu and Llama
subpackages (you know those snooty llama people... can't have anything emu
related on their systems).

If we have a files section for package Foo-Animal like this:

%files Emu
%defattr(-,root,root,-)
%{_datadir}/Foo/Animal/Emu

%files Llama
%defattr(-,root,root,-)
%{_datadir}/Foo/Animal/Llama

and, as in the example on the wiki neither Foo-Animal-Emu or
Foo-Animal-Llama has a dependency on the other, what does the files
section for each look like?

Wouldn't this cause duplication of files?

%files Emu
%defattr(-,root,root,-)
%{_datadir}/Foo/Animal/Emu
%{_datadir}/Foo/

%files Llama
%defattr(-,root,root,-)
%{_datadir}/Foo/Animal/Llama
%{_datadir}/Foo/

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux