https://bugzilla.redhat.com/show_bug.cgi?id=1723013
--- Comment #10 from Robert-André Mauchin 🐧 <zebob.m(a)gmail.com> ---
# CentOS/RedHat needs Qt 5.10 to be downloaded and built (no rpm for install)
%if 0%{?rhel}
echo in_setup_for_RedHat
curl -s
https://raw.githubusercontent.com/jcfr/qt-easy-build/5.10.0/Build-qt.sh
-o Build-qt.sh
chmod 755 Build-qt.sh
./Build-qt.sh -y -c -j4 -q $HOME/qt
%endif
pwd
If Qt > 5.10 is required then you can't support RHEL < 7. You can target RHEL 8
(not sure of Qt's version here, please check).
- Secondly you need to use nacros:
%build
PATH=/usr/lib64/qt5/bin:$PATH
qmake --version
qmake -makefile -recursive
make
→
%{qmake_qt5}
%make_build
- Do not install in /usr/local, use %{_prefix} macro which is /usr
- No idea what you are trying to do here:
%install
# echo %{buildroot}
# copy over subdirs from build
mkdir -p %{buildroot}/%{_prefix}/mne-cpp
tar cpf - ./bin ./lib ./doc | (cd %{buildroot}/%{_prefix}/mne-cpp; tar xpf -)
- Also
Source0:
https://github.com/mne-tools/mne-cpp/archive/master.zip
you can't just pount to master like this, you need to d/l a specific release,
if not are provided, then target a specific commit. It seems 0.1.4 is the
latest release.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component