From 5d826735772ab1f9ccaaae54a7aadf4eede1c7e7 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Jan 21 2022 14:37:00 +0000 Subject: Use same path as upstream --- diff --git a/SPECS/kmod-ntfs3.spec b/SPECS/kmod-ntfs3.spec index 1d5688b..caa0cde 100644 --- a/SPECS/kmod-ntfs3.spec +++ b/SPECS/kmod-ntfs3.spec @@ -183,7 +183,7 @@ popd %install -%{__install} -D -t %{buildroot}/lib/modules/%{kernel_version}.%{_arch}/extra/fs src/%{pkg}.ko +%{__install} -D -t %{buildroot}/lib/modules/%{kernel_version}.%{_arch}/extra/fs/%{pkg} src/%{pkg}.ko # Make .ko objects temporarily executable for automatic stripping find %{buildroot}/lib/modules -type f -name \*.ko -exec chmod u+x \{\} \+ @@ -195,7 +195,7 @@ find %{buildroot}/lib/modules -type f -name \*.ko -exec chmod u+x \{\} \+ %post mkdir -p %{_localstatedir}/lib/rpm-state/sig-kmods -printf '%s\n' "/lib/modules/%{kernel_version}.%{_arch}/extra/fs/%{pkg}.ko.xz" >> %{_localstatedir}/lib/rpm-state/sig-kmods/weak-modules-add +printf '%s\n' "/lib/modules/%{kernel_version}.%{_arch}/extra/fs/%{pkg}/%{pkg}.ko.xz" >> %{_localstatedir}/lib/rpm-state/sig-kmods/weak-modules-add %preun