[ikiwiki] %{python_version} is defined but empty at srpm build time.
Thomas Moschny
thm at fedoraproject.org
Sat Jul 23 14:30:43 UTC 2011
commit 7558b32f5e19caf78c08088594c8a8fe11e2e402
Author: Thomas Moschny <thm at fedoraproject.org>
Date: Sat Jul 23 16:30:03 2011 +0200
%{python_version} is defined but empty at srpm build time.
ikiwiki.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/ikiwiki.spec b/ikiwiki.spec
index 94852ae..ce33059 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: = %{python_version}}
+Requires: python(abi) %(%{__python} -c "import sys ; print \"=\", sys.version[:3]")
Requires: python-docutils
%global cgi_bin %{_libexecdir}/w3m/cgi-bin
More information about the scm-commits
mailing list