diff options
author | SooChan Lim <sc1.lim@samsung.com> | 2016-03-11 13:59:39 +0900 |
---|---|---|
committer | SooChan Lim <sc1.lim@samsung.com> | 2016-03-11 13:59:39 +0900 |
commit | badf0268e604f95ad58a251da631d670af0faf90 (patch) | |
tree | 69095cf36993cfc9dc82aba9c343f56bf72d32a9 | |
parent | 0ef32010e2cf82cfbba371f79c219c5c8ede9620 (diff) | |
download | libtbm-shm-badf0268e604f95ad58a251da631d670af0faf90.tar.gz libtbm-shm-badf0268e604f95ad58a251da631d670af0faf90.tar.bz2 libtbm-shm-badf0268e604f95ad58a251da631d670af0faf90.zip |
use the tizen directory macros at spec filesubmit/tizen/20160311.060925accepted/tizen/wearable/20160311.145454accepted/tizen/tv/20160311.144651accepted/tizen/mobile/20160311.143049accepted/tizen/ivi/20160311.150129accepted/tizen/common/20160311.203436
Change-Id: I58b17fb56e7dba9fd26c8ba0e9604716a16d8d90
-rw-r--r-- | packaging/libtbm-shm.spec | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/packaging/libtbm-shm.spec b/packaging/libtbm-shm.spec index cd8c0f9..fc8fd62 100644 --- a/packaging/libtbm-shm.spec +++ b/packaging/libtbm-shm.spec @@ -15,6 +15,8 @@ BuildRequires: pkgconfig(dlog) %description descriptionion: Tizen Buffer manager backend module uses drm shm +%global TZ_SYS_RO_SHARE %{?TZ_SYS_RO_SHARE:%TZ_SYS_RO_SHARE}%{!?TZ_SYS_RO_SHARE:/usr/share} + %prep %setup -q @@ -27,8 +29,8 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} -mkdir -p %{buildroot}/usr/share/license -cp -af COPYING %{buildroot}/usr/share/license/%{name} +mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license +cp -af COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name} %make_install @@ -41,7 +43,8 @@ ln -s libtbm_shm.so %{_libdir}/bufmgr/libtbm_default.so %postun -p /sbin/ldconfig %files +%defattr(-,root,root,-) %manifest libtbm-shm.manifest +%{TZ_SYS_RO_SHARE}/license/%{name} %{_libdir}/bufmgr/libtbm_*.so* -/usr/share/license/%{name} |