4 Dec
2012
4 Dec
'12
10:34
Hi, On Mon, 3 Dec 2012, Andrey Borzenkov wrote:
В Mon, 03 Dec 2012 18:51:35 +0100 Dimstar / Dominique Leuenberger
пишет: 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. Ciao, Michael.