在一个 `debian/control` 文件中,我如何指定对一个软件包的依赖关系,要求该软件包的版本介于两个特定版本之间?
例如:对于 python 软件包,要求版本在 2.5 或更高但低于 2.7。
版本号是什么?
例如:对于 python 软件包,要求版本在 2.5 或更高但低于 2.7。
Depends: python ($VERSION_STRING)
版本号是什么?
Depends: python ($VERSION_STRING)
>> Greater than, but not equal to
>= Greater than or equal to
=
<=
<<
<
和>
,意思是<=
和>=
也可以使用,但它们已经过时了)Depends: python (>= 2.5), python (<< 2.7)
Depends: python (>= 2.5), python (<< 2.7)