Re: Is this allowed? Files and libs duplicated in subpackages

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

 



On Wed, 4 Sep 2013 22:00:06 +0200, Michael Schwendt wrote:

> Originally, avoiding duplicate files in %files sections has been made a
> checklist item, ...

... and, of course, also to not include a file more than once in a single
%files section. That's a scenario such as with this application package,
but not limited to that:

    %files
    %{_bindir}/*
    %{_datadir}/*
    %{_libdir}/*
    %doc COPYING README NEWS
    %{_datadir}/applications/*.desktop
    %dir %{_libdir}/%{name}
    %{_libdir}/%{name}/plugins/

The entry for %_datadir/* also includes the .desktop file (well, perhaps
even other stuff in %_datadir/applications but that's a different prob ;).
The entry for %_libdir/* also includes %_libdir/%name and everything
below it. This confusing %files section bears the risk that the packager
makes mistakes when splitting of the plugins into subpackages, for example.

[The case when files are duplicated in several subpackages is worse.]
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux