summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinkun Jang <jinkun.jang@samsung.com>2013-10-11 13:38:32 +0900
committerJinkun Jang <jinkun.jang@samsung.com>2013-10-11 13:38:32 +0900
commitcc45fd26157975d9c9e5893d41679c65fa36d8a7 (patch)
tree75bb8b553e503188786077b2ad387d70de4c42da
parent98af99e0f983988b23366183cd1669cccd26f50a (diff)
downloadpkg-config-cc45fd26157975d9c9e5893d41679c65fa36d8a7.tar.gz
pkg-config-cc45fd26157975d9c9e5893d41679c65fa36d8a7.tar.bz2
pkg-config-cc45fd26157975d9c9e5893d41679c65fa36d8a7.zip
-rw-r--r--packaging/pkgconfig.spec4
1 files changed, 4 insertions, 0 deletions
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}