--- Begin Message --- Mirko Zeibig wrote:
I do not need the fax-package for courier, so I build the rpms on RedHat 9 with the following command: rpmbuild -tb --define '_without_fax 1' courier*tar.bz2
Now as the spec-file holds
%define _unpackaged_files_terminate_build 1
rpm will abort if it finds unpackaged files.
The attached patch should fix the problem.
--- courier.spec.in.orig 2003-11-09 10:04:28.000000000 -0800 +++ courier.spec.in 2003-11-09 10:07:14.000000000 -0800 @@ -8,8 +8,14 @@ # --- Build behavior defines -------------------------------------------------- +%define _missing_doc_files_terminate_build 1 +%define _unpackaged_files_terminate_build 1 + +# Set _unpackaged_files_terminate_build to 0 if the user explicitly requests +# an option that will leave unpackaged files. %{?_without_fax: %define with_fax 0} %{!?_without_fax: %define with_fax 1} +%{!?_without_fax: %define _unpackaged_files_terminate_build 0} %{?_without_mysql: %define with_mysql 0} %{!?_without_mysql: %define with_mysql 1} %{?_without_pgsql: %define with_pgsql 0} @@ -17,9 +23,6 @@ %{?_without_ldap: %define with_ldap 0} %{!?_without_ldap: %define with_ldap 1} -%define _missing_doc_files_terminate_build 1 -%define _unpackaged_files_terminate_build 1 - %define alternatives %(test -x /usr/sbin/alternatives && echo 1 || echo 0) %define is_not_mandrake %(test ! -e /etc/mandrake-release && echo 1 || echo 0)
--- End Message ---
Sam~ Is there any chance this patch could be included in, to fix the
--without-fax option?
- [courier-users] Re: Courier 20031101 Gordon Messmer
- [courier-users] Re: Courier 20031101 Sam Varshavchik
- Re: [courier-users] Re: Courier 20031101 Gordon Messmer
