Remove useless rule

The version_equivalent fact was deleted in #36347,
but the corresponding rule was not removed.
This commit is contained in:
Massimiliano Culpo 2023-06-14 16:27:16 +02:00 committed by Todd Gamblin
parent 6ad0dc3722
commit a53cc93016

View File

@ -82,11 +82,6 @@ facts(Package, version_declared(Version, Weight)) :- facts(Package, version_decl
% versions are declared w/priority -- declared with priority implies declared % versions are declared w/priority -- declared with priority implies declared
facts(Package, version_declared(Version)) :- facts(Package, version_declared(Version, _)). facts(Package, version_declared(Version)) :- facts(Package, version_declared(Version, _)).
% a spec with a git hash version is equivalent to one with the same matched version
version_satisfies(Package, Constraint, HashVersion) :- version_satisfies(Package, Constraint, EquivalentVersion),
version_equivalent(Package, HashVersion, EquivalentVersion).
#defined version_equivalent/3.
% If something is a package, it has only one version and that must be a % If something is a package, it has only one version and that must be a
% declared version. % declared version.
% We allow clingo to choose any version(s), and infer an error if there % We allow clingo to choose any version(s), and infer an error if there