[rubygem-gdk_pixbuf2/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:29:36 UTC 2012


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

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

 rubygem-gdk_pixbuf2.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-gdk_pixbuf2.spec b/rubygem-gdk_pixbuf2.spec
index e5045c0..6b87d0b 100644
--- a/rubygem-gdk_pixbuf2.spec
+++ b/rubygem-gdk_pixbuf2.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
@@ -19,7 +19,7 @@
 Summary:	Ruby binding of GdkPixbuf-2.x
 Name:		rubygem-%{gem_name}
 Version:	1.1.2
-Release:	3%{?dist}
+Release:	4%{?dist}
 Group:		Development/Languages
 # from README
 License:	LGPLv2
@@ -263,6 +263,9 @@ create_symlink_rec %{gem_instdir}/lib %{ruby_sitelib}
 %{gem_instdir}/sample/
 
 %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