Accepting request 970686 from Java:packages
OBS-URL: https://build.opensuse.org/request/show/970686 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/velocity-master?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 13 09:38:42 UTC 2022 - Stefan Bluhm <stefan.bluhm@clacee.eu>
|
||||
|
||||
- Added build capability for Enterprise Linux 9.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 2 11:28:49 UTC 2021 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
@@ -25,7 +25,11 @@ Group: Development/Libraries/Java
|
||||
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 @@ Master POM for Velocity.
|
||||
%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
|
||||
|
Reference in New Issue
Block a user