Tom \"spot\" Callaway wrote: > On 2009-02-04 at 18:15:09 -0500, "Rick L. Vinyard, Jr." > <rvinyard@xxxxxxxxxxx> wrote: > >> 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/ > > Yes, it would, but that's not quite right. The accurate example for the > guideline case would be: > > %files Emu > %defattr(-,root,root,-) > %{_datadir}/Foo/Animal/Emu > %dir %{_datadir}/Foo/Animal/ > > %files Llama > %defattr(-,root,root,-) > %{_datadir}/Foo/Animal/Llama > %dir %{_datadir}/Foo/Animal/ > > In rpm macro speak, %dir means "own just this directory, and none of its > contents". > Ahhh, thanks. %dir is what I was missing. -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list