Compare commits

..

No commits in common. "rawhide" and "f42" have entirely different histories.

2 changed files with 3 additions and 31 deletions

View file

@ -1,12 +0,0 @@
--- xmlgraphics-commons-2.11/src/main/java/org/apache/xmlgraphics/image/loader/impl/ImageLoaderRawJPEG.java
+++ xmlgraphics-commons-2.11/src/main/java/org/apache/xmlgraphics/image/loader/impl/ImageLoaderRawJPEG.java
@@ -228,7 +228,7 @@
if (padding != 0) {
try {
iccStream.write(new byte[padding]);
- } catch (IOException ioe) {
+ } catch (Exception ioe) {
throw new IOException("Error while aligning ICC stream: " + ioe.getMessage());
}
}

View file

@ -1,18 +1,17 @@
Name: xmlgraphics-commons
Version: 2.11
Release: 7%{?dist}
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
Patch1: jdk25.patch
BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
BuildRequires: maven-local-openjdk25
BuildRequires: maven-local
BuildRequires: mvn(commons-io:commons-io)
BuildRequires: mvn(commons-logging:commons-logging)
BuildRequires: mvn(junit:junit)
@ -37,7 +36,7 @@ This package contains API documentation for %{name}.
%prep
%setup -q %{name}-%{version}
patch -p1 < %{PATCH1}
find -name "*.jar" -delete
# Disable plugins not needed for RPM build
@ -68,21 +67,6 @@ find -name "*.jar" -delete
%license LICENSE NOTICE
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.11-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.11-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Wed Jul 30 2025 jiri vanek <jvanek@redhat.com> - 0:2.11-4
- Rrevert to jdk21
* Tue Jul 29 2025 jiri vanek <jvanek@redhat.com> - 0:2.11-3
- Rebuilt for java-25-openjdk as preffered jdk
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue May 06 2025 Gwyn Ciesla <gwync@protonmail.com> - 0:2.11-1
- 2.11