Adapt to canl-java 2.5
Use jcip-annotations for EPEL 7 build
This commit is contained in:
commit
397f73a1c4
2 changed files with 218 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
|||
Name: voms-api-java
|
||||
Version: 3.2.0
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Virtual Organization Membership Service Java API
|
||||
|
||||
License: ASL 2.0
|
||||
|
|
@ -8,14 +8,16 @@ URL: https://wiki.italiangrid.it/VOMS
|
|||
Source0: https://github.com/italiangrid/%{name}/archive/v%{version}.tar.gz
|
||||
# Disable tests using non-local network interface
|
||||
Patch0: %{name}-no-local.patch
|
||||
# Adapt to canl-java version 2.5
|
||||
Patch1: %{name}-canl-2.5.patch
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(eu.eu-emi.security:canl)
|
||||
BuildRequires: mvn(eu.eu-emi.security:canl) >= 2.5
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.mockito:mockito-core)
|
||||
BuildRequires: mvn(com.mycila.maven-license-plugin:maven-license-plugin)
|
||||
BuildRequires: mvn(net.jcip:jcip-annotations)
|
||||
Requires: mvn(eu.eu-emi.security:canl) >= 2.5
|
||||
|
||||
%description
|
||||
The Virtual Organization Membership Service (VOMS) is an attribute authority
|
||||
|
|
@ -36,20 +38,25 @@ Virtual Organization Membership Service (VOMS) Java API Documentation.
|
|||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
# Do not create source jars
|
||||
%pom_remove_plugin org.apache.maven.plugins:maven-source-plugin
|
||||
|
||||
# Cobertura no longer in Fedora due to licensing issues
|
||||
%pom_remove_plugin org.codehaus.mojo:cobertura-maven-plugin
|
||||
|
||||
%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>"
|
||||
%pom_xpath_remove "pom:project/pom:build/pom:plugins/pom:plugin[pom:groupId='com.mycila.maven-license-plugin']/pom:configuration/pom:strictCheck"
|
||||
# Remove license plugin
|
||||
%pom_remove_plugin com.mycila.maven-license-plugin:maven-license-plugin
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
%mvn_install -J target/site/javadoc/apidocs
|
||||
|
||||
%files -f .mfiles
|
||||
%dir %{_javadir}/%{name}
|
||||
%doc AUTHORS README.md
|
||||
%license LICENSE
|
||||
|
||||
|
|
@ -57,6 +64,10 @@ Virtual Organization Membership Service (VOMS) Java API Documentation.
|
|||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Fri Jan 05 2018 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.2.0-5
|
||||
- Adapt to canl-java 2.5
|
||||
- Use jcip-annotations for EPEL 7 build
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
|
|
@ -70,6 +81,10 @@ Virtual Organization Membership Service (VOMS) Java API Documentation.
|
|||
- Update to version 3.2.0 - matches canl-java 2.2.x
|
||||
- Drop patches: voms-api-java-bc147.patch, -javadoc.patch and -testfix.patch
|
||||
|
||||
* Sun Feb 14 2016 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.1.0-1
|
||||
- Update to version 3.1.0 - matches canl-java 2.1.x
|
||||
- Drop patches: voms-api-java-bc147.patch and -javadoc.patch
|
||||
|
||||
* Thu Feb 11 2016 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.0.5-5
|
||||
- Backport fix for failing test due to new canl-java version
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue