diff --git a/unetbootin.spec b/unetbootin.spec index 962a5f6..330f476 100644 --- a/unetbootin.spec +++ b/unetbootin.spec @@ -2,7 +2,7 @@ Name: unetbootin Version: 0 -Release: 3.%{rel}bzr%{?dist} +Release: 4.%{rel}bzr%{?dist} Summary: Create bootable Live USB drives for a variety of Linux distributions Group: System Environment/Base License: GPLv2+ @@ -37,16 +37,18 @@ sed -i '/\[en_US\]/d' unetbootin.desktop 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 +# Generate .qm files +%{_libdir}/qt4/bin/lrelease unetbootin.pro +%{_libdir}/qt4/bin/qmake %else +# Generate .qm files lrelease-qt4 unetbootin.pro +qmake-qt4 %endif -qmake-qt4 make %{?_smp_mflags} %install @@ -69,6 +71,9 @@ rm -rf %{buildroot} %{_datadir}/applications/unetbootin.desktop %changelog +* Fri Jul 10 2009 Jussi Lehtola - 0-4.356bzr +- Fix EPEL build. + * Fri Jul 10 2009 Jussi Lehtola - 0-3.356bzr - Added localizations.