On Mon, 2012-12-03 at 21:45 +0400, Andrey Borzenkov wrote:
Package installs file into /etc/modprobe.d. This results in error
[ 37s] dkms-2.2.0.3-9.1.noarch.rpm: directories not owned by a package: [ 37s] - /etc/modprobe.d
I am not sure why - am I supposed to own every intermediate directory? Including /etc?
Each directory must be owned by at least one package... /etc is owned by 'filesystem', a base package, so you don't have to own it. /etc/modprobe.d is not part of the filesystem package. Either you happen to BuildRequire something with it (but cleanly speaking, you should also have to require this then) or you own the directory. The 'goal' is that no package can be uninstalled and leave stale directories behind. so to answer your question: you should add %dir %{_sysconfdir}/modprobe.d in your %files section. Best regards, Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org