Mailinglist Archive: opensuse-packaging (68 mails)

< Previous Next >
Re: [opensuse-packaging] directories not owned by a package
On Sunday 2013-06-09 13:55, Christian Boltz wrote:

Hello,

Am Samstag, 8. Juni 2013 schrieb doiggl@xxxxxxxxxxxxxxxxxx:
What would fix this problem [1]?
What definition do I add to the %files section ?

[ 370s] httpd-2.4.4-28.1.i586.rpm: directories not owned by a
package:
[ 370s] - /usr/lib/initscripts
[ 370s] - /usr/lib/initscripts/legacy-actions

You have to package the directories (with %dir, which means only the
directory without subdirectories or files)

%dir /usr/lib/initscripts
%dir /usr/lib/initscripts/legacy-actions

Well, since the file /usr/lib/initscripts/legacy-actions/somethinghere
is packaged _anyway_ (and probably in the same subpackage), gobbling up
the entire directory will just have the same effect for less lines.

%files
/usr/lib/initscripts
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
References