Compare commits

1 Commits
main ... 1.1

2 changed files with 4 additions and 10 deletions

View File

@@ -1,8 +1,3 @@
-------------------------------------------------------------------
Wed Oct 2 15:38:08 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Spec file cleanup
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 17 11:36:37 UTC 2022 - Fridrich Strba <fstrba@suse.com> Tue May 17 11:36:37 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package checker-qual # spec file for package j2objc-annotations
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -28,8 +28,7 @@ Source1: https://repo1.maven.org/maven2/org/checkerframework/%{name}/%{ve
Source2: %{name}-build.xml Source2: %{name}-build.xml
BuildRequires: ant BuildRequires: ant
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: java-devel >= 1.8 BuildRequires: java-devel >= 1.8 javapackages-local
BuildRequires: javapackages-local >= 6
BuildArch: noarch BuildArch: noarch
%description %description
@@ -58,7 +57,7 @@ install -d -m 0755 %{buildroot}%{_javadir}
install -p -m 0644 %{name}/target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar install -p -m 0644 %{name}/target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
# pom # pom
install -d -m 755 %{buildroot}%{_mavenpomdir} install -d -m 755 %{buildroot}%{_mavenpomdir}
%{mvn_install_pom} %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}.pom install -pm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}.pom
%add_maven_depmap %{name}.pom %{name}.jar %add_maven_depmap %{name}.pom %{name}.jar
# javadoc # javadoc
install -d -m 755 %{buildroot}%{_javadocdir}/%{name} install -d -m 755 %{buildroot}%{_javadocdir}/%{name}