Use %license to create license file 06/66606/3
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 19 Apr 2016 23:26:30 +0000 (08:26 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 20 Apr 2016 05:56:07 +0000 (14:56 +0900)
Change-Id: Iff67989c66289523ab2f89042400e3314af6e2da

packaging/ise-engine-default.spec

index 2fb2949b61bd02bd32b5835380d613d58c66a7ee..74e49268131731b97b8db483909393e7771cca71 100644 (file)
@@ -17,17 +17,14 @@ it is based on Input Service Framework(ISF).
 %build
 export CFLAGS+=" -Werror"
 export CXXFLAGS+=" -Werror"
-./bootstrap
 %autogen
 %configure --prefix=%{_prefix} --disable-static
-
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
+
 %make_install
-mkdir -p %{buildroot}%{_datadir}/license
-install -m0644 %{_builddir}/%{buildsubdir}/LICENSE.APLv2 %{buildroot}%{_datadir}/license/%{name}
 
 %post
 
@@ -39,4 +36,4 @@ install -m0644 %{_builddir}/%{buildsubdir}/LICENSE.APLv2 %{buildroot}%{_datadir}
 %{_libdir}/scim-1.0/1.4.0/IMEngine/ise-engine-default.so
 %{_datadir}/scim/icons/isf-default.png
 %{_datadir}/packages/*
-%{_datadir}/license/%{name}
+%license LICENSE.APLv2