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