SHA256
1
0
forked from pool/libvmime

Accepting request 1150529 from server:mail

- Reinstate %optflags

OBS-URL: https://build.opensuse.org/request/show/1150529
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvmime?expand=0&rev=31
This commit is contained in:
Ana Guerrero 2024-02-26 18:45:18 +00:00 committed by Git OBS Bridge
commit 12ef2b67df
4 changed files with 13 additions and 10 deletions

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,3 +1,8 @@
-------------------------------------------------------------------
Sun Feb 25 23:52:52 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Reinstate %optflags
-------------------------------------------------------------------
Sun Dec 31 16:19:00 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -31,7 +31,7 @@ Patch1: libvmime-nodatetime.diff
Patch2: libvmime-soname.diff
BuildRequires: cmake >= 2.8.3
BuildRequires: gcc-c++
%if 0%{?centos_version}
%if 0%{?rhel} || 0%{?fedora_version}
BuildRequires: gnutls-devel
%else
BuildRequires: libgnutls-devel
@ -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="%optflags" \
-DCMAKE_CXX_FLAGS:STRING="%optflags" \
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="%optflags" \
-DCMAKE_C_FLAGS:STRING="%optflags" \
-DVMIME_BUILD_DOCUMENTATION:BOOL=OFF
%cmake_build
@ -127,8 +127,6 @@ cp -a doc/book/book.pdf "$b/%_docdir/%name/"
%endif
%cmake_install
find "$b" -type f -name "*.la" -delete
mkdir -p "$b/%_datadir"
#mv "$b/%_prefix/cmake" "$b/%_datadir/"
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig