From fb2be3e462972ac7960419e8f4b51b2c1a06c14a Mon Sep 17 00:00:00 2001 From: wangmy Date: Thu, 15 Apr 2021 14:08:20 +0800 Subject: libcomps: upgrade 0.1.15 -> 0.1.16 refresh 0001-Add-crc32.c-to-sources-list.patch (From OE-Core rev: f1f66e20eeea7bb1c370991490d34f868cd8a964) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- .../0001-Add-crc32.c-to-sources-list.patch | 6 +++--- meta/recipes-devtools/libcomps/libcomps_0.1.15.bb | 24 ---------------------- meta/recipes-devtools/libcomps/libcomps_0.1.16.bb | 24 ++++++++++++++++++++++ 3 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 meta/recipes-devtools/libcomps/libcomps_0.1.15.bb create mode 100644 meta/recipes-devtools/libcomps/libcomps_0.1.16.bb diff --git a/meta/recipes-devtools/libcomps/libcomps/0001-Add-crc32.c-to-sources-list.patch b/meta/recipes-devtools/libcomps/libcomps/0001-Add-crc32.c-to-sources-list.patch index f4fb6d3b20..76fce19767 100644 --- a/meta/recipes-devtools/libcomps/libcomps/0001-Add-crc32.c-to-sources-list.patch +++ b/meta/recipes-devtools/libcomps/libcomps/0001-Add-crc32.c-to-sources-list.patch @@ -13,7 +13,7 @@ Signed-off-by: Alexander Kanavin 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libcomps/src/python/src/CMakeLists.txt b/libcomps/src/python/src/CMakeLists.txt -index adabb31..b9b96ab 100644 +index 89b9c91..08cd6b5 100644 --- a/libcomps/src/python/src/CMakeLists.txt +++ b/libcomps/src/python/src/CMakeLists.txt @@ -9,13 +9,13 @@ set (pycomps_SRCDIR ${CMAKE_CURRENT_SOURCE_DIR}) @@ -23,7 +23,7 @@ index adabb31..b9b96ab 100644 - pycomps_hash.c pycomps_exc.c pycomps_lbw.c) + pycomps_hash.c pycomps_exc.c pycomps_lbw.c crc32.c) - set (pycomps_HEADERS pycomps_23macros.h pycomps_sequence.h + set (pycomps_HEADERS pycomps_macros.h pycomps_sequence.h pycomps_envs.h pycomps_categories.h pycomps_groups.h pycomps_gids.h pycomps_utils.h pycomps_dict.h pycomps_mdict.h pycomps_hash.h pycomps_exc.h pycomps_lbw.h @@ -46,5 +46,5 @@ index d8f5e34..f266067 100644 static uint32_t crc32_tab[] = { 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, -- -2.26.2 +2.25.1 diff --git a/meta/recipes-devtools/libcomps/libcomps_0.1.15.bb b/meta/recipes-devtools/libcomps/libcomps_0.1.15.bb deleted file mode 100644 index 58d2dee897..0000000000 --- a/meta/recipes-devtools/libcomps/libcomps_0.1.15.bb +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "Libcomps is alternative for yum.comps library (which is for managing rpm package groups)." -HOMEPAGE = "https://github.com/rpm-software-management/libcomps" -DESCRIPTION = "Libcomps is alternative for yum.comps library. It's written in pure C as library and there's bindings for python2 and python3." -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" - -SRC_URI = "git://github.com/rpm-software-management/libcomps.git \ - file://0001-Add-crc32.c-to-sources-list.patch \ - file://0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ - " - -SRCREV = "b213f749405d84e989b25e183bcf28ce701696dd" - -S = "${WORKDIR}/git" - -inherit cmake distutils3-base - -DEPENDS += "libxml2 expat libcheck" - -EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3" -OECMAKE_SOURCEPATH = "${S}/libcomps" - -BBCLASSEXTEND = "native nativesdk" - diff --git a/meta/recipes-devtools/libcomps/libcomps_0.1.16.bb b/meta/recipes-devtools/libcomps/libcomps_0.1.16.bb new file mode 100644 index 0000000000..851ec5b817 --- /dev/null +++ b/meta/recipes-devtools/libcomps/libcomps_0.1.16.bb @@ -0,0 +1,24 @@ +SUMMARY = "Libcomps is alternative for yum.comps library (which is for managing rpm package groups)." +HOMEPAGE = "https://github.com/rpm-software-management/libcomps" +DESCRIPTION = "Libcomps is alternative for yum.comps library. It's written in pure C as library and there's bindings for python2 and python3." +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "git://github.com/rpm-software-management/libcomps.git \ + file://0001-Add-crc32.c-to-sources-list.patch \ + file://0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ + " + +SRCREV = "f3289ed1d812648558ab48ade4fae850b375fa65" + +S = "${WORKDIR}/git" + +inherit cmake distutils3-base + +DEPENDS += "libxml2 expat libcheck" + +EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3" +OECMAKE_SOURCEPATH = "${S}/libcomps" + +BBCLASSEXTEND = "native nativesdk" + -- cgit v1.2.3-54-g00ecf