diff --git a/recipes/cn-cbor/all/conandata.yml b/recipes/cn-cbor/all/conandata.yml index 43cbeb75a8d40..36c49a5492539 100644 --- a/recipes/cn-cbor/all/conandata.yml +++ b/recipes/cn-cbor/all/conandata.yml @@ -1,4 +1,5 @@ sources: - "20200409": - sha256: 5a5c827177bf5f1bd3b667630eacd02f363e726dfcdd4c49094f594f3bcb82d8 - url: https://github.com/jimsch/cn-cbor/archive/ff195453c9d62f0a30f2d64436c2d614a2278ba7.zip + "1.0.0": + sha256: eca2bcc15b8400037fd95748724287afbb966e34d4d0275a496b4872bcea9d77 + url: https://github.com/jimsch/cn-cbor/archive/1.0.0.zip + diff --git a/recipes/cn-cbor/all/conanfile.py b/recipes/cn-cbor/all/conanfile.py index c59fec620d1e9..ffb0e3a88f745 100644 --- a/recipes/cn-cbor/all/conanfile.py +++ b/recipes/cn-cbor/all/conanfile.py @@ -45,7 +45,7 @@ def configure(self): def source(self): tools.get(**self.conan_data["sources"][self.version]) - extracted_dir = self.name + "-" + os.path.basename(self.conan_data["sources"][self.version]["url"]).split(".")[0] + extracted_dir = self.name + "-" + self.version os.rename(extracted_dir, self._source_subfolder) def _configure_cmake(self): diff --git a/recipes/cn-cbor/config.yml b/recipes/cn-cbor/config.yml index 082057a674ff4..8f50af2b049ed 100644 --- a/recipes/cn-cbor/config.yml +++ b/recipes/cn-cbor/config.yml @@ -1,4 +1,4 @@ --- versions: - "20200409": + "1.0.0": folder: "all"