From cc45fd26157975d9c9e5893d41679c65fa36d8a7 Mon Sep 17 00:00:00 2001 From: Jinkun Jang Date: Fri, 11 Oct 2013 13:38:32 +0900 Subject: [PATCH] add license --- packaging/pkgconfig.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/pkgconfig.spec b/packaging/pkgconfig.spec index 239d299..bd9d6d2 100644 --- a/packaging/pkgconfig.spec +++ b/packaging/pkgconfig.spec @@ -29,6 +29,9 @@ make make install DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig +mkdir -p %{buildroot}/usr/share/license +cp COPYING %{buildroot}/usr/share/license/%{name} + # we include this below, already rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/pkg-config @@ -42,3 +45,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/pkg-config %{_libdir}/pkgconfig %{_datadir}/pkgconfig %{_datadir}/aclocal/* +/usr/share/license/%{name} -- 2.7.4