darold / sendmailanalyzer

Sendmail log Analyzer is a tool to monitor sendmail usage and generate HTML and graph reports. It reports all you ever wanted to know about email trafic on your network. You can also use it in ISP environment with per domain and per mailbox report.
http://sendmailanalyzer.darold.net/
GNU General Public License v3.0
76 stars 13 forks source link

Fix the .sample file install in doc folder when building an RPM #2

Closed ivuk closed 11 years ago

ivuk commented 11 years ago

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.

darold commented 11 years ago

Applied, thanks a lot Igor !