From a1b5c2bbb2dc959f86453c4b5b9b1e1b5bc7a52d Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Wed, 18 Jun 2014 15:51:28 -0400 Subject: [PATCH] pcp.spec: Don't process %{_pixmapdir} if %{disable_qt} --- pcp.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcp.spec b/pcp.spec index e128d84..d0cb481 100644 --- a/pcp.spec +++ b/pcp.spec @@ -388,7 +388,6 @@ monitoring systems using live and archived Performance Co-Pilot # %package -n pcp-doc Group: Documentation -#BuildArch: noarch Summary: Documentation and tutorial for the Performance Co-Pilot URL: http://www.performancecopilot.org @@ -474,8 +473,10 @@ ls -1 $RPM_BUILD_ROOT/%{_booksdir} |\ sed -e 's#^#'%{_booksdir}'\/#' > pcp-doc.list ls -1 $RPM_BUILD_ROOT/%{_datadir}/pcp/demos/tutorials |\ sed -e 's#^#'%{_datadir}/pcp/demos/tutorials'\/#' >>pcp-doc.list +%if !%{disable_qt} ls -1 $RPM_BUILD_ROOT/%{_pixmapdir} |\ sed -e 's#^#'%{_pixmapdir}'\/#' > pcp-gui.list +%endif cat base_bin.list base_exec.list base_man.list |\ egrep "$PCP_GUI" >> pcp-gui.list cat base_pmdas.list base_bin.list base_exec.list base_man.list |\