]> git.pld-linux.org Git - packages/gmime22.git/blobdiff - gmime22.spec
- disable dotnet on x32
[packages/gmime22.git] / gmime22.spec
index ab9e5924fe7a9db2ed6764c79743f14d928a2a44..c60e2aaddf9aa868603e74d686ce94aaeabf4dd6 100644 (file)
@@ -2,7 +2,7 @@
 # Conditional build:
 %bcond_without dotnet  # without .net support
 
-%ifarch i386
+%ifarch i386 x32
 %undefine      with_dotnet
 %endif
 
@@ -11,13 +11,14 @@ Summary:    GMIME library
 Summary(pl.UTF-8):     Biblioteka GMIME
 Name:          gmime22
 Version:       2.2.27
-Release:       2
+Release:       4
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/gmime/2.2/gmime-%{version}.tar.bz2
 # Source0-md5: 16d89accbe5c79ba22e3dfabf53e3b7e
 Patch0:                %{name}-link.patch
 Patch1:                %{name}-dont-delay-sign.patch
+Patch2:                format-security.patch
 URL:           http://spruce.sourceforge.net/gmime/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -116,6 +117,7 @@ Część dla programistów dotnet-gmime-sharp.
 %setup -q -n gmime-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 touch config.rpath
@@ -123,6 +125,7 @@ touch config.rpath
 %{__aclocal}
 %{__autoconf}
 %{__automake}
+CFLAGS="%{rpmcflags} -UG_DISABLE_DEPRECATED"
 %configure \
        --enable-largefile \
        --%{?with_dotnet:enable}%{!?with_dotnet:disable}-mono \
This page took 0.088053 seconds and 4 git commands to generate.