crossgen executable is included in the coreclr package. So, it is more natural to use the coreclr directory.
In addition, we have to eliminate unnecessary errors which occured while removing coreclr-extra packages from the image.
Requires: aul
Requires: liblaunchpad
+Requires: coreclr
+Requires: mscorlib
+Requires: corefx-native
+Requires: corefx-managed
Requires(post): /sbin/ldconfig
Requires(post): /usr/bin/systemctl
-DCMAKE_BUILD_TYPE=%{_dotnet_build_conf} \
-DDEVICE_API_DIR=%{_device_api_dir} \
-DRUNTIME_DIR=%{_runtime_dir} \
- -DCROSSGEN_PATH=%{_device_api_dir}/crossgen \
+ -DCROSSGEN_PATH=%{_runtime_dir}/crossgen \
-DINSTALL_MDPLUGIN_DIR=%{_install_mdplugin_dir} \
-DVERSION=%{version} \
-DNATIVE_LIB_DIR=%{_native_lib_dir} \