From bf46382876fbecce0e6fa6025b59d0a93b18ce58 Mon Sep 17 00:00:00 2001 From: William Douglas Date: Sat, 25 Apr 2020 20:28:22 -0700 Subject: [PATCH] Requirements: Properly initialize the class The pypi_provides memeber wasn't being set on initialization causing an error when processing the specfile in some cases. Fixes #625. --- autospec/buildreq.py | 1 + 1 file changed, 1 insertion(+) diff --git a/autospec/buildreq.py b/autospec/buildreq.py index 3c7760fc..c97c5186 100644 --- a/autospec/buildreq.py +++ b/autospec/buildreq.py @@ -284,6 +284,7 @@ def __init__(self, url): self.extra_cmake_openmpi = set() self.verbose = False self.cargo_bin = False + self.pypi_provides = None self.banned_buildreqs = set(["llvm-devel", "gcj", "pkgconfig(dnl)",