Compare commits
2 Commits
f9d18e3988
...
6cbceb2f5c
Author | SHA1 | Date |
---|---|---|
Mikolaj Izdebski | 6cbceb2f5c | |
Adam Samalik | b1a2b43d7a |
|
@ -0,0 +1 @@
|
|||
119842d93a20807c7e1ed7a367dd759c8126b9ee commons-io-2.11.0-src.tar.gz
|
|
@ -1,2 +1,15 @@
|
|||
SOURCES/commons-io-2.11.0-src.tar.gz
|
||||
/results_*
|
||||
/*.src.rpm
|
||||
|
||||
/commons-io-1.4-src.tar.gz
|
||||
/commons-io-2.0-src.tar.gz
|
||||
/commons-io-2.0.1-src.tar.gz
|
||||
/commons-io-2.1-src.tar.gz
|
||||
/commons-io-2.2-src.tar.gz
|
||||
/commons-io-2.3-src.tar.gz
|
||||
/commons-io-2.4-src.tar.gz
|
||||
/commons-io-2.5-src.tar.gz
|
||||
/commons-io-2.6-src.tar.gz
|
||||
/commons-io-2.7-src.tar.gz
|
||||
/commons-io-2.8.0-src.tar.gz
|
||||
/commons-io-2.11.0-src.tar.gz
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
From 610065347bbbc8fea366de32e558de4977807e52 Mon Sep 17 00:00:00 2001
|
||||
From: Mat Booth <mat.booth@redhat.com>
|
||||
Date: Wed, 3 Feb 2021 19:45:13 +0000
|
||||
Subject: [PATCH] Fix Files.size failing when symlink target is non-existant
|
||||
|
||||
---
|
||||
src/main/java/org/apache/commons/io/file/PathUtils.java | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/main/java/org/apache/commons/io/file/PathUtils.java b/src/main/java/org/apache/commons/io/file/PathUtils.java
|
||||
index d370ef0b..b38a46a0 100644
|
||||
--- a/src/main/java/org/apache/commons/io/file/PathUtils.java
|
||||
+++ b/src/main/java/org/apache/commons/io/file/PathUtils.java
|
||||
@@ -358,7 +358,7 @@ public static PathCounters deleteFile(final Path file, final DeleteOption... opt
|
||||
}
|
||||
final PathCounters pathCounts = Counters.longPathCounters();
|
||||
final boolean exists = Files.exists(file, LinkOption.NOFOLLOW_LINKS);
|
||||
- final long size = exists ? Files.size(file) : 0;
|
||||
+ final long size = exists && Files.exists(file) ? Files.size(file) : 0;
|
||||
if (overrideReadOnly(options) && exists) {
|
||||
setReadOnly(file, false, LinkOption.NOFOLLOW_LINKS);
|
||||
}
|
||||
--
|
||||
2.28.0
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
Name: apache-commons-io
|
||||
Epoch: 1
|
||||
Version: 2.11.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Utilities to assist with developing IO functionality
|
||||
License: ASL 2.0
|
||||
URL: https://commons.apache.org/io
|
||||
|
@ -72,6 +72,9 @@ sed -i '/DefaultLocale/d' src/test/java/org/apache/commons/io/input/XmlStreamRea
|
|||
%doc RELEASE-NOTES.txt
|
||||
|
||||
%changelog
|
||||
* Mon Feb 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:2.11.0-3
|
||||
- Rebuild to regenerate auto-requires
|
||||
|
||||
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.11.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_contexts:
|
||||
- osci_compose_gate
|
||||
rules:
|
||||
# https://docs.engineering.redhat.com/display/RHELPLAN/Maven+Bootstrap+manual+gating+test
|
||||
- !PassingTestCaseRule {test_case_name: manual.sst_cs_apps.maven.bootstrap}
|
Loading…
Reference in New Issue