# nothing to be placed to debuginfo package
%define _enable_debug_packages 0
-%define rel 3
+%define rel 9
%define modname nvidiabl
Summary: Linux driver for nVidia display back-lights
Name: %{modname}%{_alt_kernel}
rm -rf $RPM_BUILD_ROOT
%if %{with kernel}
%install_kernel_modules -m nvidiabl -d misc
-install -d $RPM_BUILD_ROOT/etc/modprobe.d/%{_kernel_ver}
-cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/modprobe.d/%{_kernel_ver}/%{pname}.conf
+install -d $RPM_BUILD_ROOT/etc/modprobe.d
+cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/modprobe.d/%{modname}.conf
%endif
%if %{with dkms}
%files -n kernel%{_alt_kernel}-video-nvidiabl
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/misc/*.ko*
-%config(noreplace) %verify(not md5 mtime size) /etc/modprobe.d/%{_kernel_ver}/%{pname}.conf
+%config(noreplace) %verify(not md5 mtime size) /etc/modprobe.d/%{modname}.conf
%endif