[jabberd/el5/master] - re-add the server.pem ghost to prevent the file from being deleted when updating to this package
Dominic Hopf
dmaphy at fedoraproject.org
Thu Oct 28 18:52:11 UTC 2010
commit ace9718b3bfa87e318562dc358208d02c3d6a1fa
Author: Dominic Hopf <dmaphy at fedoraproject.org>
Date: Thu Oct 28 20:52:11 2010 +0200
- re-add the server.pem ghost to prevent the file from being deleted
when updating to this package
jabberd.spec | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/jabberd.spec b/jabberd.spec
index 56b74e2..8cec308 100644
--- a/jabberd.spec
+++ b/jabberd.spec
@@ -118,6 +118,8 @@ sed -i -e ':a;N;$!ba' \
-e 's,<module>mysql</module>,<module>pam</module>,g' \
-e "s,register-enable='true'>,realm='' require-starttls='true' pemfile='/etc/%{name}/server.pem'>,g" \
$RPM_BUILD_ROOT%{_sysconfdir}/%{name}/c2s.xml
+#ghost file
+touch $RPM_BUILD_ROOT%{sysconfdir}/server.pem
# we have our own start script
rm -f $RPM_BUILD_ROOT%{_bindir}/jabberd
@@ -195,7 +197,8 @@ fi
%changelog
* Thu Oct 28 2010 Dominic Hopf <dmaphy at fedoraproject.org> - 2.2.11-2
-- readd %%ghost for server.pem file
+- re-add the server.pem ghost to prevent the file from being deleted
+ when updating to this package
* Wed Oct 06 2010 Dominic Hopf <dmaphy at fedoraproject.org> - 2.2.11-1
- new upstream release jabberd 2.2.11
More information about the scm-commits
mailing list