Julian Cowley
2008-07-09 22:06:35 UTC
Hello,
I have a question about how to get Require to require a package in a
certain branch rather than a specific version.
Can I require that a package start with a certain version, but be any
version within that branch? For instance, I want to require version 1.1
and let 1.1, 1.1.0, 1.1.1 satisfy the requirement (but not 1.2, say).
Is this possible?
I know that you can specify a version number in a Require header using '='
(e.g., "Require: package = 1.1"), but this specifies an *exact* version
number. I also know you can use any version at or after a certain version
using '>=', but that means 1.2 from the previous example also works, and I
don't want that.
I have a question about how to get Require to require a package in a
certain branch rather than a specific version.
Can I require that a package start with a certain version, but be any
version within that branch? For instance, I want to require version 1.1
and let 1.1, 1.1.0, 1.1.1 satisfy the requirement (but not 1.2, say).
Is this possible?
I know that you can specify a version number in a Require header using '='
(e.g., "Require: package = 1.1"), but this specifies an *exact* version
number. I also know you can use any version at or after a certain version
using '>=', but that means 1.2 from the previous example also works, and I
don't want that.