From 88cebbf809a5d74b03186fa203cce633fea45fa6331957d25cc6e54b908fb4c0 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 4 Oct 2024 22:32:50 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/plexus-utils?expand=0&rev=35 --- .gitattributes | 23 ++++++++ .gitignore | 1 + plexus-utils-4.0.1.tar.gz | 3 + plexus-utils-4.0.2.tar.gz | 3 + plexus-utils-build.xml | 120 ++++++++++++++++++++++++++++++++++++++ plexus-utils.changes | 109 ++++++++++++++++++++++++++++++++++ plexus-utils.spec | 79 +++++++++++++++++++++++++ 7 files changed, 338 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 plexus-utils-4.0.1.tar.gz create mode 100644 plexus-utils-4.0.2.tar.gz create mode 100644 plexus-utils-build.xml create mode 100644 plexus-utils.changes create mode 100644 plexus-utils.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/plexus-utils-4.0.1.tar.gz b/plexus-utils-4.0.1.tar.gz new file mode 100644 index 0000000..47e2ae0 --- /dev/null +++ b/plexus-utils-4.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e44d90858b49f795d6b96ff6a254b57954f5b1e840dd19599d53e36f540480ab +size 184483 diff --git a/plexus-utils-4.0.2.tar.gz b/plexus-utils-4.0.2.tar.gz new file mode 100644 index 0000000..0ef59e8 --- /dev/null +++ b/plexus-utils-4.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30cd3fce310a8315db126485a5284770a6c39fa20a2e7eacdab776dc89286dde +size 184599 diff --git a/plexus-utils-build.xml b/plexus-utils-build.xml new file mode 100644 index 0000000..78d6474 --- /dev/null +++ b/plexus-utils-build.xml @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plexus-utils.changes b/plexus-utils.changes new file mode 100644 index 0000000..8e2fd07 --- /dev/null +++ b/plexus-utils.changes @@ -0,0 +1,109 @@ +------------------------------------------------------------------- +Fri Oct 4 22:31:13 UTC 2024 - Fridrich Strba + +- Upgrade to upsteam version 4.0.2 + * Bug Fixes + + Specify /D for cmd.exe to bypass the Command Processor + Autorun folder + * Dependency updates + + Bump org.codehaus.plexus:plexus from 17 to 18 + + Bump org.codehaus.plexus:plexus-xml from 3.0.0 to 3.0.1 + +------------------------------------------------------------------- +Tue Apr 30 14:09:54 UTC 2024 - Fridrich Strba + +- Upgrade to upstream version 4.0.1 + * New features and improvements + + Add .gitignore to default excludes + + downgrade plexus-xml from 4 to 3: keep Maven 3 compatibility + +------------------------------------------------------------------- +Fri Apr 5 08:16:44 UTC 2024 - Fridrich Strba + +- Upgrade to upstream version 4.0.0 + * Starting with version 4, XML classes (in + org.codehaus.plexus.util.xml and + org.codehaus.plexus.util.xml.pull) have been extracted to a + separate plexus-xml: if you need them, just use this new + artifact. + * Other changes: + + Fix false difference detected with + CachingOutputStream/CachingWriter when streams are flushed + + Dependency updates + + Switch to junit 5 + +------------------------------------------------------------------- +Wed May 3 11:08:12 UTC 2023 - Fridrich Strba + +- Upgrade to upstream vesion 3.5.1 + * Changes + + Reading and writing files using Java NIO (#232) + + Partial revert of "Support combine.self='remove'" to fix + MNG-7709 (#241) + + Fix reading comments with UTF chars (fixes #238) (#240) + +------------------------------------------------------------------- +Tue Oct 25 11:01:11 UTC 2022 - Fridrich Strba + +- Upgrade to upstream version 3.5.0 + * Changes of 3.5.0 + + Don't throw IOException when none is required + + Always preserve dominant node value (even if empty) + + Don't overwrite blank (but non-empty) dominant values during + mergeXpp3Dom + + Deprecate isEmpty(String) and isNotEmpty(String) in favour of + same named + + isEmpty(String) must not return false for whitespace-only + values + + Get rid maven-plugin-testing-harness from dependency + * Changes of 3.4.2 + + Provides a CachingOuptutStream and a CachingWriter + + Use (already) precalculated value + + use github shared actions + + MXParser fixes + + Fix last modified time not being updated on linux + + Fix regression and deprecate: FileUtils.fileAppend should + create file + + Fix some testing XML files checkout with incorrect eol + + Fixed regressions: #163 and #194 + + Don't ignore valid SCM files + * Change of 3.4.1 + + Fixes #163: Regression: encoding error when parsing a + ISO-8859-1 xml + +------------------------------------------------------------------- +Wed May 11 14:05:52 UTC 2022 - Fridrich Strba + +- Upgrade to upstream version 3.3.1 + * Fix: Don't ignore valid SCM files + * the latest version supporting Java 8 still + +------------------------------------------------------------------- +Wed Mar 23 23:53:16 UTC 2022 - Fridrich Strba + +- Build with java source and target levels 8 + +------------------------------------------------------------------- +Thu Nov 21 15:05:50 UTC 2019 - Fridrich Strba + +- Upgrade to upstream version 3.3.0 +- Removed patch: + * 0001-Follow-symlinks-in-NioFiles.copy.patch + + not needed with this version + +------------------------------------------------------------------- +Tue Apr 9 16:52:48 UTC 2019 - Fridrich Strba + +- Remove reference to the parent pom since we are not building + using Maven. + +------------------------------------------------------------------- +Sun Mar 3 18:20:04 UTC 2019 - Jan Engelhardt + +- Describe package, not project. + +------------------------------------------------------------------- +Sat Mar 2 13:21:35 UTC 2019 - Fridrich Strba + +- Initial package for plexus-utils 3.1.1 +- Generate and customize ant build file diff --git a/plexus-utils.spec b/plexus-utils.spec new file mode 100644 index 0000000..52b01c0 --- /dev/null +++ b/plexus-utils.spec @@ -0,0 +1,79 @@ +# +# spec file for package plexus-utils +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: plexus-utils +Version: 4.0.2 +Release: 0 +Summary: Plexus Common Utilities +License: Apache-1.1 AND Apache-2.0 AND xpp AND BSD-3-Clause AND SUSE-Public-Domain +Group: Development/Libraries/Java +URL: https://codehaus-plexus.github.io/plexus-utils/ +Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{version}.tar.gz +Source1: %{name}-build.xml +BuildRequires: ant +BuildRequires: fdupes +BuildRequires: javapackages-local >= 6 +BuildRequires: plexus-xml +BuildArch: noarch + +%description +Plexus contains end-to-end developer tools for writing applications. +At the core is the container, which can be embedded or for an +application server. There are many reusable components for hibernate, +form processing, jndi, i18n, velocity, etc. Plexus also includes an +application server which is like a J2EE application server. + +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation/HTML + +%description javadoc +Javadoc for %{name}. + +%prep +%setup -q -n %{name}-%{name}-%{version} + +cp %{SOURCE1} build.xml +mkdir -p lib +build-jar-repository -s lib plexus/xml + +%build +%{ant} jar javadoc + +%install +# jar +install -dm 0755 %{buildroot}%{_javadir}/plexus +install -pm 0644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/plexus/utils.jar +# pom +install -dm 0755 %{buildroot}%{_mavenpomdir}/plexus +%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/plexus/utils.pom +%add_maven_depmap plexus/utils.pom plexus/utils.jar -a plexus:plexus-utils +# javadoc +install -dm 0755 %{buildroot}%{_javadocdir}/%{name} +cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/ +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%doc README.md +%license NOTICE.txt LICENSE.txt + +%files javadoc +%{_javadocdir}/%{name} +%license NOTICE.txt LICENSE.txt + +%changelog