[rubygem-mail/f15: 5/8] Conditional build for older Fedoras.
Vít Ondruch
vondruch at fedoraproject.org
Wed May 9 15:25:23 UTC 2012
commit 019a514a827737addfe3c57b52538ef9c5126b0d
Author: Vít Ondruch <vondruch at redhat.com>
Date: Wed May 9 17:17:12 2012 +0200
Conditional build for older Fedoras.
rubygem-mail.spec | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/rubygem-mail.spec b/rubygem-mail.spec
index 1d44ff7..0a3e232 100644
--- a/rubygem-mail.spec
+++ b/rubygem-mail.spec
@@ -1,6 +1,11 @@
# Generated from mail-2.3.0.gem by gem2rpm -*- rpm-spec -*-
%global gem_name mail
+
+%if %{fedora} < 17
+%global rubyabi 1.8
+%else
%global rubyabi 1.9.1
+%endif
Summary: Mail provides a nice Ruby DSL for making, sending and reading emails
Name: rubygem-%{gem_name}
More information about the scm-commits
mailing list