#1 Update to 1.36.0-0, and support building on EPEL 8
Merged 3 years ago by asn. Opened 3 years ago by salimma.
rpms/ salimma/lua-luv luv-1.36.0-and-epel8  into  master

file modified
+1
@@ -2,3 +2,4 @@ 

  /luv-1.32.0.0.tar.gz

  /luv-1.34.1.1.tar.gz

  /luv-1.34.2.1.tar.gz

+ /luv-1.36.0.0.tar.gz

file modified
+15 -3
@@ -10,8 +10,8 @@ 

  %global lua_51_pkgdir %{_datadir}/lua/%{lua_51_version}

  %global lua_51_builddir obj-lua51

  

- %global real_version 1.34.2

- %global extra_version 1

+ %global real_version 1.36.0

+ %global extra_version 0

  

  BuildRequires:  cmake

  BuildRequires:  gcc
@@ -34,6 +34,14 @@ 

  

  Source0:        https://github.com/luvit/luv/archive/%{real_version}-%{extra_version}/luv-%{version}.tar.gz

  

+ %if 0%{?el8}

+ # libuv-devel is from the CentOS Devel repo, only available on

+ # aarch64, ppc64le, and x86_64:

+ # https://mirrors.edge.kernel.org/centos/8-stream/Devel/

+ # bz# 1829151

+ ExcludeArch:    s390x

+ %endif

+ 

  %description

  This library makes libuv available to lua scripts. It was made

  for the luvit project but should usable from nearly any lua
@@ -173,8 +181,12 @@ 

  %{lua_51_incdir}/luv/util.h

  

  %changelog

+ * Tue Apr 28 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.36.0.0-1

+ - Update to version 1.36.0-0

+ - Support building on EPEL 8

+ 

  * Sat Feb 29 2020 Andreas Schneider <asn@redhat.com> - 1.34.2.1-1

- * Update to version 1.34.2-1

+ -  Update to version 1.34.2-1

    - https://github.com/luvit/luv/releases/tag/1.34.2-0

    - https://github.com/luvit/luv/releases/tag/1.34.2-1

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (luv-1.34.2.1.tar.gz) = 9eed3988757905a862a83ee043a15be93c31bb4822535012ec367ee97bc411c1e14e94c22278bbac49b24ad372b14b68cc5af53f98e4474a384140b649f20ee4

+ SHA512 (luv-1.36.0.0.tar.gz) = 3119c1450a8317725d59cc1ab6afccfbde752b0c32b38909dfdd31bf88ea0751920dc68750da52cf17a6430637cf1094f4d5500e4c50d1145eca48bb12728ba1

Upstream's 1.36.0-0 release has fixes that make it backward-compatible with all versions of libuv down to 1.0.0, which makes it easier to support releases with older libuv (e.g. RHEL/CentOS 8).

Also, RHEL 8 ships libuv in AppStream but omits the -devel subpackage, which is thus shipped in CentOS's extra Devel repo -- but that is not available on s390x. Add an ExcludeArch (with appropriate blocking bug filed) to indicate this.

rebased onto 0ac8a78

3 years ago

Pull-Request has been merged by asn

3 years ago