Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package opentest4j for openSUSE:Factory 
checked in at 2024-10-02 21:36:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opentest4j (Old)
 and      /work/SRC/openSUSE:Factory/.opentest4j.new.19354 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "opentest4j"

Wed Oct  2 21:36:02 2024 rev:6 rq:1205272 version:1.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/opentest4j/opentest4j.changes    2023-10-17 
20:25:36.256554721 +0200
+++ /work/SRC/openSUSE:Factory/.opentest4j.new.19354/opentest4j.changes 
2024-10-02 21:36:20.089741194 +0200
@@ -1,0 +2,5 @@
+Wed Oct  2 15:55:50 UTC 2024 - Fridrich Strba <fst...@suse.com>
+
+- Spec file cleanup
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ opentest4j.spec ++++++
--- /var/tmp/diff_new_pack.orjcmc/_old  2024-10-02 21:36:20.685765984 +0200
+++ /var/tmp/diff_new_pack.orjcmc/_new  2024-10-02 21:36:20.689766150 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package opentest4j
 #
-# Copyright (c) 2023 SUSE LLC
+# 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
@@ -30,7 +30,7 @@
 BuildRequires:  ant
 BuildRequires:  fdupes
 BuildRequires:  java-devel >= 1.8
-BuildRequires:  javapackages-local
+BuildRequires:  javapackages-local >= 6
 BuildArch:      noarch
 %if %{with tests}
 BuildRequires:  ant-junit
@@ -60,37 +60,6 @@
 cp %{SOURCE1} build.xml
 cp %{SOURCE100} pom.xml
 
-%pom_add_dep junit:junit::test
-
-%pom_xpath_inject pom:project "
-  <build>
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <artifactId>maven-jar-plugin</artifactId>
-          <configuration>
-            <archive>
-              <manifestEntries>
-                <Automatic-Module-Name>org.opentest4j</Automatic-Module-Name>
-                <Implementation-Title>opentest4j</Implementation-Title>
-                <Implementation-Vendor>opentest4j.org</Implementation-Vendor>
-                <Implementation-Version>%{version}</Implementation-Version>
-                <Specification-Title>opentest4j</Specification-Title>
-                <Specification-Vendor>opentest4j.org</Specification-Vendor>
-                <Specification-Version>%{version}</Specification-Version>
-                <!-- OSGi metadata required by Eclipse -->
-                <Bundle-ManifestVersion>2</Bundle-ManifestVersion>
-                <Bundle-SymbolicName>org.opentest4j</Bundle-SymbolicName>
-                <Bundle-Version>%{version}</Bundle-Version>
-                
<Export-Package>org.opentest4j;version=\"%{version}\"</Export-Package>
-              </manifestEntries>
-            </archive>
-          </configuration>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-  </build>"
-
 %build
 %{ant} \
 %if %{without tests}
@@ -104,7 +73,7 @@
 install -pm 0644 target/%{name}-%{version}.jar 
%{buildroot}%{_javadir}/%{name}/%{name}.jar
 # pom
 install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
-install -pm 0644 %{SOURCE100} %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
+%{mvn_install_pom} %{SOURCE100} %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
 %add_maven_depmap %{name}/%{name}.pom %{name}/%{name}.jar
 # javadoc
 install -dm 0755 %{buildroot}%{_javadocdir}/%{name}

Reply via email to