From a7d528a5a86f71f3c29f8e9fc44a9ba5ae6cce58 Mon Sep 17 00:00:00 2001 From: Jussi Lehtola Date: Jul 10 2009 19:22:44 +0000 Subject: Fix EPEL build. --- diff --git a/unetbootin.spec b/unetbootin.spec index d9b4dc8..962a5f6 100644 --- a/unetbootin.spec +++ b/unetbootin.spec @@ -38,7 +38,13 @@ sed -i 's|/usr/bin/unetbootin|unetbootin|g' unetbootin.desktop %build # Generate .qm files + +# Ugh, there's no macro for running lrelease and on RHEL the default is qt-3.3 +%if 0%{?rhel} == 5 +%{_libdir}/qt4/bin/lrelease +%else lrelease-qt4 unetbootin.pro +%endif qmake-qt4 make %{?_smp_mflags}