Update to upstream version 3.0.22
This commit is contained in:
parent
47bbb52883
commit
37918d7663
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@ plexus-utils-3.0.tar.xz
|
||||
/plexus-utils-3.0.16.tar.gz
|
||||
/plexus-utils-3.0.18.tar.gz
|
||||
/plexus-utils-3.0.21.tar.gz
|
||||
/plexus-utils-3.0.22.tar.gz
|
||||
|
@ -1,38 +0,0 @@
|
||||
From f9d81b7f32f11c2446e6392c09e2655e803a758a Mon Sep 17 00:00:00 2001
|
||||
From: Michael Simacek <msimacek@redhat.com>
|
||||
Date: Mon, 30 Mar 2015 17:10:07 +0200
|
||||
Subject: [PATCH] Don't use NioFiles.copy
|
||||
|
||||
---
|
||||
src/main/java/org/codehaus/plexus/util/FileUtils.java | 14 +++++++-------
|
||||
1 file changed, 7 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/src/main/java/org/codehaus/plexus/util/FileUtils.java b/src/main/java/org/codehaus/plexus/util/FileUtils.java
|
||||
index 3a036a7..8f05b76 100644
|
||||
--- a/src/main/java/org/codehaus/plexus/util/FileUtils.java
|
||||
+++ b/src/main/java/org/codehaus/plexus/util/FileUtils.java
|
||||
@@ -1081,14 +1081,14 @@ public static void copyFile( final File source, final File destination )
|
||||
return;
|
||||
}
|
||||
mkdirsFor( destination );
|
||||
- if (Java7Detector.isJava7())
|
||||
- {
|
||||
- NioFiles.copy( source, destination );
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
+ // if (Java7Detector.isJava7())
|
||||
+ // {
|
||||
+ // NioFiles.copy( source, destination );
|
||||
+ // }
|
||||
+ // else
|
||||
+ // {
|
||||
doCopyFile( source, destination );
|
||||
- }
|
||||
+ // }
|
||||
|
||||
if ( source.length() != destination.length() )
|
||||
{
|
||||
--
|
||||
2.1.0
|
||||
|
@ -1,9 +1,6 @@
|
||||
%global parent plexus
|
||||
%global subname utils
|
||||
|
||||
Name: plexus-utils
|
||||
Version: 3.0.21
|
||||
Release: 3%{?dist}
|
||||
Version: 3.0.22
|
||||
Release: 1%{?dist}
|
||||
Summary: Plexus Common Utilities
|
||||
# ASL 1.1: several files in src/main/java/org/codehaus/plexus/util/
|
||||
# xpp: src/main/java/org/codehaus/plexus/util/xml/pull directory
|
||||
@ -17,13 +14,9 @@ License: ASL 1.1 and ASL 2.0 and xpp and BSD and Public Domain
|
||||
URL: https://github.com/codehaus-plexus/plexus-utils
|
||||
BuildArch: noarch
|
||||
|
||||
Source0: https://github.com/sonatype/%{name}/archive/%{name}-%{version}.tar.gz
|
||||
Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{version}.tar.gz
|
||||
Source1: http://apache.org/licenses/LICENSE-2.0.txt
|
||||
|
||||
# https://github.com/sonatype/plexus-utils/issues/18
|
||||
# patch not submitted as it's just a workaround
|
||||
Patch0: 0001-Don-t-use-NioFiles.copy.patch
|
||||
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
||||
|
||||
@ -46,8 +39,6 @@ Javadoc for %{name}.
|
||||
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%patch0 -p1
|
||||
|
||||
%mvn_file : plexus/utils
|
||||
%mvn_alias : plexus:plexus-utils
|
||||
|
||||
@ -79,6 +70,9 @@ cp %{SOURCE1} .
|
||||
%doc NOTICE.txt LICENSE-2.0.txt
|
||||
|
||||
%changelog
|
||||
* Thu Apr 09 2015 Michael Simacek <msimacek@redhat.com> - 3.0.22-1
|
||||
- Update to upstream version 3.0.22
|
||||
|
||||
* Wed Apr 1 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0.21-3
|
||||
- Update upstream URL
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user