Resolves: rhbz#2138484 latest upstream release

This commit is contained in:
Caolán McNamara 2022-11-08 08:48:10 +00:00
parent d9cb69f55e
commit 3d8154551e
4 changed files with 6 additions and 37 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/xmlsec1-1.2.35.tar.gz
/xmlsec1-1.2.36.tar.gz

View File

@ -1,31 +0,0 @@
From 3445fbfe1aceb88a255b90ee1c06df2d05c188b0 Mon Sep 17 00:00:00 2001
From: lsh123 <aleksey@aleksey.com>
Date: Mon, 24 Oct 2022 17:38:59 -0700
Subject: [PATCH] fix size_max (#412)
---
src/cast_helpers.h | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/cast_helpers.h b/src/cast_helpers.h
index 67330822..2b670ad1 100644
--- a/src/cast_helpers.h
+++ b/src/cast_helpers.h
@@ -17,13 +17,9 @@
#endif /* XMLSEC_PRIVATE */
#include <limits.h>
+#include <stdint.h>
#include "errors_helpers.h"
-/* if it is missing */
-#ifndef SIZE_MAX
-#define SIZE_MAX (~(size_t)0)
-#endif /* SIZE_MAX */
-
/**
* Helpers for printing out enum values (mostly debugging).
*/
--
2.38.0.rc2

View File

@ -1 +1 @@
SHA512 (xmlsec1-1.2.35.tar.gz) = 6e5f5c631eeff39d5f9df09415dab87b1160262784d3cf722d6dbbaa7b2437092989c6bd1377970f00667d6e7bf49f879c4cf28332b772bc86ff2ccf663081f6
SHA512 (xmlsec1-1.2.36.tar.gz) = 7545935d33236bc8ec79b9173c8c0967df5c96bb9e2d5c8edacfb5ffb366ff8d087eada0cebb1de81a477f93d40544bf0a12abcdbc60874ecaecb9c8dd33dfe3

View File

@ -1,6 +1,6 @@
Summary: Library providing support for "XML Signature" and "XML Encryption" standards
Name: xmlsec1
Version: 1.2.35
Version: 1.2.36
Release: 1%{?dist}%{?extra_release}
License: MIT
Source0: https://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz
@ -20,8 +20,6 @@ BuildRequires: automake
BuildRequires: gettext-devel
BuildRequires: libtool
Patch1: fix-size_max-412.patch.1
%description
XML Security Library is a C library based on LibXML2 and OpenSSL.
The library was created with a goal to support major XML security
@ -103,7 +101,6 @@ Libraries, includes, etc. for developing XML Security applications with NSS.
%prep
%setup -q
%patch1 -p1
%build
autoreconf -vfi
@ -178,6 +175,9 @@ mv %{buildroot}%{_docdir}/xmlsec1/* __tmp_doc
%{_libdir}/pkgconfig/xmlsec1-nss.pc
%changelog
* Tue Nov 08 2022 Caolán McNamara <caolanm@redhat.com> - 1.2.36-1
- Resolves: rhbz#2138484 latest upstream release
* Thu Oct 27 2022 Caolán McNamara <caolanm@redhat.com> - 1.2.35-1
- Resolves: rhbz#2137430 latest upstream release