Import from Fedora

This commit is contained in:
Johnny Hughes 2025-01-15 12:54:44 -06:00
commit 49666eb60d
7 changed files with 83 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/plexus-xml-3.0.0.tar.gz
/plexus-xml-3.0.1.tar.gz

1
ci.fmf Normal file
View File

@ -0,0 +1 @@
resultsdb-testcase: separate

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-9
decision_contexts:
- osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/javapackages.functional}

7
plans/javapackages.fmf Normal file
View File

@ -0,0 +1,7 @@
summary: Run javapackages-specific tests
discover:
how: fmf
url: https://src.fedoraproject.org/tests/javapackages
ref: c9s
execute:
how: tmt

64
plexus-xml.spec Normal file
View File

@ -0,0 +1,64 @@
%bcond_with bootstrap
Name: plexus-xml
Version: 3.0.1
Release: 4%{?dist}
Summary: Plexus XML Utilities
# Licensing breakdown:
# Apache-1.1: src/main/java/org/codehaus/plexus/util/xml/StringUtils.java
# xpp: src/main/java/org/codehaus/plexus/util/xml/pull/MXParser.java
# Everything else is Apache-2.0
License: Apache-1.1 AND Apache-2.0 AND xpp
URL: https://codehaus-plexus.github.io/plexus-xml/
BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{version}.tar.gz
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: maven-local
BuildRequires: mvn(org.codehaus.plexus:plexus:pom:)
%endif
%description
A collection of various utility classes to ease working with XML.
%package javadoc
Summary: API documentation for %{name}
%description javadoc
API documentation for %{name}.
%prep
%autosetup -p1 -n %{name}-%{name}-%{version}
%build
# Test dependencies are not packaged
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%doc README.md
%license NOTICE.txt LICENSE.txt
%files javadoc -f .mfiles-javadoc
%changelog
* Fri Nov 29 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0.1-3
- Update javapackages test plan to f42
* Wed Aug 21 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0.1-1
- Update to upstream version 3.0.1
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Feb 23 2024 Jiri Vanek <jvanek@redhat.com> - 3.0.0-2
- bump of release for for java-21-openjdk as system jdk
* Fri Feb 2 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0.0-1
- Initial packaging

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (plexus-xml-3.0.1.tar.gz) = cf2096d3ebfed5acdc4cb41d16ff46f144e2eae84f5a2896e14946c4ab5d9af72cff43faa8f97add5f9a57dd2718f8d327846ffcc9d67a288692794f6840253f