From 104d469196d85063eb17e8a519f0106da2d13be3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20=C5=9Awi=C4=85tek?= Date: Sat, 15 Aug 2015 10:35:07 +0200 Subject: [PATCH] - don't package dicts into main package - fixed dynamicmap.cf paths - rel 5 --- postfix.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 -- 2.46.0