summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Shin <yj99.shin@samsung.com>2017-08-22 15:43:30 +0900
committerYoungjae Shin <yj99.shin@samsung.com>2017-08-22 15:43:30 +0900
commitf6e03c6b9618fbcb87452d6d83fcb9a7ba6ff1a8 (patch)
tree9117f23c3752543946fd8547d01a6f4e34fbc6b0
parent822d0cb822efecd4a5985ae3e5f51b437690f639 (diff)
downloadlibpciaccess-accepted/tizen_5.5_unified.tar.gz
libpciaccess-accepted/tizen_5.5_unified.tar.bz2
libpciaccess-accepted/tizen_5.5_unified.zip
Change-Id: I7b90a2eabd3cc4dc4977cb097d7decf127fdbbf0
-rw-r--r--packaging/libpciaccess.spec7
1 files changed, 2 insertions, 5 deletions
diff --git a/packaging/libpciaccess.spec b/packaging/libpciaccess.spec
index dee110e..a40a19d 100644
--- a/packaging/libpciaccess.spec
+++ b/packaging/libpciaccess.spec
@@ -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