Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kmod: use version range for zstd, xz_utils & pkgconf #25232

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions recipes/kmod/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ def layout(self):

def requirements(self):
if self.options.with_zstd:
self.requires("zstd/1.5.5")
self.requires("zstd/[>=1.5 <1.6]")
if self.options.with_xz:
self.requires("xz_utils/5.4.4")
self.requires("xz_utils/[>=5.4.5 <6]")
if self.options.with_zlib:
self.requires("zlib/[>=1.2.11 <2]")
if self.options.with_openssl:
Expand All @@ -59,7 +59,7 @@ def validate(self):

def build_requirements(self):
if not self.conf.get("tools.gnu:pkg_config", check_type=str):
self.tool_requires("pkgconf/2.0.3")
self.tool_requires("pkgconf/[>=2.2 <3]")

def source(self):
get(self, **self.conan_data["sources"][self.version], strip_root=True)
Expand Down
Loading