From 2c39f835cd0dfd679579d0a093a15ec68faf7d698e75919aa8135c25bbbe625a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 23 Nov 2011 21:54:56 +0000 Subject: [PATCH 1/2] Accepting request 93363 from home:coolo:removelibtool add libtool to buildrequires OBS-URL: https://build.opensuse.org/request/show/93363 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libvoikko?expand=0&rev=7 --- libvoikko.changes | 5 +++++ libvoikko.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libvoikko.changes b/libvoikko.changes index e5c3f01..02f3ce7 100644 --- a/libvoikko.changes +++ b/libvoikko.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 23 21:11:20 UTC 2011 - coolo@suse.com + +- add libtool as buildrequire to avoid implicit dependency + ------------------------------------------------------------------- Tue Feb 22 15:23:59 CET 2011 - vuntz@opensuse.org diff --git a/libvoikko.spec b/libvoikko.spec index 0722cb9..226be99 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -20,7 +20,7 @@ Name: libvoikko Version: 2.1 -Release: 11 +Release: 1 Url: http://voikko.sourceforge.net/ License: GPLv2+ Summary: Spellchecker and Hyphenator for Finnish Language @@ -29,7 +29,7 @@ Source: libvoikko-%{version}.tar.bz2 Source99: baselibs.conf # PATCH-FIX-UPSTREAM libvoikko-2.1-ac-macro-dir.diff sf#2810258 pmladek@suse.cz -- can't run autoreconf because the m4 direcotry is neither in the source tarball nor in svn Patch: libvoikko-2.1-ac-macro-dir.diff -BuildRequires: gcc-c++ glib2-devel libmalaga-devel python python-xml +BuildRequires: gcc-c++ glib2-devel libmalaga-devel libtool python python-xml BuildRoot: %{_tmppath}/%{name}-%{version}-build %define debug_package_requires libvoikko1 = %{version}-%{release} From 24aa2b3ed9231a3eafb17a8dfc14a335e95f68262f98e84f29216bf946434e33 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 23 Nov 2011 22:25:21 +0000 Subject: [PATCH 2/2] Remove redundant/unwanted tags/section (cf. specfile guidelines); Use %_smp_mflags for parallel building OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libvoikko?expand=0&rev=8 --- libvoikko.changes | 6 ++++++ libvoikko.spec | 32 ++------------------------------ 2 files changed, 8 insertions(+), 30 deletions(-) diff --git a/libvoikko.changes b/libvoikko.changes index 02f3ce7..ee70863 100644 --- a/libvoikko.changes +++ b/libvoikko.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Nov 23 22:00:52 UTC 2011 - jengelh@medozas.de + +- Remove redundant/unwanted tags/section (cf. specfile guidelines) +- Use %_smp_mflags for parallel building + ------------------------------------------------------------------- Wed Nov 23 21:11:20 UTC 2011 - coolo@suse.com diff --git a/libvoikko.spec b/libvoikko.spec index 226be99..a82dfe0 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -15,13 +15,12 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: libvoikko Version: 2.1 Release: 1 -Url: http://voikko.sourceforge.net/ +URL: http://voikko.sourceforge.net/ License: GPLv2+ Summary: Spellchecker and Hyphenator for Finnish Language Group: Productivity/Text/Spell @@ -37,14 +36,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Voikko is a Finnish spellchecker and hyphenator based on Malaga and Suomi-Malaga. - - -Authors: --------- - Harri Pitkänen - %package -n libvoikko1 -License: GPLv2+ Group: System/Libraries Summary: Spellchecker and Hyphenator for Finnish Language Requires: malaga-suomi @@ -53,14 +45,7 @@ Requires: malaga-suomi Voikko is a Finnish spellchecker and hyphenator based on Malaga and Suomi-Malaga. - - -Authors: --------- - Harri Pitkänen - %package devel -License: GPLv2+ Group: Development/Libraries/C and C++ Summary: Spellchecker and Hyphenator for Finnish Language Requires: libvoikko1 = %{version} glibc-devel @@ -69,14 +54,7 @@ Requires: libvoikko1 = %{version} glibc-devel Voikko is a Finnish spellchecker and hyphenator based on Malaga and Suomi-Malaga. - - -Authors: --------- - Harri Pitkänen - %package -n voikkospell -License: GPLv2+ Group: Productivity/Text/Spell Summary: Spellchecker and Hyphenator for Finnish Language Requires: libvoikko1 = %{version} @@ -85,12 +63,6 @@ Requires: libvoikko1 = %{version} Voikko is a Finnish spellchecker and hyphenator based on Malaga and Suomi-Malaga. - - -Authors: --------- - Harri Pitkänen - %prep %setup -q %patch @@ -100,7 +72,7 @@ autoreconf -f -i %configure --with-pic\ --disable-static\ --with-dictionary-path=%{_datadir}/malaga -make %{?jobs:-j%jobs} +make %{?_smp_mflags} %install %makeinstall