From 624ecec5d1d5345432126b4a9850d185f9c4a0a6 Mon Sep 17 00:00:00 2001 From: Jeffrey Wildman Date: Sat, 24 Feb 2018 21:00:27 -0500 Subject: [PATCH] Minor updates to satisfy brew audit --- spice-gtk.rb | 12 +++++------- virt-manager.rb | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/spice-gtk.rb b/spice-gtk.rb index 75a48a4..f2aa294 100644 --- a/spice-gtk.rb +++ b/spice-gtk.rb @@ -4,6 +4,9 @@ class SpiceGtk < Formula url "https://www.spice-space.org/download/gtk/spice-gtk-0.34.tar.bz2" sha256 "e9720e01165f8451c9f3f58ad50e3afb990993b81cc2db86b3661b7ac5b976ee" + depends_on "autoconf" => :build + depends_on "autogen" => :build + depends_on "automake" => :build depends_on "gobject-introspection" => :build depends_on "intltool" => :build depends_on "libtool" => :build @@ -31,17 +34,12 @@ class SpiceGtk < Formula depends_on "gst-plugins-bad" depends_on "gst-plugins-ugly" - # need autogen to regen after patching the build - depends_on "autogen" - depends_on "automake" - depends_on "autoconf" - # compile vncdisplaykeymap.c as objc to fix include issue patch :DATA def install - ENV['CFLAGS'] = "-Wno-cast-align -Wno-error" - ENV['XML_CATALOG_FILES'] = "/usr/local/etc/xml/catalog" + ENV["CFLAGS"] = "-Wno-cast-align -Wno-error" + ENV["XML_CATALOG_FILES"] = "/usr/local/etc/xml/catalog" mv "src/vncdisplaykeymap.c", "src/vncdisplaykeymap.m" diff --git a/virt-manager.rb b/virt-manager.rb index 1d219a0..ab38be0 100644 --- a/virt-manager.rb +++ b/virt-manager.rb @@ -95,7 +95,7 @@ class VirtManager < Formula end test do - system "virt-manager" "--version" + system "#{bin}/virt-manager", "--version" end end __END__