meh, this pkg is noarch

so need to limit ourselves to using noarch paths (for now)
This commit is contained in:
Rex Dieter 2018-01-24 15:11:05 -06:00
parent d9172949ad
commit 7ec860b60a

View File

@ -97,12 +97,10 @@ Summary: RPM macros for source Qt5 packages
%install
install -Dpm644 %{SOURCE0} %{buildroot}%{_rpmconfigdir}/macros.d/macros.qt5
install -Dpm644 %{SOURCE1} %{buildroot}%{_rpmconfigdir}/macros.d/macros.qt5-srpm
install -Dpm755 %{SOURCE2} %{buildroot}%{_libdir}/qt5/bin/qmake-qt5.sh
mkdir %{buildroot}%{_libdir}/qt5/bin/wrappers
pushd %{buildroot}%{_libdir}/qt5/bin/wrappers
ln -s ../qmake-qt5.sh qmake-qt5
ln -s ../qmake-qt5.sh qmake
popd
install -Dpm755 %{SOURCE2} %{buildroot}%{_bindir}/qmake-qt5.sh
mkdir -p %{buildroot}%{_datadir}/qt5/wrappers
ln -s %{_bindir}/qmake-qt5.sh %{buildroot}%{_datadir}/qt5/wrappers/qmake-qt5
ln -s %{_bindir}/qmake-qt5.sh %{buildroot}%{_datadir}/qt5/wrappers/qmake
# substitute custom flags
sed -i \
@ -125,8 +123,8 @@ echo "- Qt5 devel meta package" > %{buildroot}%{_docdir}/qt5-devel/README
%files rpm-macros
%{_rpmconfigdir}/macros.d/macros.qt5
%{_libdir}/qt5/bin/qmake-qt5.sh
%{_libdir}/qt5/bin/wrappers/
%{_bindir}/qmake-qt5.sh
%{_datadir}/qt5/wrappers/
%files srpm-macros
%{_rpmconfigdir}/macros.d/macros.qt5-srpm