[rubygem-atk/f17: 1/2] Fix conditionals for F17 to work for RHEL 7 as well.

Vít Ondruch vondruch at fedoraproject.org
Tue Apr 3 07:27:48 UTC 2012


commit 3b2d83b446e532c1facd377670993883612a185c
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Tue Apr 3 09:27:12 2012 +0200

    Fix conditionals for F17 to work for RHEL 7 as well.

 rubygem-atk.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-atk.spec b/rubygem-atk.spec
index 53eece0..d56dfb1 100644
--- a/rubygem-atk.spec
+++ b/rubygem-atk.spec
@@ -1,4 +1,4 @@
-%if 0%{?fedora} >= 17
+%if %{?fedora:0%{fedora} >= 17}%{?rhel:0%{rhel} >= 7}
 %global	rubyabi	1.9.1
 %global	header_dir	%{ruby_vendorarchdir}
 %global	ruby19	1
@@ -20,7 +20,7 @@
 Summary:	Ruby binding of ATK-1.0.x
 Name:		rubygem-%{gem_name}
 Version:	1.1.2
-Release:	3%{?dist}
+Release:	4%{?dist}
 Group:		Development/Languages
 # from README
 License:	LGPLv2
@@ -252,6 +252,9 @@ create_symlink_rec %{gem_instdir}/lib %{ruby_sitelib}
 %{gem_instdir}/Rakefile
 
 %changelog
+* Tue Apr 03 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 1.1.2-4
+- Fix conditionals for F17 to work for RHEL 7 as well.
+
 * Wed Feb  1 2012 Mamoru Tasaka <mtasaka at fedoraproject.org> - 1.1.2-3
 - Add proper Obsoletes/Provides
 


More information about the scm-commits mailing list