diff --git a/debian/control b/debian/control index 38d84f96..d5bbdbad 100644 --- a/debian/control +++ b/debian/control @@ -168,7 +168,8 @@ Description: Clang library - Development package Package: libclang-common-16-dev Architecture: all Section: libdevel -Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm16 (= ${binary:Version}) +Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm16 (>= ${source:Version}), + libllvm16 (<< ${source:Version}.1~) Recommends: libclang-rt-16-dev (>= 1:16~++20230115053056+df5fc4504b86-1~exp1) Description: Clang library - Common development package Clang project is a C, C++, Objective C and Objective C++ front-end diff --git a/debian/control.in b/debian/control.in index fc77f1d1..f56d6196 100644 --- a/debian/control.in +++ b/debian/control.in @@ -168,7 +168,8 @@ Description: Clang library - Development package Package: libclang-common-@LLVM_VERSION@-dev Architecture: all Section: libdevel -Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm@LLVM_VERSION@ (= ${binary:Version}) +Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm@LLVM_VERSION@ (>= ${source:Version}), + libllvm@LLVM_VERSION@ (<< ${source:Version}.1~) Recommends: libclang-rt-@LLVM_VERSION@-dev (>= 1:16~++20230115053056+df5fc4504b86-1~exp1) Description: Clang library - Common development package Clang project is a C, C++, Objective C and Objective C++ front-end