workaround Qt5Designer.pc reference to non-existent Qt5UiPlugin.pc

This commit is contained in:
Rex Dieter 2016-02-19 09:53:56 -06:00
parent b0f07d241c
commit 63b6ed1b07
1 changed files with 11 additions and 1 deletions

View File

@ -20,7 +20,7 @@
Summary: Qt5 - QtTool components
Name: qt5-qttools
Version: 5.6.0
Release: 0.10.%{prerelease}%{?dist}
Release: 0.11.%{prerelease}%{?dist}
License: LGPLv3 or LGPLv2
Url: http://www.qt.io
@ -276,9 +276,16 @@ for prl_file in libQt5*.prl ; do
done
popd
## Qt5Designer.pc references non-existent Qt5UiPlugin.pc, remove the reference for now
sed -i.Qt5UiPlugin -e 's|Qt5UiPlugin||g' %{buildroot}%{_qt5_libdir}/pkgconfig/Qt5Designer.pc
## work-in-progress... -- rex
%if 0%{?fedora} || 0%{?rhel} > 6
%check
# verify validity of Qt5Designer.pc
export PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig
pkg-config --print-requires --print-requires-private Qt5Designer
export CMAKE_PREFIX_PATH=%{buildroot}%{_qt5_prefix}:%{buildroot}%{_prefix}
export PATH=%{buildroot}%{_qt5_bindir}:%{_qt5_bindir}:$PATH
export LD_LIBRARY_PATH=%{buildroot}%{_qt5_libdir}
@ -496,6 +503,9 @@ fi
%changelog
* Fri Feb 19 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.11.rc
- workaround Qt5Designer.pc reference to non-existent Qt5UiPlugin.pc
* Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.10
- Update RC release