Accepting request 851279 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/851279 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/swig?expand=0&rev=73
This commit is contained in:
commit
097af5d81b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 26 20:34:33 UTC 2020 - Michael Behrisch <oss@behrisch.de>
|
||||
|
||||
- Fixing package dependencies for CentOS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 23 10:08:22 UTC 2020 - Klaus Kämpf <kkaempf@suse.com>
|
||||
|
||||
|
10
swig.spec
10
swig.spec
@ -21,8 +21,10 @@
|
||||
%define docpath %{_docdir}/%{name}-%{version}
|
||||
BuildRequires: perl-Test-Simple
|
||||
BuildRequires: perl-devel
|
||||
%if 0%{?centos_version} < 800
|
||||
BuildRequires: ruby
|
||||
%endif
|
||||
%endif
|
||||
%if 0%{?suse_version} > 0
|
||||
%define docpath %{_docdir}/%{name}
|
||||
BuildRequires: ruby-devel
|
||||
@ -48,6 +50,11 @@ BuildRequires: libtool
|
||||
BuildRequires: pcre-devel
|
||||
BuildRequires: perl
|
||||
BuildRequires: pkgconfig
|
||||
%if 0%{?centos_version} >= 800
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-tools
|
||||
%else
|
||||
%if 0%{?suse_version} >= 1500
|
||||
BuildRequires: libboost_headers-devel
|
||||
BuildRequires: python3-devel
|
||||
@ -56,6 +63,7 @@ BuildRequires: python3-tools
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: python-devel > 2.6
|
||||
%endif
|
||||
%endif
|
||||
%if %{with swig_ocaml}
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: ocaml >= 3.12.0
|
||||
@ -128,7 +136,7 @@ export CCSHARED="-fPIC"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%if 0%{?suse_version} >= 1500 || 0%{?centos_version} >= 800
|
||||
export PY3=true
|
||||
%endif
|
||||
make %{?_smp_mflags} check
|
||||
|
Loading…
Reference in New Issue
Block a user