]> granicus.if.org Git - graphviz/commitdiff
Seems that "BuildArch: noarch" only works on Fedora 10 or later.
authorellson <devnull@localhost>
Sun, 15 Feb 2009 22:37:47 +0000 (22:37 +0000)
committerellson <devnull@localhost>
Sun, 15 Feb 2009 22:37:47 +0000 (22:37 +0000)
graphviz.spec.in

index 8854366f45c19eebc1e352d08aabc544307d14a0..6b0eaeba4f7ac44cfefb951c7e5d204c2b3725ab 100644 (file)
@@ -635,7 +635,12 @@ This package contains development files for graphviz.
 %package graphs
 Group:          Applications/Multimedia
 Summary:        Demo graphs for graphviz
+
+%if 0%{fedora?}
+%if %fedora >= 10
 BuildArch: noarch
+%endif
+%endif
 
 %description graphs
 Some demo graphs for graphviz.
@@ -649,7 +654,12 @@ Some demo graphs for graphviz.
 %package doc
 Group:          Documentation
 Summary:        PDF and HTML documents for graphviz
+
+%if 0%{fedora?}
+%if %fedora >= 10
 BuildArch: noarch
+%endif
+%endif
 
 %description doc
 Provides some additional PDF and HTML documentation for graphviz.