From edb763a32ad90fd438e72a710821522cce65bc4a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 24 2017 09:01:52 +0000 Subject: import rh-maven35-jackson-databind-2.7.6-2.2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..60801a0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jackson-databind-2.7.6.tar.gz diff --git a/.rh-maven35-jackson-databind.metadata b/.rh-maven35-jackson-databind.metadata new file mode 100644 index 0000000..f1572f2 --- /dev/null +++ b/.rh-maven35-jackson-databind.metadata @@ -0,0 +1 @@ +2f84cdc6be461adbf01019ef638399d9a217c25c SOURCES/jackson-databind-2.7.6.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/jackson-databind.spec b/SPECS/jackson-databind.spec new file mode 100644 index 0000000..dc65829 --- /dev/null +++ b/SPECS/jackson-databind.spec @@ -0,0 +1,139 @@ +%{?scl:%scl_package jackson-databind} +%{!?scl:%global pkg_name %{name}} + +Name: %{?scl_prefix}jackson-databind +Version: 2.7.6 +Release: 2.2%{?dist} +Summary: General data-binding package for Jackson (2.x) +License: ASL 2.0 and LGPLv2+ +URL: http://wiki.fasterxml.com/JacksonHome +Source0: https://github.com/FasterXML/jackson-databind/archive/%{pkg_name}-%{version}.tar.gz + +BuildRequires: %{?scl_prefix}maven-local +BuildRequires: %{?scl_prefix}mvn(com.fasterxml.jackson:jackson-parent:pom:) +BuildRequires: %{?scl_prefix}mvn(com.fasterxml.jackson.core:jackson-annotations) >= 2.4.1 +BuildRequires: %{?scl_prefix}mvn(com.fasterxml.jackson.core:jackson-core) >= 2.4.1 +BuildRequires: %{?scl_prefix}mvn(com.google.guava:guava) +BuildRequires: %{?scl_prefix}mvn(com.google.code.maven-replacer-plugin:replacer) +BuildRequires: %{?scl_prefix}mvn(org.powermock:powermock-api-mockito) +BuildRequires: %{?scl_prefix}mvn(org.powermock:powermock-module-junit4) + +BuildArch: noarch + +%description +General data-binding functionality for Jackson: +works on core streaming API. + +%package javadoc +Summary: Javadoc for %{pkg_name} + +%description javadoc +This package contains javadoc for %{pkg_name}. + +%prep +%setup -q -n %{pkg_name}-%{pkg_name}-%{version} + +cp -p src/main/resources/META-INF/LICENSE . +cp -p src/main/resources/META-INF/NOTICE . +sed -i 's/\r//' LICENSE NOTICE + +# unavailable test deps +%pom_remove_dep javax.measure:jsr-275 +rm src/test/java/com/fasterxml/jackson/databind/introspect/NoClassDefFoundWorkaroundTest.java +%pom_xpath_remove pom:classpathDependencyExcludes + +%pom_xpath_inject "pom:plugin[pom:artifactId='maven-javadoc-plugin']/pom:configuration" "-Xdoclint:none" +%pom_xpath_remove pom:failOnError + +# org.powermock.reflect.exceptions.FieldNotFoundException: Field 'fTestClass' was not found in class org.junit.internal.runners.MethodValidator. +rm src/test/java/com/fasterxml/jackson/databind/type/TestTypeFactoryWithClassLoader.java + +# Off test that require connection with the web +rm src/test/java/com/fasterxml/jackson/databind/ser/TestJdkTypes.java \ + src/test/java/com/fasterxml/jackson/databind/deser/TestJdkTypes.java \ + src/test/java/com/fasterxml/jackson/databind/TestJDKSerialization.java + +%mvn_file : %{pkg_name} + +%build + +%mvn_build -- -Dmaven.test.failure.ignore=true + +%install +%mvn_install + +%files -f .mfiles +%doc README.md release-notes/* +%license LICENSE NOTICE + +%files javadoc -f .mfiles-javadoc +%license LICENSE NOTICE + +%changelog +* Thu Jun 22 2017 Michael Simacek - 2.7.6-2.2 +- Mass rebuild 2017-06-22 + +* Wed Jun 21 2017 Java Maintainers - 2.7.6-2.1 +- Automated package import and SCL-ization + +* Fri Feb 10 2017 Fedora Release Engineering - 2.7.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Aug 22 2016 gil cattaneo 2.7.6-1 +- update to 2.7.6 + +* Fri Jun 24 2016 gil cattaneo 2.6.7-1 +- update to 2.6.7 + +* Thu May 26 2016 gil cattaneo 2.6.6-1 +- update to 2.6.6 + +* Thu Feb 04 2016 Fedora Release Engineering - 2.6.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sun Oct 25 2015 gil cattaneo 2.6.3-1 +- update to 2.6.3 + +* Mon Sep 28 2015 gil cattaneo 2.6.2-1 +- update to 2.6.2 + +* Wed Jun 17 2015 Fedora Release Engineering - 2.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jan 31 2015 gil cattaneo 2.5.0-1 +- update to 2.5.0 + +* Sat Sep 20 2014 gil cattaneo 2.4.2-1 +- update to 2.4.2 + +* Wed Jul 23 2014 gil cattaneo 2.4.1.3-1 +- update to 2.4.1.3 + +* Thu Jul 03 2014 gil cattaneo 2.4.1.1-1 +- update to 2.4.1.1 + +* Sat Jun 07 2014 Fedora Release Engineering - 2.2.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Mar 28 2014 Michael Simacek - 2.2.2-4 +- Use Requires: java-headless rebuild (#1067528) + +* Sat Aug 03 2013 Fedora Release Engineering - 2.2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Jul 22 2013 gil cattaneo 2.2.2-2 +- review fixes + +* Tue Jul 16 2013 gil cattaneo 2.2.2-1 +- 2.2.2 +- renamed jackson-databind + +* Tue May 07 2013 gil cattaneo 2.2.1-1 +- 2.2.1 + +* Wed Oct 24 2012 gil cattaneo 2.1.0-1 +- update to 2.1.0 +- renamed jackson2-databind + +* Thu Sep 13 2012 gil cattaneo 2.0.6-1 +- initial rpm