Re: [spice-streaming-agent 3/7] build: Install .pc file to ${libdir}, not ${sharedir}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 08, 2017 at 07:09:11AM -0500, Frediano Ziglio wrote:
> > 
> > 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}
> > ---
> >  Makefile.am                   | 2 +-
> >  spice-streaming-agent.spec.in | 2 +-
> >  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@xxxxxxxxxx>
> 
> No %changelog update?

Actually I would not fill the %changelog section in the .spec.in file as
this is version agnostic, @VERSION@ is only substituted later, so I
would not know which NEVR to put there.

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]