]> granicus.if.org Git - graphviz/commitdiff
add code snippet for easy application of patches
authorJohn Ellson <ellson@research.att.com>
Wed, 7 Sep 2011 16:04:10 +0000 (12:04 -0400)
committerJohn Ellson <ellson@research.att.com>
Wed, 7 Sep 2011 16:04:10 +0000 (12:04 -0400)
graphviz.spec.in

index 8b557fc0f80ca6d628c68724025a90a37bd3b0a1..3ca24ab3f37b52b76d039d31a1bc2e9582896638 100644 (file)
@@ -572,6 +572,9 @@ Provides some additional PDF and HTML documentation for graphviz.
 #-- building --------------------------------------------------
 
 %prep
+for p in %{patches}; do
+     patch -p1 < ${p} || exit 1
+done
 %setup -q
 
 %build