diff options
author | SooChan Lim <sc1.lim@samsung.com> | 2016-03-11 13:26:45 +0900 |
---|---|---|
committer | SooChan Lim <sc1.lim@samsung.com> | 2016-03-11 13:27:19 +0900 |
commit | e0c4c550c02d9b4b6635d27b0ee3bdcbfa819fcd (patch) | |
tree | ee4a4bcc0cf2334785c7f4f49ff292b3150383cb | |
parent | ee8acb9c57a32ffe12c760e0e93cd3f38eca5f44 (diff) | |
download | libpciaccess-e0c4c550c02d9b4b6635d27b0ee3bdcbfa819fcd.tar.gz libpciaccess-e0c4c550c02d9b4b6635d27b0ee3bdcbfa819fcd.tar.bz2 libpciaccess-e0c4c550c02d9b4b6635d27b0ee3bdcbfa819fcd.zip |
use the tizen directory macros at spec filesubmit/tizen/20160311.060442accepted/tizen/wearable/20160313.114054accepted/tizen/tv/20160313.113653accepted/tizen/mobile/20160313.113321accepted/tizen/ivi/20160313.114444accepted/tizen/common/20160315.220654
Change-Id: If9018a2f5dfd0847ff787e76e03c564674a130af
-rw-r--r-- | packaging/libpciaccess.spec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/packaging/libpciaccess.spec b/packaging/libpciaccess.spec index 049d9e2..dee110e 100644 --- a/packaging/libpciaccess.spec +++ b/packaging/libpciaccess.spec @@ -34,6 +34,8 @@ 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 cp %{SOURCE1001} . @@ -45,6 +47,9 @@ NOCONFIGURE=1 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 @@ -56,7 +61,7 @@ make %{?_smp_mflags} %files %manifest %{name}.manifest %defattr(-,root,root,-) -%license COPYING +%{TZ_SYS_RO_SHARE}/license/%{name} %{_libdir}/libpciaccess.so.* %files devel @@ -65,3 +70,5 @@ make %{?_smp_mflags} %{_includedir}/pciaccess.h %{_libdir}/libpciaccess.so %{_libdir}/pkgconfig/pciaccess.pc +%{TZ_SYS_RO_SHARE}/license/%{name} + |