diff --git a/kmod.spec b/kmod.spec index 5630b00..40c2674 100644 --- a/kmod.spec +++ b/kmod.spec @@ -4,7 +4,7 @@ Release: 2%{?dist} Summary: Linux kernel module management utilities License: GPLv2+ -URL: http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary +URL: https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git Source0: https://www.kernel.org/pub/linux/utils/kernel/kmod/%{name}-%{version}.tar.xz Source1: weak-modules Exclusiveos: Linux @@ -59,7 +59,7 @@ applications that wish to load or unload Linux kernel modules. %install %{make_install} -pushd $RPM_BUILD_ROOT/%{_mandir}/man5 +pushd $RPM_BUILD_ROOT%{_mandir}/man5 ln -s modprobe.d.5.gz modprobe.conf.5.gz popd @@ -77,8 +77,7 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/modprobe.d -mkdir -p $RPM_BUILD_ROOT/sbin -install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/weak-modules +install -pm 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/weak-modules %files %dir %{_sysconfdir}/depmod.d