fix -examples harder
This commit is contained in:
parent
22bdbbb6be
commit
a930a8a659
@ -47,7 +47,7 @@ BuildArch: noarch
|
|||||||
%{summary}.
|
%{summary}.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?docs} && 0%{?_qt5_examplesdir}
|
%if 0%{?docs} && 0%{?_qt5_examplesdir:1}
|
||||||
%package examples
|
%package examples
|
||||||
Summary: Programming examples for %{name}
|
Summary: Programming examples for %{name}
|
||||||
BuildRequires: pkgconfig(Qt5UiTools)
|
BuildRequires: pkgconfig(Qt5UiTools)
|
||||||
@ -113,7 +113,7 @@ rm -fv %{buildroot}%{_qt5_libdir}/lib*.la
|
|||||||
%{_qt5_docdir}/qtscripttools/
|
%{_qt5_docdir}/qtscripttools/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?_qt5_examplesdir:1}
|
%if 0%{?docs} && 0%{?_qt5_examplesdir:1}
|
||||||
%files examples
|
%files examples
|
||||||
%{_qt5_examplesdir}/
|
%{_qt5_examplesdir}/
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user