[packages/asterisk/ASTERISK_12] res_config_mysql moved to a new 'mysql' subpackage

jajcus jajcus at pld-linux.org
Wed Jan 8 11:50:22 CET 2014


commit 4a45c9f9aa3e681bd0b1568c66030a3340530795
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Wed Jan 8 11:19:03 2014 +0100

    res_config_mysql moved to a new 'mysql' subpackage

 asterisk.spec | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/asterisk.spec b/asterisk.spec
index be9a69e..ca296da 100644
--- a/asterisk.spec
+++ b/asterisk.spec
@@ -335,6 +335,14 @@ Requires:	%{name} = %{version}-%{release}
 %description minivm
 MiniVM application for Asterisk.
 
+%package mysql
+Summary:	Asterisk modules that use MySQL
+Group:		Applications/Networking
+Requires:	%{name} = %{version}-%{release}
+
+%description mysql
+Asterisk modules that use MySQL.
+
 %package odbc
 Summary:	Applications for Asterisk that use ODBC (except voicemail)
 Group:		Applications/Networking
@@ -823,7 +831,6 @@ chown -R asterisk:asterisk /var/lib/asterisk
 %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/phoneprov.conf
 %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/queuerules.conf
 %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/queues.conf
-%attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_config_mysql.conf
 %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_parking.conf
 %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_pktccops.conf
 %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_stun_monitor.conf
@@ -1005,7 +1012,6 @@ chown -R asterisk:asterisk /var/lib/asterisk
 %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_recordings.so
 %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_sounds.so
 %attr(755,root,root) %{_libdir}/asterisk/modules/res_chan_stats.so
-%attr(755,root,root) %{_libdir}/asterisk/modules/res_config_mysql.so
 %attr(755,root,root) %{_libdir}/asterisk/modules/res_clialiases.so
 %attr(755,root,root) %{_libdir}/asterisk/modules/res_clioriginate.so
 %attr(755,root,root) %{_libdir}/asterisk/modules/res_convert.so
@@ -1222,6 +1228,11 @@ chown -R asterisk:asterisk /var/lib/asterisk
 %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/minivm.conf
 %attr(755,root,root) %{_libdir}/asterisk/modules/app_minivm.so
 
+%files mysql
+%defattr(644,root,root,755)
+%attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_config_mysql.conf
+%attr(755,root,root) %{_libdir}/asterisk/modules/res_config_mysql.so
+
 %files odbc
 %defattr(644,root,root,755)
 %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_adaptive_odbc.conf
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/asterisk.git/commitdiff/69b76b30c93dc78040bf17b8270646da5ddecee8



More information about the pld-cvs-commit mailing list