diff --git a/libvmime.spec b/libvmime.spec index 817f3b7..70cea46 100644 --- a/libvmime.spec +++ b/libvmime.spec @@ -46,7 +46,6 @@ BuildRequires: libgsasl-devel %endif BuildRequires: libopenssl-devel BuildRequires: pkg-config -BuildRequires: postfix %if 0%{?suse_version} >= 1130 %define with_pdf 1 %if 0%{?suse_version} < 1300 @@ -111,9 +110,8 @@ popd %endif cf="%optflags -DVMIME_ALWAYS_GENERATE_7BIT_PARAMETER=1" -# sendmail's awesome location. -export PATH="$PATH:/usr/sbin" cmake . \ + -DVMIME_SENDMAIL_PATH:STRING="%_sbindir/sendmail" \ -DVMIME_BUILD_SAMPLES:BOOL=OFF \ %if 0%{?is_opensuse} -DVMIME_HAVE_SASL_SUPPORT:BOOL=ON \