[rubygem-gtk2/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:43:28 UTC 2012
commit f2f0efe8aa06b61e921115a1cd8e75dbe3fa911a
Author: Vít Ondruch <vondruch at redhat.com>
Date: Tue Apr 3 09:42:56 2012 +0200
Fix conditionals for F17 to work for RHEL 7 as well.
rubygem-gtk2.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-gtk2.spec b/rubygem-gtk2.spec
index 09b7e14..fda5118 100644
--- a/rubygem-gtk2.spec
+++ b/rubygem-gtk2.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 GTK+-2.x
Name: rubygem-%{gem_name}
Version: 1.1.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Group: Development/Languages
# from README
License: LGPLv2
@@ -292,6 +292,9 @@ ruby -Itest ./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-3
- Add proper Obsoletes/Provides
More information about the scm-commits
mailing list