diff --git a/.devtoolset-4-bean-validation-api.metadata b/.devtoolset-4-bean-validation-api.metadata new file mode 100644 index 0000000..9a855c6 --- /dev/null +++ b/.devtoolset-4-bean-validation-api.metadata @@ -0,0 +1 @@ +9475082a4bcfd05e623a001348bd396b439e61e0 SOURCES/1.1.0.Final.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5e4dadc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/1.1.0.Final.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/bean-validation-api.spec b/SPECS/bean-validation-api.spec new file mode 100644 index 0000000..5d3d7f1 --- /dev/null +++ b/SPECS/bean-validation-api.spec @@ -0,0 +1,112 @@ +%{?scl:%scl_package bean-validation-api} +%{!?scl:%global pkg_name %{name}} +%{?java_common_find_provides_and_requires} + +%global namedreltag .Final +%global namedversion %{version}%{?namedreltag} + +Name: %{?scl_prefix}bean-validation-api +Version: 1.1.0 +Release: 4.2%{?dist} +Summary: Bean Validation API (JSR 349) +License: ASL 2.0 +URL: http://beanvalidation.org/ +Source0: https://github.com/beanvalidation/beanvalidation-api/archive/%{namedversion}.tar.gz + + + +# test deps +BuildRequires: %{?scl_prefix_maven}mvn(org.testng:testng) + +BuildRequires: %{?scl_prefix_java_common}maven-local +BuildRequires: %{?scl_prefix_maven}maven-plugin-bundle +BuildRequires: %{?scl_prefix_maven}maven-surefire-provider-testng + +BuildArch: noarch + +%description +This package contains Bean Validation (JSR-349) API. + +%package javadoc +Summary: Javadoc for %{pkg_name} + +%description javadoc +This package contains the API documentation for %{pkg_name}. + +%prep +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} +%setup -q -n beanvalidation-api-%{namedversion} + +# Disable javadoc jar +%pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-javadoc-plugin']/pom:executions" +# Disable source jar +%pom_remove_plugin :maven-source-plugin +%{?scl:EOF} + + +%build +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} + +%mvn_file : %{pkg_name} +# Ignore test failures, since "ValidationTest.testCachedProvidersCanBeGarbageCollected" fails intermittently +%mvn_build -- -Dmaven.test.failure.ignore=true +%{?scl:EOF} + + +%install +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} +%mvn_install +%{?scl:EOF} + + +%files -f .mfiles +%doc license.txt + +%files javadoc -f .mfiles-javadoc +%doc license.txt + +%changelog +* Thu Aug 27 2015 Mat Booth - 1.1.0-4.2 +- Ignore intermittent test failures -- rhbz#1248101 + +* Mon Jun 29 2015 Mat Booth - 1.1.0-4.1 +- Import latest from Fedora + +* Wed Jun 17 2015 Fedora Release Engineering - 1.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Mar 28 2014 Michael Simacek - 1.1.0-2 +- Use Requires: java-headless rebuild (#1067528) + +* Wed Jul 24 2013 gil cattaneo 1.1.0-1 +- update to 1.1.0.Final +- adapt to current guideline +- resolve rpmlint warning + +* Thu Feb 14 2013 Marek Goldmann - 1.0.0-8 +- Fixed build issue + +* Wed Feb 13 2013 Fedora Release Engineering - 1.0.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 1.0.0-6 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Wed Jul 18 2012 Fedora Release Engineering - 1.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Mar 09 2012 Marek Goldmann 1.0.0-4 +- Relocated jars to _javadir + +* Thu Jan 12 2012 Fedora Release Engineering - 1.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Aug 29 2011 Marek Goldmann 1.0.0-2 +- Added license file to distribution + +* Tue Aug 16 2011 Marek Goldmann 1.0.0-1 +- Initial packaging