diff --git a/hibernate-validator.spec b/hibernate-validator.spec index 7653c84..1b950aa 100644 --- a/hibernate-validator.spec +++ b/hibernate-validator.spec @@ -3,14 +3,13 @@ %global majorversion 5 Name: hibernate-validator Version: 5.0.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Bean Validation 1.1 (JSR 349) Reference Implementation License: ASL 2.0 URL: http://www.hibernate.org/subprojects/validator.html Source0: https://github.com/hibernate/hibernate-validator/archive/%{namedversion}.tar.gz # JAXB2 and JDK7 problems see https://hibernate.atlassian.net/browse/HV-528 Patch0: %{name}-5.0.1.Final-jaxb.patch -BuildRequires: java-devel BuildRequires: cdi-api BuildRequires: bean-validation-api @@ -139,6 +138,11 @@ find . -name "*.jar" -delete %pom_disable_module integration %pom_disable_module tck-runner +%pom_xpath_inject "pom:build/pom:pluginManagement/pom:plugins/pom:plugin[pom:artifactId='maven-javadoc-plugin']/pom:configuration" " +*.internal.*" + +%pom_xpath_inject "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-javadoc-plugin']/pom:configuration" " +*.internal.*" engine %build %mvn_package ":%{name}-parent" %{name} @@ -154,29 +158,34 @@ install -m 644 engine/target/hibernate-validator-%{namedversion}-testing.jar \ %files -f .mfiles-%{name} %dir %{_javadir}/%{name} %{_javadir}/%{name}/%{name}-testing.jar -%doc CONTRIBUTING.md README.md changelog.txt copyright.txt license.txt +%doc CONTRIBUTING.md README.md changelog.txt +%license copyright.txt license.txt %files annotation-processor -f .mfiles-%{name}-annotation-processor -%doc license.txt +%license copyright.txt license.txt %files cdi -f .mfiles-%{name}-cdi -%doc license.txt +%license copyright.txt license.txt %files performance -f .mfiles-%{name}-performance -%doc license.txt +%license copyright.txt license.txt %if 0 %files integration -f .mfiles-%{name}-integrationtest-as -%doc license.txt +%license copyright.txt license.txt %files tck-runner -f .mfiles-%{name}-tck-runner -%doc license.txt +%license copyright.txt license.txt %endif %files javadoc -f .mfiles-javadoc -%doc license.txt +%license copyright.txt license.txt %changelog +* Sun Feb 15 2015 gil cattaneo 5.0.1-4 +- fix for RHBZ#1106763 (F21FTBFS) +- introduce license macro + * Sat Jun 07 2014 Fedora Release Engineering - 5.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild