Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package velocity-master for openSUSE:Factory
checked in at 2022-04-20 16:54:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/velocity-master (Old)
and /work/SRC/openSUSE:Factory/.velocity-master.new.1941 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "velocity-master"
Wed Apr 20 16:54:44 2022 rev:2 rq:970686 version:4
Changes:
--------
--- /work/SRC/openSUSE:Factory/velocity-master/velocity-master.changes
2021-12-12 21:28:35.624376523 +0100
+++
/work/SRC/openSUSE:Factory/.velocity-master.new.1941/velocity-master.changes
2022-04-20 16:54:47.886481144 +0200
@@ -1,0 +2,5 @@
+Wed Apr 13 09:38:42 UTC 2022 - Stefan Bluhm <[email protected]>
+
+- Added build capability for Enterprise Linux 9.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ velocity-master.spec ++++++
--- /var/tmp/diff_new_pack.G7Ej1C/_old 2022-04-20 16:54:48.450481671 +0200
+++ /var/tmp/diff_new_pack.G7Ej1C/_new 2022-04-20 16:54:48.454481674 +0200
@@ -25,7 +25,11 @@
Source0:
https://repo1.maven.org/maven2/org/apache/velocity/%{name}/%{version}/%{name}-%{version}.pom
Source1: https://www.apache.org/licenses/LICENSE-2.0.txt
BuildRequires: javapackages-local
+%if 0%{?rhel} >= 9
+BuildRequires: xmvn-tools
+%else
BuildRequires: xmvn-resolve
+%endif
BuildRequires: mvn(org.apache:apache:pom:)
BuildArch: noarch
@@ -36,13 +40,20 @@
%setup -q -c -T
cp %{SOURCE0} pom.xml
cp %{SOURCE1} LICENSE
+%if 0%{?rhel}
+%mvn_artifact pom.xml
+%endif
%build
%install
+%if 0%{?rhel}
+%mvn_install
+%else
install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
%add_maven_depmap %{name}/%{name}.pom
+%endif
%files -f .mfiles
%license LICENSE