Skip to content

Commit

Permalink
use version range for xz_utils, zstd, meson & pkgconf + bump versions…
Browse files Browse the repository at this point in the history
… of libcap & lz4
  • Loading branch information
SpaceIm committed Sep 11, 2024
1 parent 1266024 commit 7e8b33b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions recipes/libsystemd/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,17 @@ def _compilers_minimum_version(self):
}

def requirements(self):
self.requires("libcap/2.69")
self.requires("libcap/2.70")
self.requires("libmount/2.39.2")
self.requires("libxcrypt/4.4.36")
if self.options.with_selinux:
self.requires("libselinux/3.6")
if self.options.with_lz4:
self.requires("lz4/1.9.4")
self.requires("lz4/1.10.0")
if self.options.with_xz:
self.requires("xz_utils/5.4.5")
self.requires("xz_utils/[>=5.4.5 <6]")
if self.options.with_zstd:
self.requires("zstd/1.5.5")
self.requires("zstd/[>=1.5 <1.6]")

def validate(self):
if self.settings.os != "Linux":
Expand All @@ -82,11 +82,11 @@ def validate(self):
)

def build_requirements(self):
self.tool_requires("meson/1.4.0")
self.tool_requires("meson/[>=1.2.3 <2]")
self.tool_requires("m4/1.4.19")
self.tool_requires("gperf/3.1")
if not self.conf.get("tools.gnu:pkg_config", check_type=str):
self.tool_requires("pkgconf/2.1.0")
self.tool_requires("pkgconf/[>=2.2 <3]")

def source(self):
# Extract using standard Python tools due to Conan's unzip() not handling backslashes in
Expand Down

0 comments on commit 7e8b33b

Please sign in to comment.