From 0d3f62e5ed1a5ed496a3fe34dd3eabcdc67c226c Mon Sep 17 00:00:00 2001 From: tigro Date: Fri, 1 Dec 2023 00:23:58 +0300 Subject: [PATCH] Fix build with new Ruby versions --- ...ix-invalid-byte-sequence-in-US-ASCII.patch | 26 +++++++++++++++++++ SPECS/gegl.spec | 6 ++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 SOURCES/0001-Fix-invalid-byte-sequence-in-US-ASCII.patch diff --git a/SOURCES/0001-Fix-invalid-byte-sequence-in-US-ASCII.patch b/SOURCES/0001-Fix-invalid-byte-sequence-in-US-ASCII.patch new file mode 100644 index 0000000..8a87b89 --- /dev/null +++ b/SOURCES/0001-Fix-invalid-byte-sequence-in-US-ASCII.patch @@ -0,0 +1,26 @@ +From 89d92e8d17a8a790a47eae4e01e4079bcf729c35 Mon Sep 17 00:00:00 2001 +From: tigro +Date: Thu, 30 Nov 2023 23:40:22 +0300 +Subject: [PATCH] Fix invalid byte sequence in US-ASCII + +--- + tools/create-reference.rb | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/tools/create-reference.rb b/tools/create-reference.rb +index d0bb96c..8504590 100755 +--- a/tools/create-reference.rb ++++ b/tools/create-reference.rb +@@ -5,6 +5,9 @@ + # Use under a public domain license. + # + ++Encoding.default_external = Encoding::UTF_8 ++Encoding.default_internal = Encoding::UTF_8 ++ + class Argument + attr_accessor :name, :data_type, :doc + def initialize +-- +2.43.0 + diff --git a/SPECS/gegl.spec b/SPECS/gegl.spec index e616fc6..ab66dd2 100644 --- a/SPECS/gegl.spec +++ b/SPECS/gegl.spec @@ -16,7 +16,7 @@ Summary: A graph based image processing framework Name: gegl Version: 0.2.0 -Release: 39%{?dist} +Release: 39%{?dist}.inferit # Compute some version related macros # Ugly hack, you need to get your quoting backslashes/percent signs straight @@ -37,6 +37,7 @@ Patch4: gegl-0.2.0-linker-flags.patch Patch5: gegl-0.2.0-libopenraw.patch Patch6: gegl-0.2.0-ppc64-rand-fix.patch Patch7: gegl-build-without-exiv2.patch +Patch100: 0001-Fix-invalid-byte-sequence-in-US-ASCII.patch BuildRequires: asciidoc BuildRequires: babl-devel >= 0.1.10 BuildRequires: cairo-devel @@ -220,6 +221,9 @@ make check %{_libdir}/pkgconfig/%{name}-%{apiver}.pc %changelog +* Thu Nov 30 2023 Arkady L. Shane - 0.2.0-39.inferit +- Fix build with new Ruby versions + * Tue Jul 25 2023 MSVSphere Packaging Team - 0.2.0-39 - Rebuilt for MSVSphere 8.8