Skip to content

Change in .spec file to reflect the config file rename#1

Merged
darold merged 1 commit into
darold:masterfrom
ivuk:master
Dec 19, 2012
Merged

Change in .spec file to reflect the config file rename#1
darold merged 1 commit into
darold:masterfrom
ivuk:master

Conversation

@ivuk
Copy link
Copy Markdown
Contributor

@ivuk ivuk commented Dec 19, 2012

Since the default config file got renamed from sendmailanalyzer.conf to sendmailanalyzer.conf.orig, the RPM will not build since it cannot find the sendmailanalyzer.conf file.

I've just appended the ".orig" suffix where it's needed, but I'm not sure if there is some more work to be done to bring the .spec up to date with the latest changes.

darold added a commit that referenced this pull request Dec 19, 2012
Change in .spec file to reflect the config file rename
@darold darold merged commit bce55b0 into darold:master Dec 19, 2012
@ghost ghost assigned darold Dec 19, 2012
@darold
Copy link
Copy Markdown
Owner

darold commented Dec 21, 2012

I've renamed the sendmailanalyzer.conf.orig extension into sendmailanalyzer.conf.sample as this is what this file it is really.

@ivuk
Copy link
Copy Markdown
Contributor Author

ivuk commented Dec 24, 2012

As far as filename extensions are concerned, ".sample" sounds better to me then ",orig", since I use ".orig" for my own purposes. However, are you sure you want to ship an example configuration file in /etc? Wouldn't it be better to ship it in /usr/share/doc/sendmailanalyzer/ and instruct the user to copy it over?

@darold
Copy link
Copy Markdown
Owner

darold commented Dec 24, 2012

You are right, I've change install script and .spec to copy sendmailanalyzer.conf.sample into the doc/ directory and copy sendmailanalyzer.conf into etc/ if none already exist. Let me know if there's any issue.

Best regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants