On Tue, Dec 4, 2012 at 2:34 PM, Michael Matz <matz@suse.de> wrote:
Hi,
On Mon, 3 Dec 2012, Andrey Borzenkov wrote:
В Mon, 03 Dec 2012 18:51:35 +0100 Dimstar / Dominique Leuenberger <dimstar@opensuse.org> пишет:
so to answer your question: you should add %dir %{_sysconfdir}/modprobe.d in your %files section.
Adding BR: module-init-tools seems more appropriate. I definitely do not own this directory. :)
Multiple packages can own a directory. In your case, though, it's really better to simply require module-init-tools (_not_ BuildRequire), because without that package nothing will look at your file in /etc/modprobe.d . BuildRequire ensures the existence only during building which wouldn't help for that.
Upstream dkms.spec has "Requires: modutils" and modutils is provided by module-init-tools. I did not change it (and modutils is Required by mkinitrd as well). So dkms *does* Requre module-init-tools, but it still resulted in error until I added BR. Should it always require package by primary name? I.e. shall I replace "modutils" with "module-init-tools"? Just curious whether this is an error somewhere? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org