Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package jetbrains-annotations for
openSUSE:Factory checked in at 2023-08-23 14:57:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jetbrains-annotations (Old)
and /work/SRC/openSUSE:Factory/.jetbrains-annotations.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jetbrains-annotations"
Wed Aug 23 14:57:18 2023 rev:3 rq:1105128 version:23.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/jetbrains-annotations/jetbrains-annotations.changes
2022-12-05 18:02:44.881086992 +0100
+++
/work/SRC/openSUSE:Factory/.jetbrains-annotations.new.1766/jetbrains-annotations.changes
2023-08-23 14:58:17.854063447 +0200
@@ -1,0 +2,5 @@
+Mon Aug 21 17:28:40 UTC 2023 - Fridrich Strba <[email protected]>
+
+- Avoid unnecessary use of xmvn-tools for build
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ jetbrains-annotations.spec ++++++
--- /var/tmp/diff_new_pack.4xdEck/_old 2023-08-23 14:58:18.482064569 +0200
+++ /var/tmp/diff_new_pack.4xdEck/_new 2023-08-23 14:58:18.486064577 +0200
@@ -1,7 +1,7 @@
#
# spec file for package jetbrains-annotations
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
-%global oname annotations
Name: jetbrains-annotations
Version: 23.0.0
Release: 0
@@ -29,9 +28,7 @@
Source2: %{name}-build.xml
BuildRequires: ant
BuildRequires: fdupes
-BuildRequires: javapackages-local
-BuildRequires: xmvn-install
-BuildRequires: xmvn-resolve
+BuildRequires: javapackages-local >= 6
BuildArch: noarch
%description
@@ -48,23 +45,27 @@
%setup -q
cp -p %{SOURCE2} build.xml
-%{mvn_file} org.jetbrains:%{oname} %{name}
-%{mvn_alias} org.jetbrains:%{oname} com.intellij:
-
-%{mvn_artifact} %{SOURCE1} target/annotations-%{version}.jar
-
%build
%{ant} jar javadoc
%install
-%mvn_install
+install -dm 0755 %{buildroot}%{_javadir}
+install -pm 0644 target/annotations-%{version}.jar
%{buildroot}%{_javadir}/%{name}.jar
+
+install -dm 0755 %{buildroot}%{_mavenpomdir}
+%{mvn_install_pom} %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}.pom
+%add_maven_depmap %{name}.pom %{name}.jar -a com.intellij:annotations
+
+install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
+cp -r target/site/apidocs %{buildroot}%{_javadocdir}/%{name}
%fdupes -s %{buildroot}%{_javadocdir}
%files -f .mfiles
%license LICENSE.txt
%doc README.md
-%files javadoc -f .mfiles-javadoc
+%files javadoc
+%{_javadocdir}/%{name}
%license LICENSE.txt
%changelog