From: Bartosz Świątek Date: Sat, 15 Aug 2015 08:35:07 +0000 (+0200) Subject: - don't package dicts into main package X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=104d469196d85063eb17e8a519f0106da2d13be3;p=packages%2Fpostfix.git - don't package dicts into main package - fixed dynamicmap.cf paths - rel 5 --- diff --git a/postfix.spec b/postfix.spec index 46a3e21..8191a62 100644 --- a/postfix.spec +++ b/postfix.spec @@ -18,7 +18,7 @@ Summary(pt_BR.UTF-8): Postfix - Um MTA (Mail Transport Agent) de alto desempenho Summary(sk.UTF-8): Agent prenosu poÅ¡ty Postfix Name: postfix Version: 3.0.2 -Release: 4 +Release: 5 Epoch: 2 License: distributable Group: Networking/Daemons/SMTP @@ -292,6 +292,9 @@ cp -a conf/* $RPM_BUILD_ROOT%{_sysconfdir}/mail sed -e's,^daemon_directory = .*,daemon_directory = %{_libdir}/postfix,' \ conf/main.cf > $RPM_BUILD_ROOT%{_sysconfdir}/mail/main.cf +sed -e 's,${LIB_PREFIX},%{_libdir}/postfix/postfix-,g;s,${LIB_SUFFIX},.so,g' \ + conf/dynamicmaps.cf > $RPM_BUILD_ROOT%{_sysconfdir}/mail/dynamicmaps.cf + for f in dns global master util tls; do cp -a lib/libpostfix-${f}.so $RPM_BUILD_ROOT%{_libdir}/libpostfix-${f}.so.1 ln -sf lib${f}.so.1 $RPM_BUILD_ROOT%{_libdir}/libpostfix-${f}.so @@ -427,6 +430,11 @@ fi %attr(755,root,root) /usr/lib/sendmail %dir %{_libdir}/postfix %attr(755,root,root) %{_libdir}/postfix/[!d]* +%attr(755,root,root) %{_libdir}/postfix/!postfix-ldap.so +%attr(755,root,root) %{_libdir}/postfix/!postfix-mysql.so +%attr(755,root,root) %{_libdir}/postfix/!postfix-pcre.so +%attr(755,root,root) %{_libdir}/postfix/!postfix-pgsql.so +%attr(755,root,root) %{_libdir}/postfix/!postfix-sqlite.so %attr(755,root,root) %{_libdir}/postfix/discard %attr(755,root,root) %{_libdir}/postfix/dnsblog %attr(755,root,root) %dir %{_var}/spool/postfix