prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  [odbc] CMake module name
  odbc/2.3.7
  
  According to CMake module, it should use capital letters: https://cmake.org/cmake/help/v3.12/module/FindODBC.html
  
  --- 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/odbc/all/conanfile.py`
  Content:
  ```
  1 import os
  2 from conans import ConanFile, AutoToolsBuildEnvironment, tools
  3 from conans.errors import ConanInvalidConfiguration
  4 
  5 
  6 class OdbcConan(ConanFile):
  7     name = 'odbc'
  8     description = 'Package providing unixODBC'
  9     url = 'https://github.com/conan-io/conan-center-index'
  10     homepage = "http://www.unixodbc.org"
  11     license = ('LGPL-2.1', 'GPL-2.1')
  12 
  13     settings = 'os', 'compiler', 'build_type', 'arch'
  14     options = {'shared': [True, False], 'fPIC': [True, False], 'with_libiconv': [True, False]}
  15     default_options = {'shared': False, 'fPIC': True, 'with_libiconv': True}
  16     topics = ('odbc', 'database', 'dbms', 'data-access')
  17 
  18     _source_subfolder = 'source_subfolder'
  19 
  20     def configure(self):
  21         del self.settings.compiler.libcxx  # Pure C
  22         del self.settings.compiler.cppstd
  23         if self.settings.os == "Windows":
  24             raise ConanInvalidConfiguration("Windows not supported yet. Please, open an issue if you need such support")
  25 
  26     def requirements(self):
  27         if self.options.with_libiconv:
  28             self.requires("libiconv/1.16")
  29         
  30     def source(self):
  31         tools.get(**self.conan_data["sources"][self.version])
  32         extracted_dir = 'unixODBC-%s' % self.version
  33         os.rename(extracted_dir, self._source_subfolder)
  34 
  35     def build(self):
  36         env_build = AutoToolsBuildEnvironment(self)
  37         static_flag = 'no' if self.options.shared else 'yes'
  38         shared_flag = 'yes' if self.options.shared else 'no'
  39         libiconv_flag = 'yes' if self.options.with_libiconv else 'no'
  40         args = ['--enable-static=%s' % static_flag,
  41                 '--enable-shared=%s' % shared_flag,
  42                 '--enable-ltdl-install',
  43                 '--enable-iconv=%s' % libiconv_flag]
  44         if self.options.with_libiconv:
  45             libiconv_prefix = self.deps_cpp_info["libiconv"].rootpath
  46             args.append('--with-libiconv-prefix=%s' % libiconv_prefix)
  47 
  48         env_build.configure(configure_dir=self._source_subfolder, args=args)
  49         env_build.make()
  50         env_build.install()
  51         tools.rmdir(os.path.join(self.package_folder, "share"))
  52         tools.rmdir(os.path.join(self.package_folder, "etc"))
  53         tools.rmdir(os.path.join(self.package_folder, "lib", "pkgconfig"))
  54         os.remove(os.path.join(self.package_folder, "lib", "libodbc.la"))
  55         os.remove(os.path.join(self.package_folder, "lib", "libodbccr.la"))
  56         os.remove(os.path.join(self.package_folder, "lib", "libodbcinst.la"))
  57         os.remove(os.path.join(self.package_folder, "lib", "libltdl.la"))
  58 
  59     def package(self):
  60         self.copy('COPYING', src=self._source_subfolder, dst="licenses")
  61 
  62     def package_info(self):
  63         self.env_info.path.append(os.path.join(self.package_folder, 'bin'))
  64 
  65         self.cpp_info.libs = ['odbc', 'odbccr', 'odbcinst', 'ltdl']
  66         if self.settings.os == 'Linux':
  67             self.cpp_info.libs.append('dl')
  68
  ```
  --- 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()
  
  ```
  
golden_diff: diff --git a/recipes/odbc/all/conanfile.py b/recipes/odbc/all/conanfile.py
  --- a/recipes/odbc/all/conanfile.py
  +++ b/recipes/odbc/all/conanfile.py
  @@ -60,6 +60,9 @@
           self.copy('COPYING', src=self._source_subfolder, dst="licenses")
   
       def package_info(self):
  +        self.cpp_info.names["cmake_find_package"] = "ODBC"
  +        self.cpp_info.names["cmake_find_package_multi"] = "ODBC"
  +
           self.env_info.path.append(os.path.join(self.package_folder, 'bin'))
   
           self.cpp_info.libs = ['odbc', 'odbccr', 'odbcinst', 'ltdl']
  
