From 499976eb1989b2811fad1f28edb6de90c69d8a7807253362e523a56c649f714a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 22 Jan 2016 19:09:23 +0000 Subject: [PATCH] - Move to seprate location and ensure pkgconfig is used correctly OBS-URL: https://build.opensuse.org/package/show/network:telephony/libosmo-abis?expand=0&rev=15 --- libosmo-abis.changes | 5 +++++ libosmo-abis.spec | 14 ++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/libosmo-abis.changes b/libosmo-abis.changes index ed407c9..1f61d6a 100644 --- a/libosmo-abis.changes +++ b/libosmo-abis.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 22 19:08:57 UTC 2016 - jengelh@inai.de + +- Move to seprate location and ensure pkgconfig is used correctly + ------------------------------------------------------------------- Wed Dec 23 17:34:54 UTC 2015 - jengelh@inai.de diff --git a/libosmo-abis.spec b/libosmo-abis.spec index ff7e6da..d58e35d 100644 --- a/libosmo-abis.spec +++ b/libosmo-abis.spec @@ -1,7 +1,7 @@ # # spec file for package libosmo-abis # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -104,7 +104,7 @@ applications that want to make use of libosmotrau. %build echo "%version" >.tarball-version autoreconf -fiv -%configure --enable-shared --disable-static +%configure --enable-shared --disable-static --includedir="%_includedir/%name" make %{?_smp_mflags} %install @@ -127,8 +127,9 @@ make %{?_smp_mflags} check %files -n libosmoabis-devel %defattr(-,root,root) %doc COPYING -%dir %_includedir/osmocom -%_includedir/osmocom/abis/ +%dir %_includedir/%name +%dir %_includedir/%name/osmocom +%_includedir/%name/osmocom/abis/ %_libdir/libosmoabis.so %_libdir/pkgconfig/libosmoabis.pc @@ -139,8 +140,9 @@ make %{?_smp_mflags} check %files -n libosmotrau-devel %defattr(-,root,root) %doc COPYING -%dir %_includedir/osmocom -%_includedir/osmocom/trau +%dir %_includedir/%name +%dir %_includedir/%name/osmocom +%_includedir/%name/osmocom/trau %_libdir/libosmotrau.so %_libdir/pkgconfig/libosmotrau.pc