Bug 188470 - spec file does not full support PFLOGSUMM=0
Summary: spec file does not full support PFLOGSUMM=0
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: postfix
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-10 13:28 UTC by Peter Bieringer
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-04-12 10:16:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Peter Bieringer 2006-04-10 13:28:12 UTC
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

Comment 1 Thomas Woerner 2006-04-12 10:16:46 UTC
Fixed in rawhide in package 2.2.10-1 or newer.


Note You need to log in before you can comment on or make changes to this bug.