From 1a378a3693b2210327b25ff79c8937e6e97def9d Mon Sep 17 00:00:00 2001 From: Marian Koncek Date: Thu, 16 Feb 2023 10:09:20 +0100 Subject: [PATCH] Change packaging to jar instead of bundle --- junit.spec | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/junit.spec b/junit.spec index 6cbe034..020fa3c 100644 --- a/junit.spec +++ b/junit.spec @@ -3,7 +3,7 @@ Name: junit Epoch: 1 Version: 4.13.1 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Java regression test package License: EPL-1.0 URL: http://www.junit.org/ @@ -20,7 +20,6 @@ Patch1: 0001-Port-to-hamcrest-2.2.patch BuildRequires: javapackages-bootstrap %else BuildRequires: maven-local -BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) BuildRequires: mvn(org.hamcrest:hamcrest-core) %endif @@ -66,23 +65,6 @@ sed s/@version@/%{version}/ src/main/java/junit/runner/Version.java.template >sr # Removing hamcrest source jar references (not available and/or necessary) %pom_remove_plugin :maven-javadoc-plugin -# Add proper Apache Felix Bundle Plugin instructions -# so that we get a reasonable OSGi manifest. -%pom_xpath_inject pom:project "bundle" -%pom_xpath_inject pom:build/pom:plugins " - - org.apache.felix - maven-bundle-plugin - true - - - org.junit - {local-packages},!org.hamcrest*,*;x-internal:=true - <_nouses>true - - - " - %mvn_file : %{name} %mvn_alias junit:junit junit:junit-dep @@ -105,6 +87,9 @@ sed s/@version@/%{version}/ src/main/java/junit/runner/Version.java.template >sr %doc doc/* %changelog +* Thu Feb 16 2023 Marian Koncek - 1:4.13.1-11 +- Change packaging to jar instead of bundle + * Thu Jan 19 2023 Fedora Release Engineering - 1:4.13.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild