commit gmime2_6 for openSUSE:Factory

2018-03-14 Thread root
Hello community,

here is the log from the commit of package gmime2_6 for openSUSE:Factory 
checked in at 2018-03-14 19:36:29

Comparing /work/SRC/openSUSE:Factory/gmime2_6 (Old)
 and  /work/SRC/openSUSE:Factory/.gmime2_6.new (New)


Package is "gmime2_6"

Wed Mar 14 19:36:29 2018 rev:3 rq:584686 version:2.6.23

Changes:

--- /work/SRC/openSUSE:Factory/gmime2_6/gmime2_6.changes2017-11-01 
11:09:48.033417682 +0100
+++ /work/SRC/openSUSE:Factory/.gmime2_6.new/gmime2_6.changes   2018-03-14 
19:36:30.614588854 +0100
@@ -1,0 +2,5 @@
+Wed Feb 28 16:26:56 UTC 2018 - dims...@opensuse.org
+
+- Modernize spec-file by calling spec-cleaner
+
+---



Other differences:
--
++ gmime2_6.spec ++
--- /var/tmp/diff_new_pack.0oy7rM/_old  2018-03-14 19:36:31.610553479 +0100
+++ /var/tmp/diff_new_pack.0oy7rM/_new  2018-03-14 19:36:31.614553337 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gmime2_6
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,16 +16,15 @@
 #
 
 
+%define _name gmime
 %bcond_without mono
-
 Name:   gmime2_6
-%define _name gmime
 Version:2.6.23
 Release:0
-Url:http://spruce.sourceforge.net/gmime/
 Summary:MIME Parser and Utility Library
-License:LGPL-2.1+
+License:LGPL-2.1-or-later
 Group:  Productivity/Networking/Email/Utilities
+URL:http://spruce.sourceforge.net/gmime/
 Source: 
http://download.gnome.org/sources/gmime/2.6/%{_name}-%{version}.tar.xz
 Source99:   baselibs.conf
 # PATCH-FIX-UPSTREAM gmime2_6-utf8.patch dims...@opensuse.org -- Remove some 
non-ascii linebreaks
@@ -33,14 +32,14 @@
 BuildRequires:  gobject-introspection-devel >= 1.30.0
 BuildRequires:  gpgme-devel
 BuildRequires:  gtk-doc
+BuildRequires:  pkgconfig
+BuildRequires:  zlib-devel
+BuildRequires:  pkgconfig(glib-2.0)
 %if %{with mono}
 BuildRequires:  mono-devel
 BuildRequires:  pkgconfig(gapi-2.0)
 BuildRequires:  pkgconfig(glib-sharp-2.0)
 %endif
-BuildRequires:  zlib-devel
-BuildRequires:  pkgconfig(glib-2.0)
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 GMime is a C/C++ library for parsing and creating messages using
@@ -89,14 +88,14 @@
 GMime is a C/C++ library for parsing and creating messages using
 the Multipurpose Internet Mail Extension (MIME).
 
-%define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n" 
"${filelist[@]}" | /usr/lib/rpm/find-requires | grep -v "no package provides" ; 
} '
+%define __find_requires env sh -c 'filelist=($(cat)) && { printf "%%s\\n" 
"${filelist[@]}" | %{_prefix}/lib/rpm/find-requires | grep -v "no package 
provides" ; } '
 
 %prep
 %setup -q -n %{_name}-%{version}
 %patch0 -p1
 
 %build
-%ifarch %arm
+%ifarch %{arm}
 # gcc has a bug on ARM where it fails to compile certain source files
 # with >= -O2. See https://bugs.launchpad.net/gcc/+bug/836588.
 CFLAGS="%{optflags} -O1"
@@ -114,32 +113,29 @@
 make %{?_smp_mflags}
 
 %install
-%makeinstall
-find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
 for FILE in COPYING ; do
 MD5SUM=$(md5sum $FILE | sed 's/ .*//')
-if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
-ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE
+if test -f %{_datadir}/doc/licenses/md5/$MD5SUM ; then
+ln -sf %{_datadir}/doc/licenses/md5/$MD5SUM $FILE
 fi
 done
 
 %post -n libgmime-2_6-0 -p /sbin/ldconfig
-
 %postun -n libgmime-2_6-0 -p /sbin/ldconfig
 
 %files -n libgmime-2_6-0
-%defattr (-, root, root)
 # NEWS is empty
-%doc AUTHORS COPYING ChangeLog README TODO
+%license COPYING
+%doc AUTHORS ChangeLog README TODO
 %{_libdir}/*.so.*
 
 %files -n typelib-1_0-GMime-2_6
-%defattr(-,root,root)
 %{_libdir}/girepository-1.0/GMime-2.6.typelib
 
 %if %{with mono}
 %files sharp
-%defattr (-, root, root)
 %dir %{_prefix}/lib/mono/gmime-sharp-2.6
 %dir %{_prefix}/lib/mono/gac/gmime-sharp
 %dir %{_prefix}/lib/mono/gac/gmime-sharp/2.6.0.0__2b75c2ad004c52e4
@@ -152,7 +148,6 @@
 %endif
 
 %files devel
-%defattr (-, root, root)
 %doc PORTING
 %{_datadir}/gir-1.0/GMime-2.6.gir
 %{_includedir}/gmime-2.6




commit gmime2_6 for openSUSE:Factory

2017-11-01 Thread root
Hello community,

here is the log from the commit of package gmime2_6 for openSUSE:Factory 
checked in at 2017-11-01 11:09:46

Comparing /work/SRC/openSUSE:Factory/gmime2_6 (Old)
 and  /work/SRC/openSUSE:Factory/.gmime2_6.new (New)


Package is "gmime2_6"

Wed Nov  1 11:09:46 2017 rev:2 rq:537581 version:2.6.23

Changes:

--- /work/SRC/openSUSE:Factory/gmime2_6/gmime2_6.changes2017-09-04 
16:30:10.598621734 +0200
+++ /work/SRC/openSUSE:Factory/.gmime2_6.new/gmime2_6.changes   2017-11-01 
11:09:48.033417682 +0100
@@ -1,0 +2,6 @@
+Mon Oct 30 13:13:23 UTC 2017 - dims...@opensuse.org
+
+- Add gmime2_6-utf8.patch: Remove non-ascii line breaks from source
+  files. Allows to build gmime 2.6 with gtk-doc using python 3.
+
+---

New:

  gmime2_6-utf8.patch



Other differences:
--
++ gmime2_6.spec ++
--- /var/tmp/diff_new_pack.uigAwY/_old  2017-11-01 11:09:49.089379111 +0100
+++ /var/tmp/diff_new_pack.uigAwY/_new  2017-11-01 11:09:49.089379111 +0100
@@ -1,5 +1,5 @@
 #
-# spec file for package gmime
+# spec file for package gmime2_6
 #
 # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %bcond_without mono
 
 Name:   gmime2_6
@@ -27,6 +28,8 @@
 Group:  Productivity/Networking/Email/Utilities
 Source: 
http://download.gnome.org/sources/gmime/2.6/%{_name}-%{version}.tar.xz
 Source99:   baselibs.conf
+# PATCH-FIX-UPSTREAM gmime2_6-utf8.patch dims...@opensuse.org -- Remove some 
non-ascii linebreaks
+Patch0: gmime2_6-utf8.patch
 BuildRequires:  gobject-introspection-devel >= 1.30.0
 BuildRequires:  gpgme-devel
 BuildRequires:  gtk-doc
@@ -90,6 +93,7 @@
 
 %prep
 %setup -q -n %{_name}-%{version}
+%patch0 -p1
 
 %build
 %ifarch %arm

++ gmime2_6-utf8.patch ++
Index: gmime-2.6.23/gmime/gmime-filter-charset.c
===
--- gmime-2.6.23.orig/gmime/gmime-filter-charset.c
+++ gmime-2.6.23/gmime/gmime-filter-charset.c
@@ -243,7 +243,7 @@ filter_complete (GMimeFilter *filter, ch
inleft--;
} else if (errno == EINVAL) {
/*
-* EINVAL  An  incomplete  multibyte sequence 
has been encoun�
+* EINVAL  An  incomplete  multibyte sequence 
has been encoun
 * tered in the input.
 *
 * We assume that this can only happen if we've 
run out of
Index: gmime-2.6.23/gmime/gmime-iconv-utils.c
===
--- gmime-2.6.23.orig/gmime/gmime-iconv-utils.c
+++ gmime-2.6.23/gmime/gmime-iconv-utils.c
@@ -132,7 +132,7 @@ g_mime_iconv_strndup (iconv_t cd, const
converted = iconv (cd, (char **) , , , 
);
if (converted != (size_t) -1 || errno == EINVAL) {
/*
-* EINVAL  An  incomplete  multibyte sequence has been 
encoun�
+* EINVAL  An  incomplete  multibyte sequence has been 
encoun
 * tered in the input.
 *
 * We'll just have to ignore it...