File rcl_remove-vendor-suffix-from-yaml-package.patch of Package rcl-yaml-param-parser

From b2f543947a7f21ea678b3872fc7ea0c95e11893f Mon Sep 17 00:00:00 2001
From: Philipp Huth <huth.philipp@googlemail.com>
Date: Sun, 31 Aug 2025 02:48:37 +0200
Subject: [PATCH] remove vendor suffix from yaml package

---
 rcl_yaml_param_parser/CMakeLists.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rcl_yaml_param_parser/CMakeLists.txt b/rcl_yaml_param_parser/CMakeLists.txt
index 397f662..8ecb748 100644
--- a/rcl_yaml_param_parser/CMakeLists.txt
+++ b/rcl_yaml_param_parser/CMakeLists.txt
@@ -5,7 +5,7 @@ project(rcl_yaml_param_parser)
 find_package(ament_cmake_ros REQUIRED)
 find_package(rcutils REQUIRED)
 find_package(rmw REQUIRED)
-find_package(libyaml_vendor REQUIRED)
+find_package(yaml REQUIRED)
 
 # Default to C++14
 if(NOT CMAKE_CXX_STANDARD)
@@ -34,7 +34,7 @@ add_library(
 target_include_directories(${PROJECT_NAME} PUBLIC
   "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
   "$<INSTALL_INTERFACE:include>")
-ament_target_dependencies(${PROJECT_NAME} "libyaml_vendor" "rcutils" "rmw")
+ament_target_dependencies(${PROJECT_NAME} "yaml" "rcutils" "rmw")
 
 # Set the visibility to hidden by default if possible
 if(CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID MATCHES "Clang")
@@ -185,7 +185,7 @@ if(BUILD_TESTING)
   endif()
 endif()
 
-ament_export_dependencies(ament_cmake libyaml_vendor)
+ament_export_dependencies(ament_cmake yaml)
 ament_export_dependencies(rmw)
 ament_export_include_directories(include)
 install(
-- 
2.49.0

openSUSE Build Service is sponsored by