Using license macro instead of copying file
[platform/core/uifw/anthy.git] / packaging / anthy.spec
index 837a6e1..4c63dd2 100644 (file)
@@ -39,14 +39,12 @@ cp %{SOURCE1001} .
 %reconfigure --disable-static --with-pic
 %__make %{?_smp_mflags}
 
-%configure
+%configure --disable-zipcode
 
 make
 
 %install
 rm -rf ${RPM_BUILD_ROOT}
-mkdir -p %{buildroot}%{_datadir}/license
-cp COPYING %{buildroot}%{_datadir}/license/%{name}
 %makeinstall
 
 %clean
@@ -60,7 +58,7 @@ rm -rf ${RPM_BUILD_ROOT}
 %files
 %manifest %{name}.manifest
 %defattr(-,root,root)
-%{_datadir}/license/%{name}
+%license COPYING
 %{_bindir}/*
 %{_sysconfdir}/*
 %{_datadir}/anthy