Generate Licence file
[platform/core/telephony/tel-plugin-at_standard.git] / packaging / tel-plugin-at_standard.spec
index 97c4de8..727469f 100644 (file)
@@ -3,7 +3,7 @@ Summary: Telephony standard AT Modem library
 Version: 0.1.1
 Release: 1
 Group:   System/Libraries
-License: Apache
+License: Apache-2.0
 Source0: tel-plugin-at_standard-%{version}.tar.gz
 Source1001:    tel-plugin-at_standard.manifest
 Requires(post): /sbin/ldconfig
@@ -33,10 +33,11 @@ make %{?jobs:-j%jobs}
 rm -rf %{buildroot}
 %make_install
 mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
 
 %files
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
 #%doc COPYING
 %{_libdir}/telephony/plugins/*
-/usr/share/license/tel-plugin-at_standard
+/usr/share/license/%{name}