commit d290a3d331ddf8150ea3a2bc75137ad392c1b180
Author: Vincent Batts <vbatts(a)redhat.com>
Date: Tue Nov 26 16:02:22 2013 -0500
messed up the rpmspec conditional
golang.spec | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/golang.spec b/golang.spec
index b5d46b5..15a318e 100644
--- a/golang.spec
+++ b/golang.spec
@@ -42,7 +42,7 @@ BuildRequires: /bin/hostname
BuildRequires: emacs
# xemacs on fedora only
-%if 0%{?fedora} >= 0
+%if 0%{?fedora}
BuildRequires: xemacs xemacs-packages-extra
%endif
@@ -93,7 +93,7 @@ Summary: The Go Programming Language documentation tool
%package vim
Summary: Vim plugins for Go
# xemacs on fedora only
-%if 0%{?fedora} >= 0
+%if 0%{?fedora}
Requires: vim-filesystem
%endif
BuildArch: noarch
@@ -112,7 +112,7 @@ BuildArch: noarch
# xemacs on fedora only
-%if 0%{?fedora} >= 0
+%if 0%{?fedora}
%package -n xemacs-%{name}
Summary: XEmacs add-on package for Go
Requires: xemacs(bin) >= %{_xemacs_version}
@@ -181,7 +181,7 @@ cd ..
cd misc
mv emacs/go-mode-load.el emacs/%{name}-init.el
# xemacs on fedora only
-%if 0%{?fedora} >= 0
+%if 0%{?fedora}
cp -av emacs xemacs
%{_xemacs_bytecompile} xemacs/go-mode.el
%endif
@@ -236,7 +236,7 @@ cp -av misc/emacs/go-mode.*
$RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{name}
cp -av misc/emacs/%{name}-init.el $RPM_BUILD_ROOT%{_emacs_sitestartdir}
# xemacs on fedora only
-%if 0%{?fedora} >= 0
+%if 0%{?fedora}
# misc/xemacs
mkdir -p $RPM_BUILD_ROOT%{_xemacs_sitelispdir}/%{name}
mkdir -p $RPM_BUILD_ROOT%{_xemacs_sitestartdir}
@@ -298,7 +298,7 @@ cp -av %{SOURCE101}
$RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d/golang.conf
# xemacs on fedora only
-%if 0%{?fedora} >= 0
+%if 0%{?fedora}
%files -n xemacs-%{name}
%doc AUTHORS CONTRIBUTORS LICENSE PATENTS
%{_xemacs_sitelispdir}/%{name}
Show replies by date