From f1181e56b0dd03a650862cd63fd93e6e848e01a7 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 9 Jun 2025 12:19:33 +0100 Subject: libmodulemd: put version in recipe filename A recipe that fetches from git but is otherwise a released version should not be using _git.bb recipe names. Put the version in the filename, and drop the explicit PV. (From OE-Core rev: d3d2a8158b81920c51d366a5d38614bf7681e5b0) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../libmodulemd/libmodulemd_2.15.1.bb | 23 +++++++++++++++++++++ .../libmodulemd/libmodulemd_git.bb | 24 ---------------------- 2 files changed, 23 insertions(+), 24 deletions(-) create mode 100644 meta/recipes-devtools/libmodulemd/libmodulemd_2.15.1.bb delete mode 100644 meta/recipes-devtools/libmodulemd/libmodulemd_git.bb diff --git a/meta/recipes-devtools/libmodulemd/libmodulemd_2.15.1.bb b/meta/recipes-devtools/libmodulemd/libmodulemd_2.15.1.bb new file mode 100644 index 0000000000..4bdc587f4f --- /dev/null +++ b/meta/recipes-devtools/libmodulemd/libmodulemd_2.15.1.bb @@ -0,0 +1,23 @@ +SUMMARY = "C Library for manipulating module metadata files" +HOMEPAGE = "https://github.com/fedora-modularity/libmodulemd" +DESCRIPTION = "${SUMMARY}" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=25a3927bff3ee4f5b21bcb0ed3fcd6bb" + +SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https;branch=main" + +SRCREV = "e7f179eeeb6eee1403f090fc43a3c80bb08b5bfd" + +S = "${WORKDIR}/git" + +inherit meson gobject-introspection pkgconfig + +EXTRA_OEMESON = "-Dwith_py3=false -Dwith_docs=false -Drpmio=disabled -Dlibmagic=disabled -Dwith_manpages=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides" + +DEPENDS += "glib-2.0 libyaml glib-2.0-native" + +BBCLASSEXTEND = "native nativesdk" + +GIR_MESON_OPTION = 'skip_introspection' +GIR_MESON_ENABLE_FLAG = 'false' +GIR_MESON_DISABLE_FLAG = 'true' diff --git a/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb b/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb deleted file mode 100644 index 0c73032923..0000000000 --- a/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "C Library for manipulating module metadata files" -HOMEPAGE = "https://github.com/fedora-modularity/libmodulemd" -DESCRIPTION = "${SUMMARY}" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=25a3927bff3ee4f5b21bcb0ed3fcd6bb" - -SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https;branch=main" - -PV = "2.15.1" -SRCREV = "e7f179eeeb6eee1403f090fc43a3c80bb08b5bfd" - -S = "${WORKDIR}/git" - -inherit meson gobject-introspection pkgconfig - -EXTRA_OEMESON = "-Dwith_py3=false -Dwith_docs=false -Drpmio=disabled -Dlibmagic=disabled -Dwith_manpages=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides" - -DEPENDS += "glib-2.0 libyaml glib-2.0-native" - -BBCLASSEXTEND = "native nativesdk" - -GIR_MESON_OPTION = 'skip_introspection' -GIR_MESON_ENABLE_FLAG = 'false' -GIR_MESON_DISABLE_FLAG = 'true' -- cgit v1.2.3-54-g00ecf