Use license macro in spec 86/120286/2
authorJeongho Mok <jho.mok@samsung.com>
Wed, 22 Mar 2017 08:00:16 +0000 (17:00 +0900)
committerJeongho Mok <jho.mok@samsung.com>
Wed, 22 Mar 2017 09:01:09 +0000 (18:01 +0900)
[Version] 0.1.23
[Profile] Common
[Issue Type] License

Change-Id: If0183e24f406b54952cf0f15472c343a80143ecb

LICENSE.APLv2 [moved from LICENSE.Apache-2.0 with 100% similarity]
packaging/audio-hal-sc7727.spec

similarity index 100%
rename from LICENSE.Apache-2.0
rename to LICENSE.APLv2
index 74ff5d2..7e9421f 100644 (file)
@@ -1,6 +1,6 @@
 Name:       audio-hal-sc7727
 Summary:    TIZEN Audio HAL for SC7727
-Version:    0.1.22
+Version:    0.1.23
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
@@ -33,9 +33,7 @@ export USE_TINYALSA="0"
 make %{?jobs:-j%jobs}
 
 %install
-rm -rf %{buildroot}
-mkdir -p %{buildroot}%{_datadir}/license
-cp LICENSE.Apache-2.0 %{buildroot}%{_datadir}/license/%{name}
+
 %make_install
 
 %post
@@ -48,4 +46,4 @@ cp LICENSE.Apache-2.0 %{buildroot}%{_datadir}/license/%{name}
 %manifest audio-hal-sc7727.manifest
 %defattr(-,root,root,-)
 %{_libdir}/libtizen-audio.so
-%{_datadir}/license/%{name}
+%license LICENSE.APLv2