public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/voms-api-java] epel9: Update to version 3.4.0
@ 2026-10-09 18:14 Mattias Ellert
0 siblings, 0 replies; only message in thread
From: Mattias Ellert @ 2026-10-09 18:14 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/voms-api-java
Branch : epel9
Commit : 01c22422d5ef7dc9adbf9e388904d2f51f634558
Author : Mattias Ellert <mattias.ellert@physics.uu.se>
Date : 2026-10-09T20:02:34+02:00
Stats : +27/-20 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/voms-api-java/c/01c22422d5ef7dc9adbf9e388904d2f51f634558?branch=epel9
Log:
Update to version 3.4.0
---
diff --git a/sources b/sources
index 5df8bdb..0487edf 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (voms-api-java-3.3.7.tar.gz) = b623480b972742625e0c7cd95bfefee36a580f743240434d5591a9f35a19977a4d7d3abc90b598666e86f8e6d3a40a6c6ca66e19309a1ea8d2be979af57aaa58
-SHA512 (helper-scripts-master.tar.gz) = 8704b5bdbee360c0db70e6ece2781a385c62c802c9000754f62efbd23bd22542ace77f68b8064661201f441b40234475a005d9f67b50f0aea435636a0a851225
+SHA512 (voms-api-java-3.4.0.tar.gz) = 192c8c08480bbca72948d96ce9f83702fde75ee9901fe244f7dc9a01be50b9ade5b9b4f53d12567a90c6fddca8c2da3d2c062dcfe919a5af70cd64a78e22b657
+SHA512 (helper-scripts-master.tar.gz) = 1b2ec6d053a13cab27bf60d79e63b5443a58dc4828b183bef3d6be18f4626994c39458c7b51442738872911d41af05f201ace732e349eb04e6bd3a6b9ff3e8a5
diff --git a/voms-api-java-test.patch b/voms-api-java-test.patch
index b32fafc..67ceb22 100644
--- a/voms-api-java-test.patch
+++ b/voms-api-java-test.patch
@@ -1,28 +1,28 @@
diff --git a/src/test/java/org/italiangrid/voms/test/ac/TestACValidator.java b/src/test/java/org/italiangrid/voms/test/ac/TestACValidator.java
-index a0f7a87..4244925 100644
+index a80a5e8..5f58a25 100644
--- a/src/test/java/org/italiangrid/voms/test/ac/TestACValidator.java
+++ b/src/test/java/org/italiangrid/voms/test/ac/TestACValidator.java
-@@ -31,6 +31,7 @@ import org.italiangrid.voms.test.utils.Utils;
+@@ -33,6 +33,7 @@ import org.italiangrid.voms.test.utils.Utils;
import org.italiangrid.voms.test.utils.VOMSAA;
- import org.junit.Assert;
- import org.junit.BeforeClass;
-+import org.junit.Ignore;
- import org.junit.Test;
+ import org.junit.jupiter.api.Assertions;
+ import org.junit.jupiter.api.BeforeAll;
++import org.junit.jupiter.api.Disabled;
+ import org.junit.jupiter.api.Test;
- import eu.emi.security.authn.x509.X509CertChainValidatorExt;
-@@ -316,6 +317,7 @@ public class TestACValidator implements Fixture {
+ public class TestACValidator implements Fixture {
+@@ -319,6 +320,7 @@ public class TestACValidator implements Fixture {
}
@Test
-+ @Ignore
++ @Disabled("This test requires network")
public void testTargetValidationSuccess() throws Exception {
VOMSAA aa = Utils.getVOMSAA();
-@@ -342,6 +344,7 @@ public class TestACValidator implements Fixture {
+@@ -349,6 +351,7 @@ public class TestACValidator implements Fixture {
}
@Test
-+ @Ignore
++ @Disabled("This test requires network")
public void testTargetValidationFailure() throws Exception {
VOMSAA aa = Utils.getVOMSAA();
diff --git a/voms-api-java.spec b/voms-api-java.spec
index 2b354af..e14a595 100644
--- a/voms-api-java.spec
+++ b/voms-api-java.spec
@@ -1,6 +1,6 @@
Name: voms-api-java
-Version: 3.3.7
-Release: 4%{?dist}
+Version: 3.4.0
+Release: 1%{?dist}
Summary: Virtual Organization Membership Service Java API
License: Apache-2.0
@@ -14,18 +14,17 @@ Patch0: %{name}-test.patch
BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
-%if %{?fedora}%{!?fedora:0} >= 43
+%if %{?fedora}%{!?fedora:0} >= 43 || %{?rhel}%{!?rhel:0} >= 11
BuildRequires: maven-local-openjdk25
%else
BuildRequires: maven-local
%endif
-BuildRequires: mvn(eu.eu-emi.security:canl) >= 2.8.3
-BuildRequires: mvn(junit:junit)
-BuildRequires: mvn(org.hamcrest:hamcrest-library)
+BuildRequires: mvn(eu.eu-emi.security:canl) >= 2.9.0
+BuildRequires: mvn(org.junit.jupiter:junit-jupiter-api)
BuildRequires: mvn(org.mockito:mockito-core)
BuildRequires: faketime
BuildRequires: openssl
-Requires: mvn(eu.eu-emi.security:canl) >= 2.8.3
+Requires: mvn(eu.eu-emi.security:canl) >= 2.9.0
%description
The Virtual Organization Membership Service (VOMS) is an attribute authority
@@ -63,6 +62,11 @@ Virtual Organization Membership Service (VOMS) Java API Documentation.
%pom_change_dep org.bouncycastle:bcpkix-jdk18on org.bouncycastle:bcpkix-jdk15on
%endif
+%if ! ( %{?fedora}%{!?fedora:0} >= 44 || %{?rhel}%{!?rhel:0} >= 11 )
+sed 's!getKeyIdentifierOctets!getKeyIdentifier!' -i \
+ src/main/java/org/italiangrid/voms/ac/impl/DefaultVOMSValidationStrategy.java
+%endif
+
# Generate test certificates
export PATH=$PWD/helper-scripts-master/x509-scripts/scripts:$PATH
pushd src/test/resources
@@ -83,6 +87,9 @@ popd
%license LICENSE
%changelog
+* Fri Oct 09 2026 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.4.0-1
+- Update to version 3.4.0
+
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-09 18:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09 18:14 [rpms/voms-api-java] epel9: Update to version 3.4.0 Mattias Ellert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox