From 7aaedf3b009b886083de93a47c3e68481659fa33f4d28611795d06f5a30ad280 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 5 Sep 2023 06:25:18 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/plexus-io?expand=0&rev=9 --- plexus-io-3.4.1.tar.gz | 3 + plexus-io-build.xml | 141 +++++++++++++++++++++++++++++++++++++++++ plexus-io.spec | 33 ++-------- 3 files changed, 151 insertions(+), 26 deletions(-) create mode 100644 plexus-io-3.4.1.tar.gz create mode 100644 plexus-io-build.xml diff --git a/plexus-io-3.4.1.tar.gz b/plexus-io-3.4.1.tar.gz new file mode 100644 index 0000000..a3d458a --- /dev/null +++ b/plexus-io-3.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c71348dfcf16284895ecb4498a61e60b2955bf4b7db3c986c44ad220b136e77a +size 43042 diff --git a/plexus-io-build.xml b/plexus-io-build.xml new file mode 100644 index 0000000..a651249 --- /dev/null +++ b/plexus-io-build.xml @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plexus-io.spec b/plexus-io.spec index 0f57069..5f3b7cc 100644 --- a/plexus-io.spec +++ b/plexus-io.spec @@ -1,7 +1,7 @@ # # spec file for package plexus-io # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,8 @@ # -%bcond_with tests Name: plexus-io -Version: 3.2.0 +Version: 3.4.1 Release: 0 Summary: Plexus IO Components License: Apache-2.0 @@ -29,20 +28,13 @@ Source1: %{name}-build.xml Source2: http://www.apache.org/licenses/LICENSE-2.0.txt BuildRequires: ant BuildRequires: apache-commons-io +BuildRequires: atinject BuildRequires: fdupes -BuildRequires: javapackages-local +BuildRequires: javapackages-local >= 6 BuildRequires: jsr-305 BuildRequires: plexus-utils >= 3.3.0 -Requires: mvn(commons-io:commons-io) -Requires: mvn(org.codehaus.plexus:plexus-utils) +BuildRequires: sisu-inject BuildArch: noarch -%if %{with tests} -BuildRequires: ant-junit -BuildRequires: guava -BuildRequires: plexus-classworlds -BuildRequires: plexus-containers-container-default -BuildRequires: xbean -%endif %description Plexus IO is a set of plexus components, which are designed for use @@ -63,22 +55,11 @@ cp %{SOURCE2} . %pom_remove_plugin :animal-sniffer-maven-plugin %pom_remove_plugin :maven-enforcer-plugin -%pom_remove_parent - -%pom_xpath_inject "pom:project" "org.codehaus.plexus" - %build mkdir -p lib -build-jar-repository -s lib plexus/utils commons-io jsr-305 -%if %{with tests} -build-jar-repository -s lib plexus-containers/plexus-container-default plexus/classworlds -build-jar-repository -s lib guava/guava xbean/xbean-reflect -%endif +build-jar-repository -s lib atinject org.eclipse.sisu.inject plexus/utils commons-io jsr-305 %{ant} \ -%if %{without tests} - -Dtest.skip=true \ -%endif jar javadoc %install @@ -87,7 +68,7 @@ install -dm 0755 %{buildroot}%{_javadir}/plexus install -pm 0644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/plexus/io.jar # pom install -dm 0755 %{buildroot}%{_mavenpomdir}/plexus -install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/plexus/io.pom +%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/plexus/io.pom %add_maven_depmap plexus/io.pom plexus/io.jar # javadoc install -dm 0755 %{buildroot}%{_javadocdir}/%{name} From cf22dad8275f4d9509f3c5d2a9769380306f525fa565e15eb6db3971eacd4844 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 6 Sep 2023 13:34:50 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/plexus-io?expand=0&rev=10 --- plexus-io.changes | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/plexus-io.changes b/plexus-io.changes index 1f75331..d084e4e 100644 --- a/plexus-io.changes +++ b/plexus-io.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Wed Sep 6 13:18:05 UTC 2023 - Fridrich Strba + +- Upgrade to version 3.4.1 +- Changes of 3.4.1 + * Bug Fixes + + Fix symbolic link are being resolved into absolute path +- Changes of 3.4.0 + * New features and improvements + + Drop legacy and make components pure JSR330 + + Restore speed improvements + * Maintenance + + Fix code style +- Changes of 3.3.1 + * Bug Fixes + + Fix symbolic links to directories are not recognized as + directories +- Changes of 3.3.0 + * Plexus IO 3.3.0 requires Java 8. + * New features and improvements + + Plexus IO build is now reproducible + + Various speed improvements + * Bug Fixes + + Fix issue related to symbolic link tests issue + ------------------------------------------------------------------- Tue May 11 20:09:08 UTC 2021 - Fridrich Strba