Compare commits

...
Sign in to create a new pull request.

32 commits

Author SHA1 Message Date
Fedora Release Engineering
93c852ee90 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:36:58 +00:00
Yaakov Selkowitz
dbd483693b Rebuilt for openssl 4.0 2026-06-12 20:03:33 -04:00
Fedora Release Engineering
77a3fe9b48 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 20:02:51 +00:00
Mattias Ellert
0eaf9e6dac Update to version 3.3.7 2025-12-21 05:19:55 +01:00
Mattias Ellert
280976e075 Include upstream's scripts for generating test certificates
Enable tests again
2025-09-09 11:22:20 +02:00
Mattias Ellert
4557e74042 Update to version 3.3.6 2025-08-05 13:40:48 +02:00
Jiri Vanek
de79684470 Rebuilt for java-25-openjdk as preffered jdk
https://fedoraproject.org/wiki/Changes/Java25AndNoMoreSystemJdk
Note, that since f43, you should be always explicit on what jdk to use.
This commit should do exactly that.
2025-07-30 01:27:30 +02:00
Fedora Release Engineering
e7a46d59b0 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:13:04 +00:00
Mattias Ellert
e4da0a1d30 Update URL tag 2025-04-22 22:39:09 +02:00
Mattias Ellert
180d7d5305 Update to version 3.3.5
Do not run tests
  some scripts needed for generating the test certificates are missing
2025-04-19 14:57:31 +02:00
Fedora Release Engineering
de2ac5cbb8 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 14:36:04 +00:00
Mattias Ellert
3d0e3dc73e Update bouncycastle dependencies for EPEL 10 2024-11-28 14:21:03 +01:00
Mattias Ellert
d1636a0919 Update to version 3.3.3 2024-08-03 23:08:44 +02:00
Fedora Release Engineering
1d31450288 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 08:59:50 +00:00
Mattias Ellert
3881397d14 Update bouncycastle dependencies 2024-03-14 21:20:34 +01:00
Jiri
e9ff4f0095 Rebuilt for java-21-openjdk as system jdk
https://fedoraproject.org/wiki/Changes/Java21
2024-03-02 21:39:25 +01:00
Jiri Vanek
afce15368b Rebuilt for java-21-openjdk as system jdk
https://fedoraproject.org/wiki/Changes/Java21
2024-02-27 18:27:56 +01:00
Fedora Release Engineering
3fd8597a56 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 08:10:56 +00:00
Mattias Ellert
73096e7c37 Adjust to removed deprecaded API in Mockito 2023-12-16 20:45:31 +01:00
Fedora Release Engineering
fa89eafea6 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 17:51:10 +00:00
Fedora Release Engineering
832d3d37c8 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 06:29:06 +00:00
Mattias Ellert
fc44e8d912 Disable tests that fail due to more expired certificates 2022-12-13 07:39:11 +01:00
Mattias Ellert
d311afd85f Disable tests that fail due to expired certificates 2022-10-18 05:41:19 +02:00
Mattias Ellert
2addb062e3 Bump release 2022-09-28 16:53:36 +02:00
Mattias Ellert
6673df8150 Disable failing multi-thread test
Disable tests using obsolete hashes (md5/sha1)
2022-09-28 15:51:24 +02:00
Fedora Release Engineering
d3199e1cca Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 12:05:38 +00:00
Mattias Ellert
1c47cf4074 mixed-use-of-spaces-and-tabs 2022-07-18 23:52:32 +02:00
Jiri
c83aa15b2a Rebuilt for Drop i686 JDKs
https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
2022-07-08 16:58:45 +02:00
Jiri
5d03c7adbf Rebuilt for java-17-openjdk as system jdk
https://fedoraproject.org/wiki/Changes/Java17
2022-02-06 00:35:18 +01:00
Fedora Release Engineering
c910482e8d - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 04:09:47 +00:00
Mattias Ellert
802372a16f Disable failing tests due to changes in bouncycastle 2022-01-14 09:15:19 +01:00
Fedora Release Engineering
cb56554d95 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 20:39:01 +00:00
3 changed files with 152 additions and 20 deletions

View file

