2.8
This commit is contained in:
parent
f9adca4528
commit
0d291f6ecf
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (xmlgraphics-commons-2.7-src.tar.gz) = 7d3993fc920767512f94edef3342757f0ffc9c9dbad80695fe3d77b0ec162380d9b467682ae41238e7ee719601709edb41b2dab06c385dfd9fa898577d8d2c22
|
SHA512 (xmlgraphics-commons-2.8-src.tar.gz) = 3e6c397a7444c4ce1d1aeda96a7c9abfd3d8d57a0997d7d6ae2be36303dd17550b7b92fd86eac832566bbeefccdd06619e31c0d907cd6b953a8eb934d7fa618b
|
||||||
|
21
test.patch
Normal file
21
test.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
--- xmlgraphics/commons/trunk/src/test/java/org/apache/xmlgraphics/image/loader/CorruptImagesTestCase.java 2022/10/06 12:37:37 1904425
|
||||||
|
+++ xmlgraphics/commons/trunk/src/test/java/org/apache/xmlgraphics/image/loader/CorruptImagesTestCase.java 2022/11/10 08:15:05 1905215
|
||||||
|
@@ -36,9 +36,14 @@
|
||||||
|
|
||||||
|
ImageSessionContext sessionContext = imageContext.newSessionContext();
|
||||||
|
ImageManager manager = imageContext.getImageManager();
|
||||||
|
-
|
||||||
|
- ImageInfo imageInfo = manager.preloadImage(uri, sessionContext);
|
||||||
|
- assertEquals(imageInfo.getMimeType(), "image/png");
|
||||||
|
+ try {
|
||||||
|
+ ImageInfo imageInfo = manager.preloadImage(uri, sessionContext);
|
||||||
|
+ //IOException should continue to raw png
|
||||||
|
+ assertEquals(imageInfo.getMimeType(), "image/png");
|
||||||
|
+ } catch (Exception e) {
|
||||||
|
+ //Otherwise should throw exception
|
||||||
|
+ assertEquals(e.getMessage(), "pos < flushedPos!");
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -1,12 +1,13 @@
|
|||||||
Name: xmlgraphics-commons
|
Name: xmlgraphics-commons
|
||||||
Version: 2.7
|
Version: 2.8
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Summary: XML Graphics Commons
|
Summary: XML Graphics Commons
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://xmlgraphics.apache.org/
|
URL: http://xmlgraphics.apache.org/
|
||||||
Source0: http://archive.apache.org/dist/xmlgraphics/commons/source/xmlgraphics-commons-%{version}-src.tar.gz
|
Source0: http://archive.apache.org/dist/xmlgraphics/commons/source/xmlgraphics-commons-%{version}-src.tar.gz
|
||||||
|
Patch0: test.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
ExclusiveArch: %{java_arches} noarch
|
ExclusiveArch: %{java_arches} noarch
|
||||||
@ -37,6 +38,8 @@ This package contains API documentation for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q %{name}-%{version}
|
%setup -q %{name}-%{version}
|
||||||
|
|
||||||
|
%patch0 -p3
|
||||||
|
|
||||||
find -name "*.jar" -delete
|
find -name "*.jar" -delete
|
||||||
|
|
||||||
# Disable plugins not needed for RPM build
|
# Disable plugins not needed for RPM build
|
||||||
@ -68,6 +71,9 @@ find -name "*.jar" -delete
|
|||||||
%license LICENSE NOTICE
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 09 2022 Gwyn Ciesla <gwync@protonmail.com> - 0:2.8-1
|
||||||
|
- 2.8
|
||||||
|
|
||||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.7-4
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.7-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user