forked from pool/rabbitmq-server
- 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:
parent
ad5fe2a6cf
commit
add5090f82
@ -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>
|
Thu Mar 12 08:35:53 UTC 2020 - Gabriele Santomaggio <gsantomaggio@suse.de>
|
||||||
|
|
||||||
|
@ -59,9 +59,7 @@ BuildRequires: erlang >= 21.3
|
|||||||
BuildRequires: erlang-src
|
BuildRequires: erlang-src
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
# require python json module
|
BuildRequires: python3
|
||||||
BuildRequires: python >= 2.6
|
|
||||||
BuildRequires: python-xml
|
|
||||||
BuildRequires: rsync
|
BuildRequires: rsync
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
@ -121,11 +119,13 @@ cp %{SOURCE8} .
|
|||||||
%build
|
%build
|
||||||
# Make elixir happy with Unicode
|
# Make elixir happy with Unicode
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
|
export PYTHON=%{_bindir}/python3
|
||||||
make all %{_make_args} %{?_smp_mflags}
|
make all %{_make_args} %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# Make elixir happy with Unicode
|
# Make elixir happy with Unicode
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
|
export PYTHON=%{_bindir}/python3
|
||||||
make install %{_make_args}
|
make install %{_make_args}
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_sbindir}
|
mkdir -p %{buildroot}%{_sbindir}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user