4 Commits

2 changed files with 14 additions and 1 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Jul 3 09:57:47 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Specify the right version in pom file
-------------------------------------------------------------------
Thu May 1 07:51:04 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Explicitely declare jsr305 build requirement
-------------------------------------------------------------------
Fri Nov 3 23:15:46 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package s2-geometry-library-java
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@ URL: http://s2geometry.io/
Source0: https://github.com/google/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: maven-local
BuildRequires: mvn(com.google.code.findbugs:jsr305)
BuildRequires: mvn(com.google.errorprone:error_prone_annotations)
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
BuildArch: noarch
@@ -46,6 +47,8 @@ API documentation for %{name}.
%prep
%setup -q
%pom_xpath_set pom:project/pom:version %{version}
%pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin :maven-javadoc-plugin