#388 Enable network for URL checks when running rpmlint on binary rpms.
Merged 4 years ago by churchyard. Opened 4 years ago by jjames.
jjames/FedoraReview master  into  master

file modified
+2 -2
@@ -550,9 +550,9 @@ 

          names = [r.rsplit("-", 2)[0] for r in basenames]

          rpm_names = " ".join(list(set(names)))

  

-         config = ""

+         config = "--enable-network"

          if Settings.mock_config:

-             config = "-r " + Settings.mock_config

+             config += " -r " + Settings.mock_config

          script = script.replace("@config@", config)

          script = script.replace("@rpm_names@", rpm_names)

          ok, output = _run_script(script)

Currently, the URL checks always fail due to the absence of a network.

Pull-Request has been merged by churchyard

4 years ago
Metadata