Adding some fixes to packages that use configure_args function without setting spec set or directly referencing it (#2868)

* Adding 'self.' to the spec call for configure_args

* Updating this to set spec to self.spec

* More updates to the configure_args spec calls

* Another spec issue

* Another spec issue.

* And another spec issue

* Switching cmor back to self.spec.
This commit is contained in:
Quinn
2017-01-19 08:26:39 -06:00
committed by Todd Gamblin
parent 4dad5aab84
commit f511f7b558
4 changed files with 4 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ class Libcerf(AutotoolsPackage):
version('1.3', 'b3504c467204df71e62aeccf73a25612')
def configure_args(self):
spec = self.spec
options = []
# Clang reports unused functions as errors, see
# http://clang.debian.net/status.php?version=3.8.1&key=UNUSED_FUNCTION