diff mbox

[08/22] lzo->lzo2: Rename of recipe to fix provide/soname mismatch

Message ID c3b9c2aa98a9866566490285de73f06d0f63cb8e.1389173315.git.kibo@prevas.dk
State Superseded
Delegated to: Esben Haabendal
Headers show

Commit Message

Kim Bøndergaard Jan. 8, 2014, 9:30 a.m. UTC
---
 recipes/lzo/{lzo.inc => lzo2.inc}                 | 5 ++---
 recipes/lzo/{lzo_2.06.oe => lzo2_2.06.oe}         | 2 +-
 recipes/lzo/{lzo_2.06.oe.sig => lzo2_2.06.oe.sig} | 0
 3 files changed, 3 insertions(+), 4 deletions(-)
 rename recipes/lzo/{lzo.inc => lzo2.inc} (79%)
 rename recipes/lzo/{lzo_2.06.oe => lzo2_2.06.oe} (56%)
 rename recipes/lzo/{lzo_2.06.oe.sig => lzo2_2.06.oe.sig} (100%)

Comments

Esben Haabendal Feb. 6, 2014, 1:54 p.m. UTC | #1
I took a slightly different approach, while achieving the same.

Thanks for the patch.

/Esben
diff mbox

Patch

diff --git a/recipes/lzo/lzo.inc b/recipes/lzo/lzo2.inc
similarity index 79%
rename from recipes/lzo/lzo.inc
rename to recipes/lzo/lzo2.inc
index d544cc1..6500911 100644
--- a/recipes/lzo/lzo.inc
+++ b/recipes/lzo/lzo2.inc
@@ -7,10 +7,9 @@  inherit autotools library
 
 SRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz"
 
-EXTRA_OECONF = "--enable-shared"
+S = "${SRCDIR}/lzo-${PV}"
 
-PROVIDES_${PN} = "liblzo liblzo2"
-PROVIDES_${PN}[qa] += "allow-missing-soname:liblzo"
+EXTRA_OECONF = "--enable-shared"
 
 DEPENDS_${PN} += "libc"
 RDEPENDS_${PN} += "libc"
diff --git a/recipes/lzo/lzo_2.06.oe b/recipes/lzo/lzo2_2.06.oe
similarity index 56%
rename from recipes/lzo/lzo_2.06.oe
rename to recipes/lzo/lzo2_2.06.oe
index 6a3d2ee..ff00231 100644
--- a/recipes/lzo/lzo_2.06.oe
+++ b/recipes/lzo/lzo2_2.06.oe
@@ -1,3 +1,3 @@ 
 LICENSE = "GPL-2.0+"
 
-require lzo.inc
+require lzo2.inc
diff --git a/recipes/lzo/lzo_2.06.oe.sig b/recipes/lzo/lzo2_2.06.oe.sig
similarity index 100%
rename from recipes/lzo/lzo_2.06.oe.sig
rename to recipes/lzo/lzo2_2.06.oe.sig