use just optflags

OBS-URL: https://build.opensuse.org/package/show/server:mail/libvmime?expand=0&rev=40
This commit is contained in:
Jan Engelhardt 2024-02-25 23:13:44 +00:00 committed by Git OBS Bridge
parent 87e759bce3
commit 20f67d7d64
5 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
libvmime (0.9.2+g188-0) unstable; urgency=low
libvmime (0.9.2.188-0) unstable; urgency=low
* Initial package.

View File

@ -5,7 +5,7 @@ Maintainer: openSUSE <opensuse@opensuse.org>
Standards-Version: 4.5.0
Build-Depends: debhelper-compat (= 12)
Package: libvmime-suse5
Package: libvmime-suse6
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Library for working with MIME messages and IMAP/POP/SMTP
@ -13,7 +13,7 @@ Description: Library for working with MIME messages and IMAP/POP/SMTP
Package: libvmime-dev
Architecture: any
Depends: ${misc:Depends}, libvmime-suse5 (= ${binary:Version}),
Depends: ${misc:Depends}, libvmime-suse6 (= ${binary:Version}),
libgsasl-dev | libgsasl7-dev, libgnutls28-dev
Description: Development files for vmime, an e-mail message library
.

View File

@ -9,7 +9,7 @@ override_dh_auto_configure:
cmake \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_INSTALL_LIBDIR:PATH="/usr/lib/${DEB_HOST_MULTIARCH}" \
-DVMIME_SENDMAIL_PATH:STRING="/usr/sbin/sendmail"
-DVMIME_SENDMAIL_PATH:STRING="/usr/sbin/sendmail" \
-DVMIME_BUILD_SAMPLES:BOOL=OFF \
-DVMIME_HAVE_TLS_SUPPORT:BOOL=ON \
-DVMIME_BUILD_STATIC_LIBRARY:BOOL=OFF \

View File

@ -1,7 +1,7 @@
Format: 1.0
Source: libvmime
Architecture: any
Version: 0.9.2+g188
Version: 0.9.2.188
DEBTRANSFORM-RELEASE: 1
Maintainer: openSUSE <opensuse@opensuse.org>
Homepage: https://opensuse.org/

View File

@ -112,10 +112,10 @@ popd
-DVMIME_HAVE_TLS_SUPPORT:BOOL=ON \
-DVMIME_BUILD_STATIC_LIBRARY:BOOL=OFF \
-DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" \
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="$cf" \
-DCMAKE_CXX_FLAGS:STRING="%{?redhat_version:-fPIC} %{?almalinux_version:-fPIC}" \
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$cf" \
-DCMAKE_C_FLAGS:STRING="%{?redhat_version:-fPIC} %{?almalinux_version:-fPIC}" \
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="%optflasgs" \
-DCMAKE_CXX_FLAGS:STRING="%optflasgs" \
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="%optflags" \
-DCMAKE_C_FLAGS:STRING="%optflags" \
-DVMIME_BUILD_DOCUMENTATION:BOOL=OFF
%cmake_build