diff --git a/rules/libbz2.json b/rules/libbz2.json new file mode 100644 index 0000000..cd74d8c --- /dev/null +++ b/rules/libbz2.json @@ -0,0 +1,61 @@ +{ + "patterns": ["\\blibbz2\\b"], + "dependencies": [ + { + "packages": ["libbz2-dev"], + "constraints": [ + { + "os": "linux", + "distribution": "ubuntu" + }, + { + "os": "linux", + "distribution": "debian" + } + ] + }, + { + "packages": ["bzip2-devel"], + "constraints": [ + { + "os": "linux", + "distribution": "centos" + }, + { + "os": "linux", + "distribution": "rockylinux" + }, + { + "os": "linux", + "distribution": "redhat" + }, + { + "os": "linux", + "distribution": "fedora" + } + ] + }, + { + "packages": ["libbz2-devel"], + "constraints": [ + { + "os": "linux", + "distribution": "opensuse" + }, + { + "os": "linux", + "distribution": "sle" + } + ] + }, + { + "packages": ["bzip2-dev"], + "constraints": [ + { + "os": "linux", + "distribution": "alpine" + } + ] + } + ] + } diff --git a/rules/liblzma.json b/rules/liblzma.json new file mode 100644 index 0000000..d44f025 --- /dev/null +++ b/rules/liblzma.json @@ -0,0 +1,61 @@ +{ + "patterns": ["\\bliblzma\\b"], + "dependencies": [ + { + "packages": ["liblzma-dev"], + "constraints": [ + { + "os": "linux", + "distribution": "ubuntu" + }, + { + "os": "linux", + "distribution": "debian" + } + ] + }, + { + "packages": ["xz-devel"], + "constraints": [ + { + "os": "linux", + "distribution": "centos" + }, + { + "os": "linux", + "distribution": "rockylinux" + }, + { + "os": "linux", + "distribution": "redhat" + }, + { + "os": "linux", + "distribution": "fedora" + } + ] + }, + { + "packages": ["xz-devel"], + "constraints": [ + { + "os": "linux", + "distribution": "opensuse" + }, + { + "os": "linux", + "distribution": "sle" + } + ] + }, + { + "packages": ["xz-dev"], + "constraints": [ + { + "os": "linux", + "distribution": "alpine" + } + ] + } + ] + }