Devel package does not require hardlink. However, the post script is
still there and run if hardlink is present.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Provides: kernel-devel-uname-r = %{kernel_full_version}
Requires(pre): /usr/bin/find
Requires: %{name} = %{version}-%{release}
-Requires: hardlink
AutoReqProv: no
%description devel
%post
ln -sf vmlinuz-%{kernel_full_version} /boot/kernel
-
%post devel
if [ -x /usr/sbin/hardlink ]; then
cd /usr/src/kernels/%{kernel_full_version}