verification_info: {"golden_diff": "diff --git a/recipes/odbc/all/conanfile.py b/recipes/odbc/all/conanfile.py\n--- a/recipes/odbc/all/conanfile.py\n+++ b/recipes/odbc/all/conanfile.py\n@@ -60,6 +60,9 @@\n         self.copy('COPYING', src=self._source_subfolder, dst=\"licenses\")\n \n     def package_info(self):\n+        self.cpp_info.names[\"cmake_find_package\"] = \"ODBC\"\n+        self.cpp_info.names[\"cmake_find_package_multi\"] = \"ODBC\"\n+\n         self.env_info.path.append(os.path.join(self.package_folder, 'bin'))\n \n         self.cpp_info.libs = ['odbc', 'odbccr', 'odbcinst', 'ltdl']\n", "issue": "[odbc] CMake module name\nodbc/2.3.7\r\n\r\nAccording to CMake module, it should use capital letters: https://cmake.org/cmake/help/v3.12/module/FindODBC.html\n", "before_files": [{"content": "import os\nfrom conans import ConanFile, AutoToolsBuildEnvironment, tools\nfrom conans.errors import ConanInvalidConfiguration\n\n\nclass OdbcConan(ConanFile):\n    name = 'odbc'\n    description = 'Package providing unixODBC'\n    url = 'https://github.com/conan-io/conan-center-index'\n    homepage = \"http://www.unixodbc.org\"\n    license = ('LGPL-2.1', 'GPL-2.1')\n\n    settings = 'os', 'compiler', 'build_type', 'arch'\n    options = {'shared': [True, False], 'fPIC': [True, False], 'with_libiconv': [True, False]}\n    default_options = {'shared': False, 'fPIC': True, 'with_libiconv': True}\n    topics = ('odbc', 'database', 'dbms', 'data-access')\n\n    _source_subfolder = 'source_subfolder'\n\n    def configure(self):\n        del self.settings.compiler.libcxx  # Pure C\n        del self.settings.compiler.cppstd\n        if self.settings.os == \"Windows\":\n            raise ConanInvalidConfiguration(\"Windows not supported yet. Please, open an issue if you need such support\")\n\n    def requirements(self):\n        if self.options.with_libiconv:\n            self.requires(\"libiconv/1.16\")\n        \n    def source(self):\n        tools.get(**self.conan_data[\"sources\"][self.version])\n        extracted_dir = 'unixODBC-%s' % self.version\n        os.rename(extracted_dir, self._source_subfolder)\n\n    def build(self):\n        env_build = AutoToolsBuildEnvironment(self)\n        static_flag = 'no' if self.options.shared else 'yes'\n        shared_flag = 'yes' if self.options.shared else 'no'\n        libiconv_flag = 'yes' if self.options.with_libiconv else 'no'\n        args = ['--enable-static=%s' % static_flag,\n                '--enable-shared=%s' % shared_flag,\n                '--enable-ltdl-install',\n                '--enable-iconv=%s' % libiconv_flag]\n        if self.options.with_libiconv:\n            libiconv_prefix = self.deps_cpp_info[\"libiconv\"].rootpath\n            args.append('--with-libiconv-prefix=%s' % libiconv_prefix)\n\n        env_build.configure(configure_dir=self._source_subfolder, args=args)\n        env_build.make()\n        env_build.install()\n        tools.rmdir(os.path.join(self.package_folder, \"share\"))\n        tools.rmdir(os.path.join(self.package_folder, \"etc\"))\n        tools.rmdir(os.path.join(self.package_folder, \"lib\", \"pkgconfig\"))\n        os.remove(os.path.join(self.package_folder, \"lib\", \"libodbc.la\"))\n        os.remove(os.path.join(self.package_folder, \"lib\", \"libodbccr.la\"))\n        os.remove(os.path.join(self.package_folder, \"lib\", \"libodbcinst.la\"))\n        os.remove(os.path.join(self.package_folder, \"lib\", \"libltdl.la\"))\n\n    def package(self):\n        self.copy('COPYING', src=self._source_subfolder, dst=\"licenses\")\n\n    def package_info(self):\n        self.env_info.path.append(os.path.join(self.package_folder, 'bin'))\n\n        self.cpp_info.libs = ['odbc', 'odbccr', 'odbcinst', 'ltdl']\n        if self.settings.os == 'Linux':\n            self.cpp_info.libs.append('dl')\n", "path": "recipes/odbc/all/conanfile.py"}], "after_files": [{"content": "import os\nfrom conans import ConanFile, AutoToolsBuildEnvironment, tools\nfrom conans.errors import ConanInvalidConfiguration\n\n\nclass OdbcConan(ConanFile):\n    name = 'odbc'\n    description = 'Package providing unixODBC'\n    url = 'https://github.com/conan-io/conan-center-index'\n    homepage = \"http://www.unixodbc.org\"\n    license = ('LGPL-2.1', 'GPL-2.1')\n\n    settings = 'os', 'compiler', 'build_type', 'arch'\n    options = {'shared': [True, False], 'fPIC': [True, False], 'with_libiconv': [True, False]}\n    default_options = {'shared': False, 'fPIC': True, 'with_libiconv': True}\n    topics = ('odbc', 'database', 'dbms', 'data-access')\n\n    _source_subfolder = 'source_subfolder'\n\n    def configure(self):\n        del self.settings.compiler.libcxx  # Pure C\n        del self.settings.compiler.cppstd\n        if self.settings.os == \"Windows\":\n            raise ConanInvalidConfiguration(\"Windows not supported yet. Please, open an issue if you need such support\")\n\n    def requirements(self):\n        if self.options.with_libiconv:\n            self.requires(\"libiconv/1.16\")\n        \n    def source(self):\n        tools.get(**self.conan_data[\"sources\"][self.version])\n        extracted_dir = 'unixODBC-%s' % self.version\n        os.rename(extracted_dir, self._source_subfolder)\n\n    def build(self):\n        env_build = AutoToolsBuildEnvironment(self)\n        static_flag = 'no' if self.options.shared else 'yes'\n        shared_flag = 'yes' if self.options.shared else 'no'\n        libiconv_flag = 'yes' if self.options.with_libiconv else 'no'\n        args = ['--enable-static=%s' % static_flag,\n                '--enable-shared=%s' % shared_flag,\n                '--enable-ltdl-install',\n                '--enable-iconv=%s' % libiconv_flag]\n        if self.options.with_libiconv:\n            libiconv_prefix = self.deps_cpp_info[\"libiconv\"].rootpath\n            args.append('--with-libiconv-prefix=%s' % libiconv_prefix)\n\n        env_build.configure(configure_dir=self._source_subfolder, args=args)\n        env_build.make()\n        env_build.install()\n        tools.rmdir(os.path.join(self.package_folder, \"share\"))\n        tools.rmdir(os.path.join(self.package_folder, \"etc\"))\n        tools.rmdir(os.path.join(self.package_folder, \"lib\", \"pkgconfig\"))\n        os.remove(os.path.join(self.package_folder, \"lib\", \"libodbc.la\"))\n        os.remove(os.path.join(self.package_folder, \"lib\", \"libodbccr.la\"))\n        os.remove(os.path.join(self.package_folder, \"lib\", \"libodbcinst.la\"))\n        os.remove(os.path.join(self.package_folder, \"lib\", \"libltdl.la\"))\n\n    def package(self):\n        self.copy('COPYING', src=self._source_subfolder, dst=\"licenses\")\n\n    def package_info(self):\n        self.cpp_info.names[\"cmake_find_package\"] = \"ODBC\"\n        self.cpp_info.names[\"cmake_find_package_multi\"] = \"ODBC\"\n\n        self.env_info.path.append(os.path.join(self.package_folder, 'bin'))\n\n        self.cpp_info.libs = ['odbc', 'odbccr', 'odbcinst', 'ltdl']\n        if self.settings.os == 'Linux':\n            self.cpp_info.libs.append('dl')\n", "path": "recipes/odbc/all/conanfile.py"}]}