@ -1 +1,2 @@
SHA512 (voms-api-java-3.3.2.tar.gz) = 7de09abd3e1605a7596c29bb0f16553945d6c13098c667451580ed4e22a671814db254355b56ec12696fce011854487510fb9e627e4f13474fbfedec6db1c422 SHA512 (voms-api-java-3.3.7.tar.gz) = b623480b972742625e0c7cd95bfefee36a580f743240434d5591a9f35a19977a4d7d3abc90b598666e86f8e6d3a40a6c6ca66e19309a1ea8d2be979af57aaa58
SHA512 (helper-scripts-master.tar.gz) = 8704b5bdbee360c0db70e6ece2781a385c62c802c9000754f62efbd23bd22542ace77f68b8064661201f441b40234475a005d9f67b50f0aea435636a0a851225

28
voms-api-java-test.patch Normal file
View file

@ -0,0 +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
--- 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;
import org.italiangrid.voms.test.utils.VOMSAA;
import org.junit.Assert;
import org.junit.BeforeClass;
+import org.junit.Ignore;
import org.junit.Test;
import eu.emi.security.authn.x509.X509CertChainValidatorExt;
@@ -316,6 +317,7 @@ public class TestACValidator implements Fixture {
}
@Test
+ @Ignore
public void testTargetValidationSuccess() throws Exception {
VOMSAA aa = Utils.getVOMSAA();
@@ -342,6 +344,7 @@ public class TestACValidator implements Fixture {
}
@Test
+ @Ignore
public void testTargetValidationFailure() throws Exception {
VOMSAA aa = Utils.getVOMSAA();

View file

@ -1,19 +1,31 @@
Name: voms-api-java Name: voms-api-java
Version: 3.3.2 Version: 3.3.7
Release: 2%{?dist} Release: 4%{?dist}
Summary: Virtual Organization Membership Service Java API Summary: Virtual Organization Membership Service Java API
License: ASL 2.0 License: Apache-2.0
URL: https://wiki.italiangrid.it/VOMS URL: https://github.com/italiangrid/%{name}
Source0: https://github.com/italiangrid/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch # Helper scripts for generating test certificates
Source1: https://baltig.infn.it/mw-devel/helper-scripts/-/archive/master/helper-scripts-master.tar.gz
# Disable tests requiring non-local network
Patch0: %{name}-test.patch
BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
%if %{?fedora}%{!?fedora:0} >= 43
BuildRequires: maven-local-openjdk25
%else
BuildRequires: maven-local BuildRequires: maven-local
BuildRequires: mvn(eu.eu-emi.security:canl) >= 2.6 %endif
BuildRequires: mvn(eu.eu-emi.security:canl) >= 2.8.3
BuildRequires: mvn(junit:junit) BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.hamcrest:hamcrest-library) BuildRequires: mvn(org.hamcrest:hamcrest-library)
BuildRequires: mvn(org.mockito:mockito-core) BuildRequires: mvn(org.mockito:mockito-core)
Requires: mvn(eu.eu-emi.security:canl) >= 2.6 BuildRequires: faketime
BuildRequires: openssl
Requires: mvn(eu.eu-emi.security:canl) >= 2.8.3
%description %description
The Virtual Organization Membership Service (VOMS) is an attribute authority The Virtual Organization Membership Service (VOMS) is an attribute authority
@ -32,29 +44,30 @@ Summary: Virtual Organization Membership Service Java API Documentation
Virtual Organization Membership Service (VOMS) Java API Documentation. Virtual Organization Membership Service (VOMS) Java API Documentation.
%prep %prep
%setup -q %setup -q -a 1
%patch -P0 -p1
# Remove unused dependency # Remove unused dependency
%pom_remove_dep net.jcip:jcip-annotations %pom_remove_dep net.jcip:jcip-annotations
# Use default location for javadoc output
%pom_xpath_remove "//pom:plugin[pom:artifactId='maven-javadoc-plugin']/pom:configuration/pom:outputDirectory"
%pom_xpath_remove "//pom:plugin[pom:artifactId='maven-javadoc-plugin']/pom:configuration/pom:reportOutputDirectory"
%if %{?fedora}%{!?fedora:0} >= 33 || %{?rhel}%{!?rhel:0} >= 8
# F33+ and EPEL8+ doesn't use the maven-javadoc-plugin to generate javadoc # F33+ and EPEL8+ doesn't use the maven-javadoc-plugin to generate javadoc
# Remove maven-javadoc-plugin configuration to avoid build failure # Remove maven-javadoc-plugin configuration to avoid build failure
%pom_remove_plugin org.apache.maven.plugins:maven-javadoc-plugin %pom_remove_plugin org.apache.maven.plugins:maven-javadoc-plugin
%endif
# Do not create source jars # Do not create source jars
%pom_remove_plugin org.apache.maven.plugins:maven-source-plugin %pom_remove_plugin org.apache.maven.plugins:maven-source-plugin
# Cobertura no longer in Fedora due to licensing issues %if %{?rhel}%{!?rhel:0} == 9
%pom_remove_plugin org.codehaus.mojo:cobertura-maven-plugin # Modify bouncycastle dependencies for RHEL 9
%pom_change_dep org.bouncycastle:bcprov-jdk18on org.bouncycastle:bcprov-jdk15on
%pom_change_dep org.bouncycastle:bcpkix-jdk18on org.bouncycastle:bcpkix-jdk15on
%endif
# Remove license plugin # Generate test certificates
%pom_remove_plugin com.mycila.maven-license-plugin:maven-license-plugin export PATH=$PWD/helper-scripts-master/x509-scripts/scripts:$PATH
pushd src/test/resources
./setup.sh
popd
%build %build
%mvn_build %mvn_build
@ -63,7 +76,6 @@ Virtual Organization Membership Service (VOMS) Java API Documentation.
%mvn_install %mvn_install
%files -f .mfiles %files -f .mfiles
%dir %{_javadir}/%{name}
%doc AUTHORS README.md %doc AUTHORS README.md
%license LICENSE %license LICENSE
@ -71,6 +83,97 @@ Virtual Organization Membership Service (VOMS) Java API Documentation.
%license LICENSE %license LICENSE
%changelog %changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jun 13 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 3.3.7-3
- Rebuilt for openssl 4.0
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Sat Dec 20 2025 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.3.7-1
- Update to version 3.3.7
* Mon Sep 08 2025 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.3.6-2
- Include upstream's scripts for generating test certificates
- Enable tests again
* Tue Aug 05 2025 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.3.6-1
- Update to version 3.3.6
* Tue Jul 29 2025 jiri vanek <jvanek@redhat.com> - 3.3.5-4
- Rebuilt for java-25-openjdk as preffered jdk
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Apr 22 2025 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.3.5-2
- Update URL tag
* Thu Apr 17 2025 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.3.5-1
- Update to version 3.3.5
- Do not run tests
- some scripts needed for generating the test certificates are missing
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Nov 28 2024 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.3.3-2
- Update bouncycastle dependencies for EPEL 10
* Sat Aug 03 2024 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.3.3-1
- Update to version 3.3.3
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.2-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu Mar 14 2024 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.3.2-17
- Update bouncycastle dependencies
* Tue Feb 27 2024 Jiri Vanek <jvanek@redhat.com> - 3.3.2-16
- Rebuilt for java-21-openjdk as system jdk
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.2-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Dec 16 2023 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.3.2-14
- Adjust to removed deprecaded API in Mockito
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.2-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.2-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Dec 13 2022 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.3.2-11
- Disable tests that fail due to more expired certificates
* Mon Oct 17 2022 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.3.2-10
- Disable tests that fail due to expired certificates
* Wed Sep 28 2022 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.3.2-9
- Disable failing multi-thread test
- Disable tests using obsolete hashes (md5/sha1)
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jul 08 2022 Jiri Vanek <jvanek@redhat.com> - 3.3.2-7
- Rebuilt for Drop i686 JDKs
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 3.3.2-6
- Rebuilt for java-17-openjdk as system jdk
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jan 14 2022 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.3.2-4
- Disable failing tests due to changes in bouncycastle
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.2-2 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild