[redland-bindings/f13/master] downgrade patches
Thomas Vander Stichele
thomasvs at fedoraproject.org
Fri Mar 4 19:35:47 UTC 2011
commit a5bb9bdfaa28258b18a4e4d1bb99573dcc3a98ec
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Fri Mar 4 20:35:36 2011 +0100
downgrade patches
redland-bindings.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/redland-bindings.spec b/redland-bindings.spec
index af3415f..21f2527 100644
--- a/redland-bindings.spec
+++ b/redland-bindings.spec
@@ -17,7 +17,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%{expand:%%define rhelrel %(test -e /etc/redhat-release -a ! -e /etc/fedora-release && perl -p -e 's@\D+([0-9\.]+)\D+@$1@' /etc/redhat-release || echo 0)}
%{expand:%%define rhel %(expr %{rhelrel} \> 0)}
-%{expand:%%define atmostrhel5 %(if [ %{rhelrel} -le 5 ]; then echo 1; else echo 0; fi)}
+%{expand:%%define atmostrhel5 %(if [ %{rhelrel} -le 5 -a %{rhelrel} -gt 0 ]; then echo 1; else echo 0; fi)}
More information about the scm-commits
mailing list