Accepting request 1205280 from Java:packages

Spec file cleanup

OBS-URL: https://build.opensuse.org/request/show/1205280
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/picocli?expand=0&rev=10
This commit is contained in:
Ana Guerrero 2024-10-02 19:36:07 +00:00 committed by Git OBS Bridge
commit 29224bbfa2
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 2 15:59:18 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Spec file cleanup
-------------------------------------------------------------------
Mon Apr 29 11:53:54 UTC 2024 - Fridrich Strba <fstrba@suse.com>

View File

@ -35,7 +35,7 @@ BuildRequires: ant
BuildRequires: aqute-bnd
BuildRequires: fdupes
BuildRequires: java-devel >= 9
BuildRequires: javapackages-local
BuildRequires: javapackages-local >= 6
BuildRequires: jline >= 2
Requires: java-headless >= 1.8
BuildArch: noarch
@ -110,9 +110,9 @@ install -pm0644 target/%{name}-shell-jline2-%{version}.jar %{buildroot}%{_javadi
#pom
install -dm0755 %{buildroot}%{_mavenpomdir}/%{name}
install -pm0644 %{SOURCE2} %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
install -pm0644 %{SOURCE3} %{buildroot}%{_mavenpomdir}/%{name}/%{name}-codegen.pom
install -pm0644 %{SOURCE4} %{buildroot}%{_mavenpomdir}/%{name}/%{name}-shell-jline2.pom
%{mvn_install_pom} %{SOURCE2} %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
%{mvn_install_pom} %{SOURCE3} %{buildroot}%{_mavenpomdir}/%{name}/%{name}-codegen.pom
%{mvn_install_pom} %{SOURCE4} %{buildroot}%{_mavenpomdir}/%{name}/%{name}-shell-jline2.pom
%add_maven_depmap %{name}/%{name}.pom %{name}/%{name}.jar
%add_maven_depmap %{name}/%{name}-codegen.pom %{name}/%{name}-codegen.jar -f codegen