revise installing a license file 66/145366/1 accepted/tizen_4.0_unified accepted/tizen_5.0_unified accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_4.0 tizen_4.0_tv tizen_5.0 tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/4.0/unified/20170901.203257 accepted/tizen/5.0/unified/20181102.025957 accepted/tizen/5.5/unified/20191031.011648 accepted/tizen/5.5/unified/mobile/hotfix/20201027.074148 accepted/tizen/5.5/unified/wearable/hotfix/20201027.100445 accepted/tizen/unified/20170824.050837 submit/tizen/20170823.101627 submit/tizen_4.0/20170830.022557 submit/tizen_4.0/20170901.042111 submit/tizen_5.0/20181101.000007 submit/tizen_5.5/20191031.000007 submit/tizen_5.5_mobile_hotfix/20201026.185107 submit/tizen_5.5_wearable_hotfix/20201026.184307 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m2_release tizen_5.5.m2_release
authorYoungjae Shin <yj99.shin@samsung.com>
Tue, 22 Aug 2017 06:43:30 +0000 (15:43 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Tue, 22 Aug 2017 06:43:30 +0000 (15:43 +0900)
Change-Id: I7b90a2eabd3cc4dc4977cb097d7decf127fdbbf0

packaging/libpciaccess.spec

index dee110e..a40a19d 100644 (file)
@@ -34,7 +34,6 @@ operating systems.
 This package contains development files needed to develop with the
 libpciaccess library.
 
-%global TZ_SYS_RO_SHARE  %{?TZ_SYS_RO_SHARE:%TZ_SYS_RO_SHARE}%{!?TZ_SYS_RO_SHARE:/usr/share}
 
 %prep
 %setup -q
@@ -48,8 +47,6 @@ make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
-mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license
-cp -af COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
 %make_install
 
 %remove_docs
@@ -61,8 +58,8 @@ cp -af COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
 %files
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
-%{TZ_SYS_RO_SHARE}/license/%{name}
 %{_libdir}/libpciaccess.so.*
+%license COPYING
 
 %files devel
 %manifest %{name}.manifest
@@ -70,5 +67,5 @@ cp -af COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
 %{_includedir}/pciaccess.h
 %{_libdir}/libpciaccess.so
 %{_libdir}/pkgconfig/pciaccess.pc
-%{TZ_SYS_RO_SHARE}/license/%{name}
+%license COPYING