#2 Update to 1.6.0
Opened a year ago by rhn-mk1. Modified a year ago
rpms/ rhn-mk1/erlang-xmpp foo  into  rawhide

@@ -1,28 +0,0 @@ 

- From 5b99ba2d85fbf1c665823583fd8045d5bbfa120f Mon Sep 17 00:00:00 2001

- From: Randy Barlow <randy@electronsweatshop.com>

- Date: Sat, 31 Dec 2016 13:43:36 -0500

- Subject: [PATCH] Allow fxml.hrl to be found from system libs.

- 

- This commit adjusts an include() call to be include_lib() so that

- fxml.hrl can be found when it is installed in /usr/lib rather than

- in a local deps folder.

- ---

-  include/xmpp.hrl | 2 +-

-  1 file changed, 1 insertion(+), 1 deletion(-)

- 

- diff --git include/xmpp.hrl include/xmpp.hrl

- index 4236f6c..955c825 100644

- --- include/xmpp.hrl

- +++ include/xmpp.hrl

- @@ -26,7 +26,7 @@

-  -include("ns.hrl").

-  -include("jid.hrl").

-  -include("xmpp_codec.hrl").

- --include("fxml.hrl").

- +-include_lib("fast_xml/include/fxml.hrl").

-  

-  -type stanza() :: iq() | presence() | message().

-  

- -- 

- 2.11.0

- 

file modified
+5 -6
@@ -8,15 +8,13 @@ 

  %global stringprep_ver 1.0.22

  

  Name:       erlang-%{srcname}

- Version:    1.4.9

- Release:    6%{?dist}

+ Version:    1.6.0

+ Release:    1%{?dist}

  Summary:    Erlang/Elixir XMPP parsing and serialization library

  

  License:    ASL 2.0

  URL:        https://github.com/processone/xmpp/

  Source0:    https://github.com/processone/xmpp/archive/%{version}/xmpp-%{version}.tar.gz

- # https://github.com/processone/xmpp/pull/3

- Patch0:     0001-Allow-fxml.hrl-to-be-found-from-system-libs.patch

  

  BuildRequires: gcc

  BuildRequires: erlang-ezlib >= %{ezlib_ver}
@@ -43,8 +41,6 @@ 

  %prep

  %setup -q -n %{srcname}-%{version}

  

- %patch0 -p0

- 

  

  %build

  %{rebar_compile}
@@ -69,6 +65,9 @@ 

  

  

  %changelog

+ * Mon Feb 06 2023 rhn <fepama.rhn@porcupinefactory.org> - 1.6.0-1

+ - Update to 1.6.0 for hats and mix support

+ 

  * Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.9-6

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

  

This updates the package to the latest version. This version breaks ejabberd 20.x, but ejabberd is not in Fedora anyway. It works with ejabberd 21.12 and later (I updated the ejabberd rpm and am now testing it).

I've tested this for over a week now, and it's working with ejabberd 21.12 no problem.

Tested with an ejabberd 23.01 package derive from the last one in Fedora, and it still works well.