[ikiwiki] Use %{python_version} only if defined.
Thomas Moschny
thm at fedoraproject.org
Sat Jul 23 12:08:58 UTC 2011
commit 0f8f3261c32d11adc0931b5c0a944369ab6a577e
Author: Thomas Moschny <thm at fedoraproject.org>
Date: Sat Jul 23 14:07:51 2011 +0200
Use %{python_version} only if defined.
ikiwiki.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/ikiwiki.spec b/ikiwiki.spec
index a09225a..94852ae 100644
--- a/ikiwiki.spec
+++ b/ikiwiki.spec
@@ -38,7 +38,7 @@ Requires: perl(CGI::FormBuilder)
Requires: perl(CGI::Session)
Requires: perl(Digest::SHA1)
-Requires: python(abi) = %{python_version}
+Requires: python(abi)%{?python_version: = %{python_version}}
Requires: python-docutils
%global cgi_bin %{_libexecdir}/w3m/cgi-bin
More information about the scm-commits
mailing list