I'm working on elpa-lsp-mode. It requires emacs 25. When I try the package on my Debian stable, it fails byte-compilation for emacs 24. After removing emacs 24 it installs just fine with only emacs 25 installed.
Is there a way to specify that a package should only be installed for a subset of the installed emacsen on a system?