From d12bc3121a8f2aa26e96aa56e5209481d643425e Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Wed, 19 Jan 2022 05:33:08 -0600 Subject: [PATCH] py-pyodbc: remove install_options (#28454) --- var/spack/repos/builtin/packages/py-pyodbc/package.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-pyodbc/package.py b/var/spack/repos/builtin/packages/py-pyodbc/package.py index 71eeeeff0b..1d9d509f14 100644 --- a/var/spack/repos/builtin/packages/py-pyodbc/package.py +++ b/var/spack/repos/builtin/packages/py-pyodbc/package.py @@ -16,9 +16,6 @@ class PyPyodbc(PythonPackage): version('4.0.26', sha256='e52700b5d24a846483b5ab80acd9153f8e593999c9184ffea11596288fb33de3') - depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) + depends_on('python@2.7:2.8,3.4:', type=('build', 'link', 'run')) depends_on('py-setuptools', type='build') - depends_on('unixodbc', type=('build', 'run')) - - def install_options(self, spec, prefix): - return ['--rpath=%s' % spec['unixodbc'].prefix.lib] + depends_on('unixodbc')