leigh scott changed bug 3965
What Removed Added
CC   leigh123linux@gmail.com

Comment # 15 on bug 3965 from
A couple of things.

you have this in the spec file.

%check
appstream-util validate-relax --nonet
%{buildroot}%{_datadir}/appdata/%{name}.appdata.xml

But have missed the build requires needed for it, add

BuildRequires: libappstream-glib


second is the wrong use of LDFLAGS

%build
%{_qt5_qmake} \
    QMAKE_CFLAGS="%{optflags}" \
    QMAKE_CXXFLAGS="%{optflags}" \
    QMAKE_LFLAGS="%{optflags} -Wl,--as-needed" \
    LIB_SUFFIX="$(echo %_lib | cut -b4-)" \
    CONFIG+="no_rpath recheck config_libass_link debug" 
%make_build

You use optflags when it should be ldflags, change to


%build
%{_qt5_qmake} \
    QMAKE_CFLAGS="${RPM_OPT_FLAGS}" \
    QMAKE_CXXFLAGS="${RPM_OPT_FLAGS}" \
    QMAKE_LFLAGS="${RPM_LD_FLAGS} -Wl,--as-needed" \
    LIB_SUFFIX="$(echo %_lib | cut -b4-)" \
    CONFIG+="no_rpath recheck config_libass_link debug" 
%make_build


You are receiving this mail because: