Description of problem: If PFLOGSUMM=0, SRPMS can't be created Version-Release number of selected component (if applicable): postfix-2.2.8-1.2.src.rpm How reproducible: Always Steps to Reproduce: 1. rpm -ihv postfix-2.2.8-1.2.src.rpm 2. change spec file -%define PFLOGSUMM 1 +%define PFLOGSUMM 0 3. rpm -bs postfix.spec Actual results: $ rpmbuild -bs postfix.spec error: Bad file: /mnt/rpmbuild/SOURCES/pflogsumm-%{pflogsumm_ver}.tar.gz: No such file or directory Expected results: No such message Fix: @@ -62,8 +73,10 @@ # Sources 50-99 are upstream [patch] contributions +%if %{PFLOGSUMM} # Postfix Log Entry Summarizer: http://jimsun.linxnet.com/postfix_contrib.html Source53: http://jimsun.linxnet.com/downloads/pflogsumm-%{pflogsumm_ver}.tar.gz +%endif # Sources >= 100 are config files
Fixed in rawhide in package 2.2.10-1 or newer.