[rubygem-pango/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:48:15 UTC 2012


commit b96f1dad43d0d7a55a671bcc2b6f053b86abc0a3
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Tue Apr 3 09:47:48 2012 +0200

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

 rubygem-pango.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-pango.spec b/rubygem-pango.spec
index 1663998..b3a10f5 100644
--- a/rubygem-pango.spec
+++ b/rubygem-pango.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 pango-1.x
 Name:		rubygem-%{gem_name}
 Version:	1.1.2
-Release:	4%{?dist}
+Release:	5%{?dist}
 Group:		Development/Languages
 # from README
 License:	LGPLv2
@@ -283,6 +283,9 @@ ruby -Ilib:test ./test/run-test.rb
 %{gem_instdir}/test/
 
 %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-4
 - Add proper Obsoletes/Provides
 


More information about the scm-commits mailing list