summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2017-11-08 14:17:02 +0100
committerFrediano Ziglio <fziglio@redhat.com>2017-11-08 13:57:15 +0000
commit0935dfd41117c9e324a81cc39f9a2d9f960f83c0 (patch)
tree65960a652e8aaad8f52e357ad55decc97408e1a1
parent3602e2e04f338c712aa6f3a59449771257db0981 (diff)
build: Install .pc file to ${libdir}, not ${sharedir}
The .pc file defines a plugin installation location, which will be arch dependent, so the .pc file belongs in this arch ${libdir}, not in the 'noarch' ${sharedir} Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r--Makefile.am2
-rw-r--r--spice-streaming-agent.spec.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 52a8acf..baa9835 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,7 +12,7 @@ xdgautostart_DATA = $(top_srcdir)/data/spice-streaming.desktop
gdmautostartdir = $(datadir)/gdm/greeter/autostart
gdmautostart_DATA = $(top_srcdir)/data/spice-streaming.desktop
-pkgconfigdir = $(datadir)/pkgconfig
+pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = spice-streaming-agent.pc
EXTRA_DIST = \
diff --git a/spice-streaming-agent.spec.in b/spice-streaming-agent.spec.in
index 2fefe7c..e472c32 100644
--- a/spice-streaming-agent.spec.in
+++ b/spice-streaming-agent.spec.in
@@ -57,7 +57,7 @@ fi
%files devel
%defattr(-,root,root,-)
%{_includedir}
-%{_datadir}/pkgconfig
+%{_libdir}/pkgconfig
%changelog
* Wed Aug 16 2017 Frediano Ziglio <fziglio@redhat.com>