2.9
This commit is contained in:
parent
0416d453f5
commit
0a4121e22a
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (xmlgraphics-commons-2.8-src.tar.gz) = 3e6c397a7444c4ce1d1aeda96a7c9abfd3d8d57a0997d7d6ae2be36303dd17550b7b92fd86eac832566bbeefccdd06619e31c0d907cd6b953a8eb934d7fa618b
|
||||
SHA512 (xmlgraphics-commons-2.9-src.tar.gz) = 896a5fe41277783021075df0de1aa109a7f05416af6b0141301a2452197d85df0daef28f5c2a71802644cbff3bfe79579a1544000a4c1b5cec4c211d8effd521
|
||||
|
21
test.patch
21
test.patch
@ -1,21 +0,0 @@
|
||||
--- 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,13 +1,12 @@
|
||||
Name: xmlgraphics-commons
|
||||
Version: 2.8
|
||||
Release: 4%{?dist}
|
||||
Version: 2.9
|
||||
Release: 1%{?dist}
|
||||
Epoch: 0
|
||||
Summary: XML Graphics Commons
|
||||
|
||||
License: Apache-2.0
|
||||
URL: http://xmlgraphics.apache.org/
|
||||
Source0: http://archive.apache.org/dist/xmlgraphics/commons/source/xmlgraphics-commons-%{version}-src.tar.gz
|
||||
Patch0: test.patch
|
||||
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{java_arches} noarch
|
||||
@ -38,8 +37,6 @@ This package contains API documentation for %{name}.
|
||||
%prep
|
||||
%setup -q %{name}-%{version}
|
||||
|
||||
%patch0 -p3
|
||||
|
||||
find -name "*.jar" -delete
|
||||
|
||||
# Disable plugins not needed for RPM build
|
||||
@ -71,6 +68,9 @@ find -name "*.jar" -delete
|
||||
%license LICENSE NOTICE
|
||||
|
||||
%changelog
|
||||
* Wed Aug 23 2023 Gwyn Ciesla <gwync@protonmail.com> - 0:2.9-1
|
||||
- 2.9
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.8-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user