diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec index 71c9c78..a169ceb 100755 --- a/SPECS/kernel.spec +++ b/SPECS/kernel.spec @@ -2987,9 +2987,8 @@ find Documentation -type d | xargs chmod u+w %{__restore_unstripped_root_post}\ %{__modsign_install_post} -%{__spec_install_post} -cd linux-%{KVERREL} +pushd linux-%{KVERREL} # re-define RPM_VMLINUX_H, because it doesn't carry over from %build RPM_VMLINUX_H="$(cat ../vmlinux_h_path)" @@ -3269,6 +3268,8 @@ find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/ popd %endif +popd + ### ### clean ###