Fix rpm spec file to solve build-break in JazzM
authorWonYoung Choi <wy80.choi@samsung.com>
Wed, 18 Jan 2017 00:11:54 +0000 (09:11 +0900)
committerKangho Hur <kangho.hur@samsung.com>
Mon, 10 Jul 2017 02:11:17 +0000 (11:11 +0900)
Change-Id: I80099afc01c6321f07c5d997ebff29cdc45c1db0

packaging/xamarin-forms-tizen.spec

index 0d45784..52784df 100644 (file)
@@ -38,7 +38,8 @@ BuildRequires: elm-sharp-nuget
 Allows one to use portable controls subsets that are mapped to native
 controls of Android, iOS, Windows Phone, and Tizen.
 
-%dotnet_import_sub_packages
+# make -nuget sub package
+%_nuget_package
 
 %prep
 %setup -q
@@ -59,8 +60,8 @@ cp %{SOURCE1} .
 %install
 function install_asm()
 {
-  mkdir -p %{buildroot}%{dotnet_assembly_path}
-  install -p -m 644 $1/bin/%{_dotnet_build_conf}/$1.dll %{buildroot}%{dotnet_assembly_path}
+  mkdir -p %{buildroot}%{_dotnet_assembly_path}
+  install -p -m 644 $1/bin/%{_dotnet_build_conf}/$1.dll %{buildroot}%{_dotnet_assembly_path}
 }
 
 install_asm Xamarin.Forms.Core