Hello community,

here is the log from the commit of package m17n-lib for openSUSE:Factory 
checked in at 2017-08-21 11:35:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/m17n-lib (Old)
 and      /work/SRC/openSUSE:Factory/.m17n-lib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "m17n-lib"

Mon Aug 21 11:35:36 2017 rev:28 rq:516900 version:1.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/m17n-lib/m17n-lib.changes        2016-12-11 
13:23:49.285453474 +0100
+++ /work/SRC/openSUSE:Factory/.m17n-lib.new/m17n-lib.changes   2017-08-21 
11:35:37.414149144 +0200
@@ -1,0 +2,15 @@
+Sat Aug 12 16:17:23 UTC 2017 - [email protected]
+
+- Fix RPM groups.
+
+-------------------------------------------------------------------
+Wed Aug  9 11:26:06 UTC 2017 - [email protected]
+
+- Drop ispell dependency wrt fate#323578 rh dropped the same subpkg
+  in 2011
+- Cleanup the dependencies to not pull in full x11 suite and depend
+  only on the required libs
+- Build with --as-needed
+- Format with spec-cleaner
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ m17n-lib.spec ++++++
--- /var/tmp/diff_new_pack.8OCXid/_old  2017-08-21 11:35:38.218036086 +0200
+++ /var/tmp/diff_new_pack.8OCXid/_new  2017-08-21 11:35:38.226034962 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package m17n-lib
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,12 +16,12 @@
 #
 
 
+%define        appdefdir  %{_datadir}/X11
 Name:           m17n-lib
-%define        appdefdir  /usr/share/X11
 Version:        1.7.0
 Release:        0
 Summary:        Multilingual Text Processing Library for the C Language
-License:        LGPL-2.1+ and GPL-2.0+
+License:        LGPL-2.1+ AND GPL-2.0+
 Group:          System/I18n/Japanese
 Url:            http://www.m17n.org/m17n-lib/
 Source0:        
http://download.savannah.gnu.org/releases/m17n/%{name}-%{version}.tar.gz
@@ -30,28 +30,26 @@
 Patch0:         m17n-lib-fix-warnings.diff
 Patch1:         m17n-lib-1.7.0-fix-crash-in-marathi-transliteration.patch
 BuildRequires:  fdupes
-BuildRequires:  freetype2-devel
-BuildRequires:  fribidi-devel
-BuildRequires:  gd-devel
-BuildRequires:  ispell
-BuildRequires:  ispell-british
 BuildRequires:  libotf-devel
-BuildRequires:  libxml2
-BuildRequires:  m17n-db
 BuildRequires:  pkgconfig
-BuildRequires:  wordcut-devel
-BuildRequires:  xorg-x11-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pkgconfig(fontconfig)
+BuildRequires:  pkgconfig(freetype2)
+BuildRequires:  pkgconfig(fribidi)
+BuildRequires:  pkgconfig(gdlib)
+BuildRequires:  pkgconfig(libxml-2.0)
+BuildRequires:  pkgconfig(m17n-db)
+BuildRequires:  pkgconfig(wordcut)
+BuildRequires:  pkgconfig(xaw7)
+BuildRequires:  pkgconfig(xft)
 
 %description
 A multilingual text processing library for the C language.
 This package contains m17n-* programs.
 
 %package -n libm17n0
-
 Summary:        Multilingual text processing library for the C language
-Group:          System/I18n/Japanese
-Requires:       m17n-db
+Group:          System/Libraries
+Requires:       pkgconfig(m17n-db)
 
 %description -n libm17n0
 A multilingual text processing library for the C language.
@@ -59,10 +57,11 @@
 
 %package devel
 Summary:        Multilingual text processing library for the C language
-Group:          Development/Libraries/Other
+Group:          Development/Libraries/C and C++
 Requires:       %{name} = %{version}
 Requires:       glibc-devel
-Requires:       xorg-x11-libX11-devel
+BuildRequires:  pkgconfig(xaw7)
+BuildRequires:  pkgconfig(xft)
 
 %description devel
 A multilingual text processing library for the C language
@@ -73,17 +72,18 @@
 %patch1 -p1
 
 %build
-export SUSE_ASNEEDED=0
-%configure --disable-static --with-pic
-make
+%configure \
+  --disable-static
+# Not thread safe at all
+make -j1
 
 %check
 export MALLOC_CHECK_=2
-make check
+make -j1 check
 unset MALLOC_CHECK_
 
 %install
-%makeinstall
+%make_install INSTALL="install -p"
 # Japanese app-defaults:
 mkdir -p 
%{buildroot}%{appdefdir}/{ja,ja_JP,ja_JP.eucJP,ja_JP.SJIS,ja_JP.UTF-8}/app-defaults
 iconv -f EUC-JP -t EUC-JP < example/M17NEdit.ja \
@@ -96,17 +96,15 @@
       > %{buildroot}%{appdefdir}/ja_JP.SJIS/app-defaults/M17NEdit
 iconv -f EUC-JP -t UTF-8 < example/M17NEdit.ja \
       > %{buildroot}%{appdefdir}/ja_JP.UTF-8/app-defaults/M17NEdit
-rm -f %{buildroot}%{_libdir}/m17n/*/*.la
-rm -f %{buildroot}%{_libdir}/*.la
+find %{buildroot} -type f -name "*.la" -delete -print
+find %{buildroot} -type f -name "*.la" -delete -print
 
 %fdupes %{buildroot}
 
 %post -n libm17n0 -p /sbin/ldconfig
-
 %postun -n libm17n0 -p /sbin/ldconfig
 
 %files
-%defattr(-, root, root)
 %doc AUTHORS COPYING NEWS README ChangeLog
 %{_bindir}/*
 %dir %{appdefdir}/??
@@ -115,12 +113,10 @@
 %{appdefdir}/*/app-defaults/M17NEdit
 
 %files -n libm17n0
-%defattr(-, root, root)
 %{_libdir}/lib*.so.*
 %{_libdir}/m17n
 
 %files devel
-%defattr(-, root, root)
 %{_includedir}/*
 %{_libdir}/lib*.so
 %{_libdir}/pkgconfig/*.pc


Reply via email to