Browse code

rabbitmq: Update to version 3.7.3

Add new package elixir required for building rabbitmq version 3.7.3

Change-Id: I2981e255fb2364f968a5c5c499992a2dfddedc2c
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/7883
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/8109
Reviewed-by: Keerthana K <keerthanak@vmware.com>

Keerthana K authored on 2019/08/28 14:53:05
Showing 2 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,50 @@
0
+%global debug_package %{nil}
1
+Name:            elixir
2
+Summary:         A modern approach to programming for the Erlang VM
3
+Version:         1.5.0
4
+Release:         1%{?dist}
5
+License:         ASL 2.0
6
+URL:             http://elixir-lang.org/
7
+Source0:         https://github.com/elixir-lang/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
8
+Vendor:          VMware, Inc.
9
+Distribution:    Photon
10
+Group:           Development/Languages
11
+%define sha1 elixir=258f3ddf367706747e055977ddad117372019124
12
+BuildRequires:   git
13
+BuildRequires:   sed
14
+BuildRequires:   erlang
15
+Requires:        erlang
16
+
17
+%description
18
+Elixir is a programming language built on top of the Erlang VM.
19
+As Erlang, it is a functional language built to support distributed,
20
+fault-tolerant, non-stop applications with hot code swapping.
21
+
22
+%prep
23
+%setup -q -n %{name}-%{version}
24
+
25
+%build
26
+export LANG="en_US.UTF-8"
27
+make compile
28
+
29
+%check
30
+make test
31
+
32
+%install
33
+mkdir -p %{buildroot}/%{_datadir}/%{name}/%{version}
34
+cp -ra bin lib %{buildroot}/%{_datadir}/%{name}/%{version}
35
+
36
+mkdir -p %{buildroot}/%{_bindir}
37
+ln -s %{_datadir}/%{name}/%{version}/bin/{elixir,elixirc,iex,mix} %{buildroot}/%{_bindir}/
38
+
39
+%files
40
+%license LICENSE
41
+%{_bindir}/elixir
42
+%{_bindir}/elixirc
43
+%{_bindir}/iex
44
+%{_bindir}/mix
45
+%{_datadir}/%{name}
46
+
47
+%changelog
48
+*   Mon Aug 26 2019 Keerthana K <keerthanak@vmware.com> 1.5.0-1
49
+-   Initial  package for PhotonOS.
... ...
@@ -1,14 +1,14 @@
1 1
 Name:          rabbitmq-server
2 2
 Summary:       RabbitMQ messaging server
3
-Version:       3.6.15
4
-Release:       4%{?dist}
3
+Version:       3.7.3
4
+Release:       1%{?dist}
5 5
 Group:         Applications
6 6
 Vendor:        VMware, Inc.
7 7
 Distribution:  Photon
8 8
 License:       MPLv1.1
9 9
 URL:           https://github.com/rabbitmq/rabbitmq-server
10
-Source0:       http://www.rabbitmq.com/releases/rabbitmq-server/v%{version}/%{name}-%{version}.tar.xz
11
-%define sha1 rabbitmq=617cfba3406804b7cdc9999b88c06086e3705904
10
+source0:       https://github.com/rabbitmq/rabbitmq-server/releases/download/v%{version}/%{name}-%{version}.tar.xz
11
+%define sha1 rabbitmq=ea8049abde9155959ced8b22af838d1deb262433
12 12
 Source1:       rabbitmq.config
13 13
 Requires:      erlang
14 14
 Requires:      /bin/sed
... ...
@@ -17,9 +17,12 @@ Requires(pre):  /usr/sbin/useradd /usr/sbin/groupadd
17 17
 BuildRequires: erlang
18 18
 BuildRequires: rsync
19 19
 BuildRequires: zip
20
+BuildRequires: git
20 21
 BuildRequires: libxslt
22
+BuildRequires: xmlto
21 23
 BuildRequires: python-xml
22 24
 BuildRequires: python2
25
+BuildRequires: elixir
23 26
 BuildArch:     noarch
24 27
 
25 28
 %description
... ...
@@ -102,6 +105,8 @@ rm -rf $RPM_BUILD_ROOT
102 102
 /var/lib/*
103 103
 
104 104
 %changelog
105
+* Mon Aug 19 2019 Keerthana K <keerthanak@vmware.com> 3.7.3-1
106
+- Update to version 3.7.3
105 107
 * Tue Feb 05 2019 Alexey Makhalov <amakhalov@vmware.com> 3.6.15-4
106 108
 - Added BuildRequires python2.
107 109
 * Thu Jan 31 2019 Siju Maliakkal <smaliakkal@vmware.com> 3.6.15-3