%_dotnet_build_conf %{lua:if tonumber(rpm.expand("0%{?tizen_build_devel_mode}")) == 1 then print "Debug" else print "Release" end}
-%dotnet_assembly_path %{!?dotnet_assembly_path:/opt/usr/share/dotnet.tizen/framework}
+%_dotnet_assembly_path %{?dotnet_assembly_path:%{dotnet_assembly_path}}%{!?dotnet_assembly_path:/opt/usr/share/dotnet.tizen/framework}
%_mono_assembly_path /opt/usr/lib/assembly
-%dotnet_assembly_files %{dotnet_assembly_path}/*.dll
+%dotnet_assembly_files %{_dotnet_assembly_path}/*.dll
-%_with_corefx 1
+%_with_corefx 1
%_nuget_package \
%package nuget\
%dotnet_install() \
%if 0%{?_with_corefx} \
-mkdir -p %{buildroot}%{dotnet_assembly_path} \
+mkdir -p %{buildroot}%{_dotnet_assembly_path} \
mkdir -p %{buildroot}%{_mono_assembly_path} \
mkdir -p %{buildroot}/nuget \
-install -p -m 644 %{1}/bin/%{_dotnet_build_conf}/%{1}.dll %{buildroot}%{dotnet_assembly_path} \
+install -p -m 644 %{1}/bin/%{_dotnet_build_conf}/%{1}.dll %{buildroot}%{_dotnet_assembly_path} \
%else \
- install -p -m 644 %{1}/bin/%{_dotnet_build_conf}/Net45/%{1}.dll %{buildroot}%{dotnet_assembly_path} \
+ install -p -m 644 %{1}/bin/%{_dotnet_build_conf}/Net45/%{1}.dll %{buildroot}%{_dotnet_assembly_path} \
%endif \
install -p -m 644 %{1}/bin/%{_dotnet_build_conf}/Net45/%{1}.dll %{buildroot}%{_mono_assembly_path} \
install -p -m 644 %{1}*.nupkg %{buildroot}/nuget \