Accepting request 1103085 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1103085 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvoikko?expand=0&rev=37
This commit is contained in:
commit
c7e06ec4c9
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 7 20:05:10 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Fix build on older distributions by requiring gcc/g++ >= 7
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 1 21:19:00 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Sat Jul 1 21:19:00 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{!?make_build:%global make_build make %{?_smp_mflags}}
|
||||||
Name: libvoikko
|
Name: libvoikko
|
||||||
Version: 4.3.2
|
Version: 4.3.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -27,11 +28,17 @@ Source0: https://www.puimula.org/voikko-sources/%{name}/%{name}-%{version
|
|||||||
Source1: https://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz.asc
|
Source1: https://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz.asc
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python3-xml
|
BuildRequires: python3-xml
|
||||||
BuildRequires: pkgconfig(hfstospell) >= 0.5
|
BuildRequires: pkgconfig(hfstospell) >= 0.5
|
||||||
|
%if 0%{?suse_version} < 1500
|
||||||
|
BuildRequires: gcc7
|
||||||
|
BuildRequires: gcc7-c++
|
||||||
|
%else
|
||||||
|
BuildRequires: gcc >= 7
|
||||||
|
BuildRequires: gcc-c++ >= 7
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libvoikko is a library of free natural language processing tools. It
|
Libvoikko is a library of free natural language processing tools. It
|
||||||
@ -118,6 +125,10 @@ can be used to perform various natural language analysis tasks on text.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if 0%{?suse_version} < 1500
|
||||||
|
export CC="gcc-7"
|
||||||
|
export CXX="g++-7"
|
||||||
|
%endif
|
||||||
%configure \
|
%configure \
|
||||||
--disable-silent_rules \
|
--disable-silent_rules \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
|
Loading…
Reference in New Issue
Block a user