From f6e03c6b9618fbcb87452d6d83fcb9a7ba6ff1a8 Mon Sep 17 00:00:00 2001 From: Youngjae Shin Date: Tue, 22 Aug 2017 15:43:30 +0900 Subject: [PATCH] revise installing a license file Change-Id: I7b90a2eabd3cc4dc4977cb097d7decf127fdbbf0 --- packaging/libpciaccess.spec | 7 ++----- 1 file 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 -- 2.7.4