1
0

- use python 3.x for building, allows dropping python 2.x

OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-server?expand=0&rev=145
This commit is contained in:
Dirk Mueller 2020-04-24 12:02:14 +00:00 committed by Git OBS Bridge
parent ad5fe2a6cf
commit add5090f82
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Apr 24 12:01:33 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- use python 3.x for building, allows dropping python 2.x
-------------------------------------------------------------------
Thu Mar 12 08:35:53 UTC 2020 - Gabriele Santomaggio <gsantomaggio@suse.de>

View File

@ -59,9 +59,7 @@ BuildRequires: erlang >= 21.3
BuildRequires: erlang-src
BuildRequires: fdupes
BuildRequires: libxslt
# require python json module
BuildRequires: python >= 2.6
BuildRequires: python-xml
BuildRequires: python3
BuildRequires: rsync
BuildRequires: unzip
BuildRequires: xmlto
@ -121,11 +119,13 @@ cp %{SOURCE8} .
%build
# Make elixir happy with Unicode
export LANG=en_US.UTF-8
export PYTHON=%{_bindir}/python3
make all %{_make_args} %{?_smp_mflags}
%install
# Make elixir happy with Unicode
export LANG=en_US.UTF-8
export PYTHON=%{_bindir}/python3
make install %{_make_args}
mkdir -p %{buildroot}%{_sbindir}