238 ) || exit $? |
238 ) || exit $? |
239 %endif |
239 %endif |
240 |
240 |
241 %install |
241 %install |
242 rm -rf $RPM_BUILD_ROOT |
242 rm -rf $RPM_BUILD_ROOT |
243 %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" |
243 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT |
244 |
244 |
245 %if "%{with_sieve}" == "yes" |
245 %if "%{with_sieve}" == "yes" |
246 # install optional Dovecot LDA sieve plugin |
246 # install optional Dovecot LDA sieve plugin |
247 ( cd dovecot-sieve-%{V_major}.%{V_minor_sieve} |
247 ( cd dovecot-sieve-%{V_major}.%{V_minor_sieve} |
248 %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" |
248 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT |
249 ) || exit $? |
249 ) || exit $? |
250 %endif |
250 %endif |
251 |
251 |
252 # adjust file names of configuration files |
252 # adjust file names of configuration files |
253 ( cd $RPM_BUILD_ROOT%{l_prefix}/etc/dovecot |
253 ( cd $RPM_BUILD_ROOT%{l_prefix}/etc/dovecot |