import libebml-1.4.5-1.el9

i9ce changed/i9ce/libebml-1.4.5-1.el9
MSVSphere Packaging Team 1 year ago
parent 0d5283bbfa
commit ab077b4e6f

2
.gitignore vendored

@ -1 +1 @@
SOURCES/libebml-1.4.2.tar.xz SOURCES/libebml-1.4.5.tar.xz

@ -1 +1 @@
a5e545d1bf22abf8b6722f4bc2d2034bb61b2d46 SOURCES/libebml-1.4.2.tar.xz 4363f762c74695928021b84f0d8620dbb1a69ff8 SOURCES/libebml-1.4.5.tar.xz

@ -1,22 +0,0 @@
diff -up libebml-1.4.2/src/EbmlString.cpp.gcc11 libebml-1.4.2/src/EbmlString.cpp
--- libebml-1.4.2/src/EbmlString.cpp.gcc11 2021-02-18 12:42:59.000000000 +0100
+++ libebml-1.4.2/src/EbmlString.cpp 2021-03-01 11:42:02.122854703 +0100
@@ -34,6 +34,7 @@
\author Steve Lhomme <robux4 @ users.sf.net>
*/
#include <cassert>
+#include <limits>
#include "ebml/EbmlString.h"
diff -up libebml-1.4.2/src/EbmlUnicodeString.cpp.gcc11 libebml-1.4.2/src/EbmlUnicodeString.cpp
--- libebml-1.4.2/src/EbmlUnicodeString.cpp.gcc11 2021-03-01 11:42:02.121854696 +0100
+++ libebml-1.4.2/src/EbmlUnicodeString.cpp 2021-03-01 11:42:21.772995170 +0100
@@ -36,6 +36,7 @@
*/
#include <cassert>
+#include <limits>
#include "ebml/EbmlUnicodeString.h"

@ -1,12 +1,12 @@
diff -up libebml-1.3.7/src/EbmlUnicodeString.cpp.utf8cpp libebml-1.3.7/src/EbmlUnicodeString.cpp diff -up libebml-1.4.4/src/EbmlUnicodeString.cpp.utf8cpp libebml-1.4.4/src/EbmlUnicodeString.cpp
--- libebml-1.3.7/src/EbmlUnicodeString.cpp.utf8cpp 2019-03-12 20:27:42.000000000 +0100 --- libebml-1.4.4/src/EbmlUnicodeString.cpp.utf8cpp 2022-10-11 13:11:14.129418820 +0200
+++ libebml-1.3.7/src/EbmlUnicodeString.cpp 2019-06-07 22:54:39.002363241 +0200 +++ libebml-1.4.4/src/EbmlUnicodeString.cpp 2022-10-11 13:11:44.405608490 +0200
@@ -39,7 +39,7 @@ @@ -40,7 +40,7 @@
#include "ebml/EbmlUnicodeString.h" #include "ebml/EbmlUnicodeString.h"
-#include "lib/utf8-cpp/source/utf8/checked.h" -#include "lib/utf8-cpp/source/utf8/checked.h"
+#include <utf8/checked.h> +#include <utf8/checked.h>
START_LIBEBML_NAMESPACE namespace libebml {

@ -1,20 +1,14 @@
%if 0%{?el9}
%global _without_utf8cpp 1
%endif
Summary: Extensible Binary Meta Language library Summary: Extensible Binary Meta Language library
Name: libebml Name: libebml
Version: 1.4.2 Version: 1.4.5
Release: 3%{?dist} Release: 1%{?dist}
License: LGPLv2+ License: LGPLv2+
URL: https://www.matroska.org/ URL: https://www.matroska.org/
Source: https://dl.matroska.org/downloads/%{name}/%{name}-%{version}.tar.xz Source: https://dl.matroska.org/downloads/%{name}/%{name}-%{version}.tar.xz
Patch0: %{name}-use-system-utf8cpp.patch Patch0: %{name}-use-system-utf8cpp.patch
# https://github.com/Matroska-Org/libebml/pull/81
Patch1: %{name}-gcc11.patch
BuildRequires: cmake3 BuildRequires: cmake3
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%{!?_without_utf8cpp:BuildRequires: utf8cpp-devel} BuildRequires: utf8cpp-devel
%description %description
Extensible Binary Meta Language access library A library for reading Extensible Binary Meta Language access library A library for reading
@ -39,11 +33,8 @@ will use the Extensible Binary Meta Language library.
%prep %prep
%setup -q %setup -q
%{!?_without_utf8cpp:
%patch0 -p1 -b .utf8cpp %patch0 -p1 -b .utf8cpp
rm -r src/lib/utf8-cpp rm -r src/lib/utf8-cpp
}
%patch1 -p1 -b .gcc11dd
%build %build
@ -60,7 +51,7 @@ rm -r src/lib/utf8-cpp
%files %files
%license LICENSE.LGPL %license LICENSE.LGPL
%doc ChangeLog %doc NEWS.md
%{_libdir}/%{name}.so.5* %{_libdir}/%{name}.so.5*
%files devel %files devel
@ -75,9 +66,23 @@ rm -r src/lib/utf8-cpp
%changelog %changelog
* Mon Jul 24 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 1.4.2-3 * Fri Feb 02 2024 Dominik Mierzejewski <dominik@greysector.net> - 1.4.5-1
- update to 1.4.5 (#2254413)
- fixes CVE-2023-52339 (#2258046, #2258047)
* Mon Jul 24 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 1.4.4-2
- Rebuilt for MSVSphere 9.2 - Rebuilt for MSVSphere 9.2
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Oct 11 2022 Dominik Mierzejewski <dominik@greysector.net> - 1.4.4-1
- update to 1.4.4 (#2131232)
- drop obsolete patch
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-3 * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

Loading…
Cancel
Save