]> granicus.if.org Git - graphviz/commitdiff
make a -lang-go rpm
authorJohn Ellson <ellson@research.att.com>
Tue, 19 Nov 2013 02:23:04 +0000 (21:23 -0500)
committerJohn Ellson <ellson@research.att.com>
Tue, 19 Nov 2013 02:23:04 +0000 (21:23 -0500)
graphviz.spec.in

index a3a3b0b02b862665259ab87ecae81536ca579c16..d1166b9bb54246cad859eac373036cf69653af68 100644 (file)
@@ -162,7 +162,7 @@ BuildRequires: R-devel swig >= 1.3.33 perl-libs
 BuildRequires: libwebp-devel
 %endif
 %if %fedora >= 20
-%define GO 1
+%define GOLANG 1
 BuildRequires: golang
 %endif
 %endif
@@ -533,7 +533,7 @@ C# extension for graphviz.
 %endif
 
 #-- graphviz-lang-go rpm --------------------------------------------
-%if 0%{?GO}
+%if 0%{?GOLANG}
 %package lang-go
 Group:          Applications/Multimedia
 Summary:        GO extension for graphviz
@@ -547,7 +547,7 @@ Guile extension for graphviz.
 %defattr(-,root,root,-)
 %dir %{_libdir}/graphviz/go
 %{_libdir}/graphviz/go/*
-%{_mandir}/man3/*.3.guile.*
+%{_mandir}/man3/*.3go.*
 %endif
 
 #-- graphviz-lang-guile rpm --------------------------------------------
@@ -862,7 +862,7 @@ CFLAGS="$RPM_OPT_FLAGS" \
         --disable-static \
         --disable-dependency-tracking \
         --enable-sharp%{!?SHARP:=no} \
-        --enable-go%{!?GO:=no} \
+        --enable-go%{!?GOLANG:=no} \
         --enable-guile%{!?GUILE:=no} \
         --enable-io%{!?_IO:=no} \
         --enable-java%{!?JAVA:=no} \