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