Initial packaging
This commit is contained in:
parent
d11fcfa246
commit
fa2813e5f0
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
/plexus-xml-3.0.0.tar.gz
|
||||
/plexus-testing-1.3.0.tar.gz
|
8
gating.yaml
Normal file
8
gating.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_contexts:
|
||||
- bodhi_update_push_testing
|
||||
- bodhi_update_push_stable
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/javapackages.functional}
|
7
plans/javapackages.fmf
Normal file
7
plans/javapackages.fmf
Normal file
@ -0,0 +1,7 @@
|
||||
summary: Run javapackages-specific tests
|
||||
discover:
|
||||
how: fmf
|
||||
url: https://src.fedoraproject.org/tests/javapackages
|
||||
ref: f40
|
||||
execute:
|
||||
how: tmt
|
50
plexus-testing.spec
Normal file
50
plexus-testing.spec
Normal file
@ -0,0 +1,50 @@
|
||||
%bcond_with bootstrap
|
||||
|
||||
Name: plexus-testing
|
||||
Version: 1.3.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Plexus Testing
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/codehaus-plexus/plexus-testing
|
||||
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(com.google.inject:guice)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus:pom:)
|
||||
BuildRequires: mvn(org.eclipse.sisu:org.eclipse.sisu.inject)
|
||||
BuildRequires: mvn(org.eclipse.sisu:org.eclipse.sisu.plexus)
|
||||
BuildRequires: mvn(org.junit.jupiter:junit-jupiter-api)
|
||||
%endif
|
||||
|
||||
%description
|
||||
The Plexus Testing contains the necessary classes to be able to test
|
||||
Plexus components.
|
||||
|
||||
%{?javadoc_package}
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{name}-%{version}
|
||||
|
||||
# Some tests rely on Jakarta Injection API, which is not packaged
|
||||
rm src/test/java/org/codehaus/plexus/testing/TestJakartaComponent.java
|
||||
rm src/test/java/org/codehaus/plexus/testing/PlexusTestJakartaTest.java
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Fri Feb 02 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.0-1
|
||||
- Initial packaging
|
Loading…
Reference in New Issue
Block a user