Disable tests that fail outside the Central European time zone

This commit is contained in:
Mattias Ellert 2014-03-10 19:18:27 +01:00
commit ba70b90bc8
2 changed files with 93 additions and 1 deletions

View file

@ -1,14 +1,18 @@
Name: voms-api-java
Version: 3.0.2
%global tagver %(tr . _ <<< %{version})
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Virtual Organization Membership Service Java API
Group: Development/Libraries
License: ASL 2.0
URL: https://wiki.italiangrid.it/VOMS
Source0: https://github.com/italiangrid/%{name}/archive/%{tagver}.tar.gz
# Patch for bouncycastle 1.47+ (Fedora 21+, EPEL 7+)
Patch0: %{name}-bc147.patch
# Disable tests that fail outside the Central European time zone
# https://github.com/italiangrid/voms-api-java/issues/8
Patch1: %{name}-timezone-dep-test.patch
BuildArch: noarch
BuildRequires: maven-local
@ -58,6 +62,7 @@ Virtual Organization Membership Service (VOMS) Java API Documentation.
%if %{?fedora}%{!?fedora:0} >= 21 || %{?rhel}%{!?rhel:0} >= 7
%patch0 -p1
%endif
%patch1 -p1
%if %{?fedora}%{!?fedora:0}
%pom_xpath_inject "pom:project/pom:build/pom:plugins/pom:plugin[pom:groupId='com.mycila.maven-license-plugin']/pom:configuration/pom:excludes" "<exclude>.xmvn/**</exclude>"
@ -88,6 +93,9 @@ Virtual Organization Membership Service (VOMS) Java API Documentation.
%doc LICENSE
%changelog
* Mon Mar 10 2014 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.0.2-2
- Disable tests that fail outside the Central European time zone
* Sun Mar 09 2014 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.0.2-1
- Update to version 3
- Apply patch for bouncycastle 1.47+ on Fedora 21+ and EPEL 7+