qt tools don't work in fedora/opensuse - typo; refs #40

This commit is contained in:
Marc Wäckerlin
2014-05-20 13:41:14 +00:00
parent 3dc73a5e94
commit 1ee683812c

View File

@@ -23,7 +23,7 @@ This package contains only the shared libraries required at runtime.
%prep
%setup -q
function checkqt() {
which /usr/bin/$1 || /usr/bin/$1-qt5 || /usr/bin/$1-qt4
( which /usr/bin/$1 || which /usr/bin/$1-qt5 || which /usr/bin/$1-qt4 ) 2>/dev/null
}
MOC="$(checkqt moc)" UIC="$(checkqt uic)" RCC="$(checkqt rcc)" \
LUPDATE="$(checkqt lupdate)" LRELEASE="$(checkqt lrelease)" \