darold/sendmailanalyzer — pull request #2 by ivuk (2012-12-31 11:17:43+00:00)
Title: Fix the .sample file install in doc folder when building an RPM

Currently, the RPM does not build. The issue is that it tries to copy the sendmailanalyzer.conf.sample file into /usr/share/doc/sendmailanalyzer-8.6/ folder, but that file does not exist and cannot be copied into the target folder.

This is expected, since the copying is done by install_all.sh script, so the file sendmailanalyzer.conf.sample is never actually created in the origin folder. Since unpackaged files won't terminate the RPM build, i simply let the install_all.sh handle the copying, and I can confirm that the sendmailanalyzer.conf.sample gets created just fine without getting specified in the %doc macro.