We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
[package] util-linux-libuuid uses wrong cmake target
### Description

In the following lines, the `util-linux-libuuid` recipe sets the cmake target to be `LibUUID::LibUUID` with a filename of `LibUUID-config.cmake`:

https://github.com/conan-io/conan-center-index/blob/61c4f7819e6cd3594a57f6c3847f94ab86de623f/recipes/util-linux-libuuid/all/conanfile.py#L112-L113

This was based on the internal practice that Kitware has for their internal libuuid cmake module, however this is not public and a number of packages (czmq, cppcommon) seem to assume a `libuuid::libuuid` target. These change should be reverted such that these packages can utilise util-linux-libuuid without a requirement to be patched.

### Package and Environment Details

N/A

### Conan profile

N/A


### Steps to reproduce

N/A

### Logs

<details><summary>Click to expand log</summary>

```
Put your log output here
```

</details>


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `recipes/util-linux-libuuid/all/conanfile.py`
Content:
```
1 from conan import ConanFile
2 from conan.errors import ConanInvalidConfiguration
3 from conan.tools.apple import fix_apple_shared_install_name
4 from conan.tools.files import copy, get, rm, rmdir
5 from conan.tools.gnu import Autotools, AutotoolsToolchain, AutotoolsDeps
6 from conan.tools.layout import basic_layout
7 from conan.tools.scm import Version
8 import os
9 
10 required_conan_version = ">=1.53.0"
11 
12 
13 class UtilLinuxLibuuidConan(ConanFile):
14     name = "util-linux-libuuid"
15     description = "Universally unique id library"
16     url = "https://github.com/conan-io/conan-center-index"
17     homepage = "https://github.com/util-linux/util-linux.git"
18     license = "BSD-3-Clause"
19     topics = "id", "identifier", "unique", "uuid"
20     package_type = "library"
21     provides = "libuuid"
22     settings = "os", "arch", "compiler", "build_type"
23     options = {
24         "shared": [True, False],
25         "fPIC": [True, False],
26     }
27     default_options = {
28         "shared": False,
29         "fPIC": True,
30     }
31 
32     @property
33     def _has_sys_file_header(self):
34         return self.settings.os in ["FreeBSD", "Linux", "Macos"]
35 
36     def config_options(self):
37         if self.settings.os == "Windows":
38             del self.options.fPIC
39 
40     def configure(self):
41         if self.options.shared:
42             self.options.rm_safe("fPIC")
43         self.settings.rm_safe("compiler.cppstd")
44         self.settings.rm_safe("compiler.libcxx")
45 
46     def layout(self):
47         basic_layout(self, src_folder="src")
48 
49     def _minimum_compiler_version(self, compiler, build_type):
50         min_version = {
51             "gcc": {
52                 "Release": "4",
53                 "Debug": "8",
54             },
55             "clang": {
56                 "Release": "3",
57                 "Debug": "3",
58             },
59             "apple-clang": {
60                 "Release": "5",
61                 "Debug": "5",
62             },
63         }
64         return min_version.get(str(compiler), {}).get(str(build_type), "0")
65 
66     def validate(self):
67         min_version = self._minimum_compiler_version(self.settings.compiler, self.settings.build_type)
68         if Version(self.settings.compiler.version) < min_version:
69             raise ConanInvalidConfiguration(f"{self.settings.compiler} {self.settings.compiler.version} does not meet the minimum version requirement of version {min_version}")
70         if self.settings.os == "Windows":
71             raise ConanInvalidConfiguration(f"{self.ref} is not supported on Windows")
72 
73     def requirements(self):
74         if self.settings.os == "Macos":
75             # Required because libintl.{a,dylib} is not distributed via libc on Macos
76             self.requires("libgettext/0.21")
77 
78     def source(self):
79         get(self, **self.conan_data["sources"][self.version], strip_root=True)
80 
81     def generate(self):
82         tc = AutotoolsToolchain(self)
83         tc.configure_args.append("--disable-all-programs")
84         tc.configure_args.append("--enable-libuuid")
85         if self._has_sys_file_header:
86             tc.extra_defines.append("HAVE_SYS_FILE_H")
87         if "x86" in self.settings.arch:
88             tc.extra_cflags.append("-mstackrealign")
89         tc.generate()
90 
91         deps = AutotoolsDeps(self)
92         deps.generate()
93 
94     def build(self):
95         autotools = Autotools(self)
96         autotools.configure()
97         autotools.make()
98 
99     def package(self):
100         copy(self, "COPYING.BSD-3-Clause", src=os.path.join(self.source_folder, "Documentation", "licenses"), dst=os.path.join(self.package_folder, "licenses"))
101         autotools = Autotools(self)
102         autotools.install()
103         rm(self, "*.la", os.path.join(self.package_folder, "lib"))
104         rmdir(self, os.path.join(self.package_folder, "lib", "pkgconfig"))
105         rmdir(self, os.path.join(self.package_folder, "bin"))
106         rmdir(self, os.path.join(self.package_folder, "sbin"))
107         rmdir(self, os.path.join(self.package_folder, "share"))
108         fix_apple_shared_install_name(self)
109 
110     def package_info(self):
111         self.cpp_info.set_property("pkg_config_name", "uuid")
112         self.cpp_info.set_property("cmake_target_name", "LibUUID::LibUUID")
113         self.cpp_info.set_property("cmake_file_name", "LibUUID")
114         self.cpp_info.libs = ["uuid"]
115         self.cpp_info.includedirs.append(os.path.join("include", "uuid"))
116
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/recipes/util-linux-libuuid/all/conanfile.py b/recipes/util-linux-libuuid/all/conanfile.py
--- a/recipes/util-linux-libuuid/all/conanfile.py
+++ b/recipes/util-linux-libuuid/all/conanfile.py
@@ -109,7 +109,10 @@
 
     def package_info(self):
         self.cpp_info.set_property("pkg_config_name", "uuid")
-        self.cpp_info.set_property("cmake_target_name", "LibUUID::LibUUID")
-        self.cpp_info.set_property("cmake_file_name", "LibUUID")
+        self.cpp_info.set_property("cmake_target_name", "libuuid::libuuid")
+        self.cpp_info.set_property("cmake_file_name", "libuuid")
+        # Maintain alias to `LibUUID::LibUUID` for previous version of the recipe
+        self.cpp_info.set_property("cmake_target_aliases", ["LibUUID::LibUUID"])
+
         self.cpp_info.libs = ["uuid"]
         self.cpp_info.includedirs.append(os.path.join("include", "uuid"))

{"golden_diff": "diff --git a/recipes/util-linux-libuuid/all/conanfile.py b/recipes/util-linux-libuuid/all/conanfile.py\n--- a/recipes/util-linux-libuuid/all/conanfile.py\n+++ b/recipes/util-linux-libuuid/all/conanfile.py\n@@ -109,7 +109,10 @@\n \n     def package_info(self):\n         self.cpp_info.set_property(\"pkg_config_name\", \"uuid\")\n-        self.cpp_info.set_property(\"cmake_target_name\", \"LibUUID::LibUUID\")\n-        self.cpp_info.set_property(\"cmake_file_name\", \"LibUUID\")\n+        self.cpp_info.set_property(\"cmake_target_name\", \"libuuid::libuuid\")\n+        self.cpp_info.set_property(\"cmake_file_name\", \"libuuid\")\n+        # Maintain alias to `LibUUID::LibUUID` for previous version of the recipe\n+        self.cpp_info.set_property(\"cmake_target_aliases\", [\"LibUUID::LibUUID\"])\n+\n         self.cpp_info.libs = [\"uuid\"]\n         self.cpp_info.includedirs.append(os.path.join(\"include\", \"uuid\"))\n", "issue": "[package] util-linux-libuuid uses wrong cmake target\n### Description\n\nIn the following lines, the `util-linux-libuuid` recipe sets the cmake target to be `LibUUID::LibUUID` with a filename of `LibUUID-config.cmake`:\r\n\r\nhttps://github.com/conan-io/conan-center-index/blob/61c4f7819e6cd3594a57f6c3847f94ab86de623f/recipes/util-linux-libuuid/all/conanfile.py#L112-L113\r\n\r\nThis was based on the internal practice that Kitware has for their internal libuuid cmake module, however this is not public and a number of packages (czmq, cppcommon) seem to assume a `libuuid::libuuid` target. These change should be reverted such that these packages can utilise util-linux-libuuid without a requirement to be patched.\n\n### Package and Environment Details\n\nN/A\n\n### Conan profile\n\nN/A\r\n\n\n### Steps to reproduce\n\nN/A\n\n### Logs\n\n<details><summary>Click to expand log</summary>\r\n\r\n```\r\nPut your log output here\r\n```\r\n\r\n</details>\r\n\n", "before_files": [{"content": "from conan import ConanFile\nfrom conan.errors import ConanInvalidConfiguration\nfrom conan.tools.apple import fix_apple_shared_install_name\nfrom conan.tools.files import copy, get, rm, rmdir\nfrom conan.tools.gnu import Autotools, AutotoolsToolchain, AutotoolsDeps\nfrom conan.tools.layout import basic_layout\nfrom conan.tools.scm import Version\nimport os\n\nrequired_conan_version = \">=1.53.0\"\n\n\nclass UtilLinuxLibuuidConan(ConanFile):\n    name = \"util-linux-libuuid\"\n    description = \"Universally unique id library\"\n    url = \"https://github.com/conan-io/conan-center-index\"\n    homepage = \"https://github.com/util-linux/util-linux.git\"\n    license = \"BSD-3-Clause\"\n    topics = \"id\", \"identifier\", \"unique\", \"uuid\"\n    package_type = \"library\"\n    provides = \"libuuid\"\n    settings = \"os\", \"arch\", \"compiler\", \"build_type\"\n    options = {\n        \"shared\": [True, False],\n        \"fPIC\": [True, False],\n    }\n    default_options = {\n        \"shared\": False,\n        \"fPIC\": True,\n    }\n\n    @property\n    def _has_sys_file_header(self):\n        return self.settings.os in [\"FreeBSD\", \"Linux\", \"Macos\"]\n\n    def config_options(self):\n        if self.settings.os == \"Windows\":\n            del self.options.fPIC\n\n    def configure(self):\n        if self.options.shared:\n            self.options.rm_safe(\"fPIC\")\n        self.settings.rm_safe(\"compiler.cppstd\")\n        self.settings.rm_safe(\"compiler.libcxx\")\n\n    def layout(self):\n        basic_layout(self, src_folder=\"src\")\n\n    def _minimum_compiler_version(self, compiler, build_type):\n        min_version = {\n            \"gcc\": {\n                \"Release\": \"4\",\n                \"Debug\": \"8\",\n            },\n            \"clang\": {\n                \"Release\": \"3\",\n                \"Debug\": \"3\",\n            },\n            \"apple-clang\": {\n                \"Release\": \"5\",\n                \"Debug\": \"5\",\n            },\n        }\n        return min_version.get(str(compiler), {}).get(str(build_type), \"0\")\n\n    def validate(self):\n        min_version = self._minimum_compiler_version(self.settings.compiler, self.settings.build_type)\n        if Version(self.settings.compiler.version) < min_version:\n            raise ConanInvalidConfiguration(f\"{self.settings.compiler} {self.settings.compiler.version} does not meet the minimum version requirement of version {min_version}\")\n        if self.settings.os == \"Windows\":\n            raise ConanInvalidConfiguration(f\"{self.ref} is not supported on Windows\")\n\n    def requirements(self):\n        if self.settings.os == \"Macos\":\n            # Required because libintl.{a,dylib} is not distributed via libc on Macos\n            self.requires(\"libgettext/0.21\")\n\n    def source(self):\n        get(self, **self.conan_data[\"sources\"][self.version], strip_root=True)\n\n    def generate(self):\n        tc = AutotoolsToolchain(self)\n        tc.configure_args.append(\"--disable-all-programs\")\n        tc.configure_args.append(\"--enable-libuuid\")\n        if self._has_sys_file_header:\n            tc.extra_defines.append(\"HAVE_SYS_FILE_H\")\n        if \"x86\" in self.settings.arch:\n            tc.extra_cflags.append(\"-mstackrealign\")\n        tc.generate()\n\n        deps = AutotoolsDeps(self)\n        deps.generate()\n\n    def build(self):\n        autotools = Autotools(self)\n        autotools.configure()\n        autotools.make()\n\n    def package(self):\n        copy(self, \"COPYING.BSD-3-Clause\", src=os.path.join(self.source_folder, \"Documentation\", \"licenses\"), dst=os.path.join(self.package_folder, \"licenses\"))\n        autotools = Autotools(self)\n        autotools.install()\n        rm(self, \"*.la\", os.path.join(self.package_folder, \"lib\"))\n        rmdir(self, os.path.join(self.package_folder, \"lib\", \"pkgconfig\"))\n        rmdir(self, os.path.join(self.package_folder, \"bin\"))\n        rmdir(self, os.path.join(self.package_folder, \"sbin\"))\n        rmdir(self, os.path.join(self.package_folder, \"share\"))\n        fix_apple_shared_install_name(self)\n\n    def package_info(self):\n        self.cpp_info.set_property(\"pkg_config_name\", \"uuid\")\n        self.cpp_info.set_property(\"cmake_target_name\", \"LibUUID::LibUUID\")\n        self.cpp_info.set_property(\"cmake_file_name\", \"LibUUID\")\n        self.cpp_info.libs = [\"uuid\"]\n        self.cpp_info.includedirs.append(os.path.join(\"include\", \"uuid\"))\n", "path": "recipes/util-linux-libuuid/all/conanfile.py"}], "after_files": [{"content": "from conan import ConanFile\nfrom conan.errors import ConanInvalidConfiguration\nfrom conan.tools.apple import fix_apple_shared_install_name\nfrom conan.tools.files import copy, get, rm, rmdir\nfrom conan.tools.gnu import Autotools, AutotoolsToolchain, AutotoolsDeps\nfrom conan.tools.layout import basic_layout\nfrom conan.tools.scm import Version\nimport os\n\nrequired_conan_version = \">=1.53.0\"\n\n\nclass UtilLinuxLibuuidConan(ConanFile):\n    name = \"util-linux-libuuid\"\n    description = \"Universally unique id library\"\n    url = \"https://github.com/conan-io/conan-center-index\"\n    homepage = \"https://github.com/util-linux/util-linux.git\"\n    license = \"BSD-3-Clause\"\n    topics = \"id\", \"identifier\", \"unique\", \"uuid\"\n    package_type = \"library\"\n    provides = \"libuuid\"\n    settings = \"os\", \"arch\", \"compiler\", \"build_type\"\n    options = {\n        \"shared\": [True, False],\n        \"fPIC\": [True, False],\n    }\n    default_options = {\n        \"shared\": False,\n        \"fPIC\": True,\n    }\n\n    @property\n    def _has_sys_file_header(self):\n        return self.settings.os in [\"FreeBSD\", \"Linux\", \"Macos\"]\n\n    def config_options(self):\n        if self.settings.os == \"Windows\":\n            del self.options.fPIC\n\n    def configure(self):\n        if self.options.shared:\n            self.options.rm_safe(\"fPIC\")\n        self.settings.rm_safe(\"compiler.cppstd\")\n        self.settings.rm_safe(\"compiler.libcxx\")\n\n    def layout(self):\n        basic_layout(self, src_folder=\"src\")\n\n    def _minimum_compiler_version(self, compiler, build_type):\n        min_version = {\n            \"gcc\": {\n                \"Release\": \"4\",\n                \"Debug\": \"8\",\n            },\n            \"clang\": {\n                \"Release\": \"3\",\n                \"Debug\": \"3\",\n            },\n            \"apple-clang\": {\n                \"Release\": \"5\",\n                \"Debug\": \"5\",\n            },\n        }\n        return min_version.get(str(compiler), {}).get(str(build_type), \"0\")\n\n    def validate(self):\n        min_version = self._minimum_compiler_version(self.settings.compiler, self.settings.build_type)\n        if Version(self.settings.compiler.version) < min_version:\n            raise ConanInvalidConfiguration(f\"{self.settings.compiler} {self.settings.compiler.version} does not meet the minimum version requirement of version {min_version}\")\n        if self.settings.os == \"Windows\":\n            raise ConanInvalidConfiguration(f\"{self.ref} is not supported on Windows\")\n\n    def requirements(self):\n        if self.settings.os == \"Macos\":\n            # Required because libintl.{a,dylib} is not distributed via libc on Macos\n            self.requires(\"libgettext/0.21\")\n\n    def source(self):\n        get(self, **self.conan_data[\"sources\"][self.version], strip_root=True)\n\n    def generate(self):\n        tc = AutotoolsToolchain(self)\n        tc.configure_args.append(\"--disable-all-programs\")\n        tc.configure_args.append(\"--enable-libuuid\")\n        if self._has_sys_file_header:\n            tc.extra_defines.append(\"HAVE_SYS_FILE_H\")\n        if \"x86\" in self.settings.arch:\n            tc.extra_cflags.append(\"-mstackrealign\")\n        tc.generate()\n\n        deps = AutotoolsDeps(self)\n        deps.generate()\n\n    def build(self):\n        autotools = Autotools(self)\n        autotools.configure()\n        autotools.make()\n\n    def package(self):\n        copy(self, \"COPYING.BSD-3-Clause\", src=os.path.join(self.source_folder, \"Documentation\", \"licenses\"), dst=os.path.join(self.package_folder, \"licenses\"))\n        autotools = Autotools(self)\n        autotools.install()\n        rm(self, \"*.la\", os.path.join(self.package_folder, \"lib\"))\n        rmdir(self, os.path.join(self.package_folder, \"lib\", \"pkgconfig\"))\n        rmdir(self, os.path.join(self.package_folder, \"bin\"))\n        rmdir(self, os.path.join(self.package_folder, \"sbin\"))\n        rmdir(self, os.path.join(self.package_folder, \"share\"))\n        fix_apple_shared_install_name(self)\n\n    def package_info(self):\n        self.cpp_info.set_property(\"pkg_config_name\", \"uuid\")\n        self.cpp_info.set_property(\"cmake_target_name\", \"libuuid::libuuid\")\n        self.cpp_info.set_property(\"cmake_file_name\", \"libuuid\")\n        # Maintain alias to `LibUUID::LibUUID` for previous version of the recipe\n        self.cpp_info.set_property(\"cmake_target_aliases\", [\"LibUUID::LibUUID\"])\n\n        self.cpp_info.libs = [\"uuid\"]\n        self.cpp_info.includedirs.append(os.path.join(\"include\", \"uuid\"))\n", "path": "recipes/util-linux-libuuid/all/conanfile.py"}]}