Accepting request 1205263 from Java:packages

Spec file cleanup

OBS-URL: https://build.opensuse.org/request/show/1205263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jboss-interceptors-1.2-api?expand=0&rev=4
This commit is contained in:
Ana Guerrero 2024-10-02 19:35:53 +00:00 committed by Git OBS Bridge
commit 3a94570440
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 2 15:51:03 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Spec file cleanup
-------------------------------------------------------------------
Mon Apr 15 07:08:32 UTC 2024 - ming li <mli@suse.com>

View File

@ -30,7 +30,7 @@ Source0: https://github.com/jboss/jboss-interceptors-api_spec/archive/jbo
Source1: %{name}-build.xml
BuildRequires: ant
BuildRequires: fdupes
BuildRequires: javapackages-local
BuildRequires: javapackages-local >= 6
BuildArch: noarch
%description
@ -64,7 +64,7 @@ install -pm 0644 target/%{oname}-%{namedversion}.jar %{buildroot}%{_javadir}/%{o
ln -sf %{oname}.jar %{buildroot}%{_javadir}/%{name}.jar
# pom
install -dm 0755 %{buildroot}%{_mavenpomdir}
install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{oname}.pom
%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{oname}.pom
%add_maven_depmap %{oname}.pom %{oname}.jar
# javadoc
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}