[qt3] add rhel condition

Than Ngo than at fedoraproject.org
Wed Apr 18 13:40:48 UTC 2012


commit 50127778827dfd9d3762c986a4bea4dba03349e0
Author: Than Ngo <than at redhat.com>
Date:   Wed Apr 18 15:40:21 2012 +0200

    add rhel condition

 qt3.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/qt3.spec b/qt3.spec
index bef7e14..171e0fc 100644
--- a/qt3.spec
+++ b/qt3.spec
@@ -3,7 +3,7 @@
 Name: qt3
 Summary: The shared library for the Qt 3 GUI toolkit
 Version: 3.3.8b
-Release: 41%{?dist}
+Release: 42%{?dist}
 License: QPL or GPLv2 or GPLv3
 Group: System Environment/Libraries
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -303,7 +303,7 @@ sed -i.KDE3_PLUGIN_PATH \
 %patch43 -p1 -b .system-sqlite2
 %patch44 -p1 -b .qimage-parentheses
 %patch45 -p1 -b .system-zlib-header
-%if 0%{?fedora} > 16
+%if 0%{?fedora} > 16 || 0%{?rhel} > 6
 # This patch works ONLY with libpng >= 1.5.
 %patch46 -p0 -b .libpng15
 %endif
@@ -620,6 +620,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Wed Apr 18 2012 Than Ngo <than at redhat.com> - 3.3.8b-42
+- add rhel condition
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.3.8b-41
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list