diff options
-rw-r--r-- | packaging/libpciaccess.spec | 7 |
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 |