dirty fix
Hi,
The problem is related with "ed" text editor. Open postfix.spec file and comment out the lines that prevent srpm to build:
# RPM compresses man pages automatically.
# - Edit postfix-files to reflect this, so post-install won't get confused
# when called during package installation.
##ed $RPM_BUILD_ROOT%{postfix_config_dir}/postfix-files <<EOF || exit 1
##%s/\(\/man[158]\/.*\.[158]\):/\1.gz:/
##%s/\$config_directory\/aliases:f/\#/
##w
##q
##EOF
These lines seem to be man pages related which is not vital for me. Someone experienced in scripting can fix this easily.
SRPM builds and postfix runs without problem.
Regards.
|