|
|
f849b5 |
Name: httpcomponents-core
|
|
|
f849b5 |
Summary: Set of low level Java HTTP transport components for HTTP services
|
|
|
f849b5 |
Version: 4.4.10
|
|
|
f849b5 |
Release: 3%{?dist}
|
|
|
f849b5 |
License: ASL 2.0
|
|
|
f849b5 |
URL: http://hc.apache.org/
|
|
|
f849b5 |
Source0: http://www.apache.org/dist/httpcomponents/httpcore/source/httpcomponents-core-%{version}-src.tar.gz
|
|
|
f849b5 |
# Expired test certificates. Backported from upstream commit 8caeb927a.
|
|
|
f849b5 |
Patch0: 0001-Re-generated-expired-test-certificates.patch
|
|
|
f849b5 |
|
|
|
f849b5 |
BuildArch: noarch
|
|
|
f849b5 |
|
|
|
f849b5 |
BuildRequires: maven-local
|
|
|
f849b5 |
BuildRequires: mvn(commons-logging:commons-logging)
|
|
|
f849b5 |
BuildRequires: mvn(junit:junit)
|
|
|
f849b5 |
BuildRequires: mvn(org.apache.commons:commons-lang3)
|
|
|
f849b5 |
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
f849b5 |
BuildRequires: mvn(org.apache.httpcomponents:httpcomponents-parent:pom:)
|
|
|
f849b5 |
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
|
|
f849b5 |
BuildRequires: mvn(org.mockito:mockito-core)
|
|
|
f849b5 |
|
|
|
f849b5 |
|
|
|
f849b5 |
%description
|
|
|
f849b5 |
HttpCore is a set of low level HTTP transport components that can be
|
|
|
f849b5 |
used to build custom client and server side HTTP services with a
|
|
|
f849b5 |
minimal footprint. HttpCore supports two I/O models: blocking I/O
|
|
|
f849b5 |
model based on the classic Java I/O and non-blocking, event driven I/O
|
|
|
f849b5 |
model based on Java NIO.
|
|
|
f849b5 |
|
|
|
f849b5 |
The blocking I/O model may be more appropriate for data intensive, low
|
|
|
f849b5 |
latency scenarios, whereas the non-blocking model may be more
|
|
|
f849b5 |
appropriate for high latency scenarios where raw data throughput is
|
|
|
f849b5 |
less important than the ability to handle thousands of simultaneous
|
|
|
f849b5 |
HTTP connections in a resource efficient manner.
|
|
|
f849b5 |
|
|
|
f849b5 |
%package javadoc
|
|
|
f849b5 |
Summary: API documentation for %{name}
|
|
|
f849b5 |
|
|
|
f849b5 |
%description javadoc
|
|
|
f849b5 |
%{summary}.
|
|
|
f849b5 |
|
|
|
f849b5 |
|
|
|
f849b5 |
%prep
|
|
|
f849b5 |
%setup -q
|
|
|
f849b5 |
|
|
|
f849b5 |
%patch0 -p1
|
|
|
f849b5 |
|
|
|
f849b5 |
# Random test failures on ARM -- 100 ms sleep is not eneough on this
|
|
|
f849b5 |
# very performant arch, lets make it 2 s
|
|
|
f849b5 |
sed -i '/Thread.sleep/s/100/2000/' httpcore-nio/src/test/java/org/apache/http/nio/integration/TestHttpAsyncHandlers.java
|
|
|
f849b5 |
|
|
|
f849b5 |
%pom_remove_plugin :maven-checkstyle-plugin
|
|
|
f849b5 |
%pom_remove_plugin :apache-rat-plugin
|
|
|
f849b5 |
%pom_remove_plugin :maven-source-plugin
|
|
|
f849b5 |
%pom_remove_plugin :maven-javadoc-plugin
|
|
|
f849b5 |
|
|
|
f849b5 |
# we don't need these artifacts right now
|
|
|
f849b5 |
%pom_disable_module httpcore-osgi
|
|
|
f849b5 |
%pom_disable_module httpcore-ab
|
|
|
f849b5 |
|
|
|
f849b5 |
# OSGify modules
|
|
|
f849b5 |
for module in httpcore httpcore-nio; do
|
|
|
f849b5 |
%pom_xpath_remove "pom:project/pom:packaging" $module
|
|
|
f849b5 |
%pom_xpath_inject "pom:project" "<packaging>bundle</packaging>" $module
|
|
|
f849b5 |
%pom_remove_plugin :maven-jar-plugin $module
|
|
|
f849b5 |
%pom_xpath_inject "pom:build/pom:plugins" "
|
|
|
f849b5 |
<plugin>
|
|
|
f849b5 |
<groupId>org.apache.felix</groupId>
|
|
|
f849b5 |
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
f849b5 |
<extensions>true</extensions>
|
|
|
f849b5 |
<configuration>
|
|
|
f849b5 |
<instructions>
|
|
|
f849b5 |
<Export-Package>*</Export-Package>
|
|
|
f849b5 |
<Private-Package></Private-Package>
|
|
|
f849b5 |
<Automatic-Module-Name>org.apache.httpcomponents.$module</Automatic-Module-Name>
|
|
|
f849b5 |
<_nouses>true</_nouses>
|
|
|
f849b5 |
</instructions>
|
|
|
f849b5 |
</configuration>
|
|
|
f849b5 |
</plugin>" $module
|
|
|
f849b5 |
done
|
|
|
f849b5 |
|
|
|
f849b5 |
# install JARs to httpcomponents/ for compatibility reasons
|
|
|
f849b5 |
# several other packages expect to find the JARs there
|
|
|
f849b5 |
%mvn_file ":{*}" httpcomponents/@1
|
|
|
f849b5 |
|
|
|
f849b5 |
%build
|
|
|
f849b5 |
%mvn_build
|
|
|
f849b5 |
|
|
|
f849b5 |
%install
|
|
|
f849b5 |
%mvn_install
|
|
|
f849b5 |
|
|
|
f849b5 |
%files -f .mfiles
|
|
|
f849b5 |
%doc LICENSE.txt NOTICE.txt README.txt RELEASE_NOTES.txt
|
|
|
f849b5 |
|
|
|
f849b5 |
%files javadoc -f .mfiles-javadoc
|
|
|
f849b5 |
%doc LICENSE.txt NOTICE.txt
|
|
|
f849b5 |
|
|
|
f849b5 |
%changelog
|
|
|
f849b5 |
* Mon Jul 23 2018 Michael Simacek <msimacek@redhat.com> - 4.4.10-3
|
|
|
f849b5 |
- Fix failing tests
|
|
|
f849b5 |
|
|
|
f849b5 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.10-2
|
|
|
f849b5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
f849b5 |
|
|
|
f849b5 |
* Mon Jul 02 2018 Michael Simacek <msimacek@redhat.com> - 4.4.10-1
|
|
|
f849b5 |
- Update to upstream version 4.4.10
|
|
|
f849b5 |
|
|
|
f849b5 |
* Mon Mar 19 2018 Michael Simacek <msimacek@redhat.com> - 4.4.9-4
|
|
|
f849b5 |
- Fix FTBFS (weak encryption in tests)
|
|
|
f849b5 |
|
|
|
f849b5 |
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.4.9-3
|
|
|
f849b5 |
- Escape macros in %%changelog
|
|
|
f849b5 |
|
|
|
f849b5 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.9-2
|
|
|
f849b5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
f849b5 |
|
|
|
f849b5 |
* Tue Jan 16 2018 Michael Simacek <msimacek@redhat.com> - 4.4.9-1
|
|
|
f849b5 |
- Update to upstream version 4.4.9
|
|
|
f849b5 |
|
|
|
f849b5 |
* Sun Oct 22 2017 Michael Simacek <msimacek@redhat.com> - 4.4.8-1
|
|
|
f849b5 |
- Update to upstream version 4.4.8
|
|
|
f849b5 |
|
|
|
f849b5 |
* Tue Sep 19 2017 Michael Simacek <msimacek@redhat.com> - 4.4.7-1
|
|
|
f849b5 |
- Update to upstream version 4.4.7
|
|
|
f849b5 |
|
|
|
f849b5 |
* Fri Sep 15 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.4.6-5
|
|
|
f849b5 |
- Try to workaround test failures on ARM
|
|
|
f849b5 |
|
|
|
f849b5 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.6-4
|
|
|
f849b5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
f849b5 |
|
|
|
f849b5 |
* Thu Feb 23 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.4.6-3
|
|
|
f849b5 |
- Remove unneeded maven-javadoc-plugin invocation
|
|
|
f849b5 |
|
|
|
f849b5 |
* Tue Feb 07 2017 Michael Simacek <msimacek@redhat.com> - 4.4.6-2
|
|
|
f849b5 |
- Remove useless plugins
|
|
|
f849b5 |
|
|
|
f849b5 |
* Thu Jan 12 2017 Michael Simacek <msimacek@redhat.com> - 4.4.6-1
|
|
|
f849b5 |
- Update to upstream version 4.4.6
|
|
|
f849b5 |
|
|
|
f849b5 |
* Fri Jun 24 2016 Michael Simacek <msimacek@redhat.com> - 4.4.5-2
|
|
|
f849b5 |
- Change license to just ASL 2.0
|
|
|
f849b5 |
|
|
|
f849b5 |
* Thu Jun 23 2016 Michael Simacek <msimacek@redhat.com> - 4.4.5-1
|
|
|
f849b5 |
- Update to upstream version 4.4.5
|
|
|
f849b5 |
|
|
|
f849b5 |
* Wed Jun 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.4.4-3
|
|
|
f849b5 |
- Regenerate build-requires
|
|
|
f849b5 |
|
|
|
f849b5 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.4-2
|
|
|
f849b5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
f849b5 |
|
|
|
f849b5 |
* Mon Nov 2 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.4.4-1
|
|
|
f849b5 |
- Update to upstream version 4.4.4
|
|
|
f849b5 |
|
|
|
f849b5 |
* Wed Sep 9 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.4.3-1
|
|
|
f849b5 |
- Update to upstream version 4.4.3
|
|
|
f849b5 |
|
|
|
f849b5 |
* Mon Sep 07 2015 Michael Simacek <msimacek@redhat.com> - 4.4.2-1
|
|
|
f849b5 |
- Update to upstream version 4.4.2
|
|
|
f849b5 |
|
|
|
f849b5 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.1-2
|
|
|
f849b5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
f849b5 |
|
|
|
f849b5 |
* Thu Mar 19 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.4.1-1
|
|
|
f849b5 |
- Update to upstream version 4.4.1
|
|
|
f849b5 |
|
|
|
f849b5 |
* Mon Jan 19 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.4-1
|
|
|
f849b5 |
- Update to upstream version 4.4
|
|
|
f849b5 |
|
|
|
f849b5 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.2-3
|
|
|
f849b5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
f849b5 |
|
|
|
f849b5 |
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.3.2-2
|
|
|
f849b5 |
- Remove BuildRequires on maven-surefire-provider-junit4
|
|
|
f849b5 |
|
|
|
f849b5 |
* Mon May 12 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.3.2-1
|
|
|
f849b5 |
- Update to upstream version 4.3.2
|
|
|
f849b5 |
|
|
|
f849b5 |
* Tue Sep 03 2013 Michal Srb <msrb@redhat.com> - 4.3-1
|
|
|
f849b5 |
- Update to upstream version 4.3
|
|
|
f849b5 |
|
|
|
f849b5 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.4-5
|
|
|
f849b5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
f849b5 |
|
|
|
f849b5 |
* Mon Jun 10 2013 Michal Srb <msrb@redhat.com> - 4.2.4-4
|
|
|
f849b5 |
- Fix license tag (CC-BY added)
|
|
|
f849b5 |
|
|
|
f849b5 |
* Fri May 17 2013 Alexander Kurtakov <akurtako@redhat.com> 4.2.4-3
|
|
|
f849b5 |
- Fix bundle plugin configuration to produce sane manifest.
|
|
|
f849b5 |
- Do not duplicate javadoc files list.
|
|
|
f849b5 |
|
|
|
f849b5 |
* Mon Mar 25 2013 Michal Srb <msrb@redhat.com> - 4.2.4-2
|
|
|
f849b5 |
- Build with xmvn
|
|
|
f849b5 |
|
|
|
f849b5 |
* Mon Mar 25 2013 Michal Srb <msrb@redhat.com> - 4.2.4-1
|
|
|
f849b5 |
- Update to upstream version 4.2.4
|
|
|
f849b5 |
|
|
|
f849b5 |
* Mon Feb 25 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.3-3
|
|
|
f849b5 |
- Add missing BR: maven-local
|
|
|
f849b5 |
|
|
|
f849b5 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.3-2
|
|
|
f849b5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
f849b5 |
|
|
|
f849b5 |
* Mon Dec 3 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.3-1
|
|
|
f849b5 |
- Update to upstream version 4.2.3
|
|
|
f849b5 |
|
|
|
f849b5 |
* Fri Oct 5 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.2-1
|
|
|
f849b5 |
- Update to upstream version 4.2.2
|
|
|
f849b5 |
|
|
|
f849b5 |
* Mon Aug 27 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 4.2.1-3
|
|
|
f849b5 |
- Remove mockito from Requires (not needed really)
|
|
|
f849b5 |
- BR on mockito is now conditional on Fedora
|
|
|
f849b5 |
|
|
|
f849b5 |
* Fri Jul 27 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.1-2
|
|
|
f849b5 |
- Install NOTICE.txt file
|
|
|
f849b5 |
- Fix javadir directory ownership
|
|
|
f849b5 |
- Preserve timestamps
|
|
|
f849b5 |
|
|
|
f849b5 |
* Mon Jul 23 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.1-1
|
|
|
f849b5 |
- Update to upstream version 4.2.1
|
|
|
f849b5 |
- Convert patches to POM macros
|
|
|
f849b5 |
|
|
|
f849b5 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.4-2
|
|
|
f849b5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
f849b5 |
|
|
|
f849b5 |
* Fri Mar 23 2012 Krzysztof Daniel <kdaniel@redhat.com> 4.1.4-1
|
|
|
f849b5 |
- Update to latest upstream (4.1.4)
|
|
|
f849b5 |
|
|
|
f849b5 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.3-2
|
|
|
f849b5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
f849b5 |
|
|
|
f849b5 |
* Tue Aug 16 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 4.1.3-1
|
|
|
f849b5 |
- Update to latest upstream (4.1.3)
|
|
|
f849b5 |
|
|
|
f849b5 |
* Tue Jul 26 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 4.1.2-1
|
|
|
f849b5 |
- Update to latest upstream (4.1.2)
|
|
|
f849b5 |
|
|
|
f849b5 |
* Mon Jul 4 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 4.1.1-2
|
|
|
f849b5 |
- Fix forgotten add_to_maven_depmap
|
|
|
f849b5 |
|
|
|
f849b5 |
* Fri Jul 1 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 4.1.1-1
|
|
|
f849b5 |
- Update to latest upstream (4.1.1)
|
|
|
f849b5 |
- Use new maven macros
|
|
|
f849b5 |
- Tweaks according to new guidelines
|
|
|
f849b5 |
- Enable tests again (seem to work OK even in koji now)
|
|
|
f849b5 |
|
|
|
f849b5 |
* Tue Mar 15 2011 Severin Gehwolf <sgehwolf@redhat.com> 4.1-6
|
|
|
f849b5 |
- Explicitly set PrivatePackage to the empty set, so as to
|
|
|
f849b5 |
export all packages.
|
|
|
f849b5 |
|
|
|
f849b5 |
* Fri Mar 11 2011 Alexander Kurtakov <akurtako@redhat.com> 4.1-5
|
|
|
f849b5 |
- Bump release to fix my mistake with the release.
|
|
|
f849b5 |
|
|
|
f849b5 |
* Thu Mar 10 2011 Alexander Kurtakov <akurtako@redhat.com> 4.1-3
|
|
|
f849b5 |
- Export all packages.
|
|
|
f849b5 |
|
|
|
f849b5 |
* Fri Feb 18 2011 Alexander Kurtakov <akurtako@redhat.com> 4.1-2
|
|
|
f849b5 |
- Don't use basename it's part of coreutils.
|
|
|
f849b5 |
|
|
|
f849b5 |
* Fri Feb 18 2011 Alexander Kurtakov <akurtako@redhat.com> 4.1-4
|
|
|
f849b5 |
- Install into %%{_javadir}/httpcomponents. We will use it for client libs too.
|
|
|
f849b5 |
- Proper osgi info.
|
|
|
f849b5 |
|
|
|
f849b5 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-3
|
|
|
f849b5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
f849b5 |
|
|
|
f849b5 |
* Wed Dec 22 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 4.1-2
|
|
|
f849b5 |
- Added license to javadoc subpackage
|
|
|
f849b5 |
|
|
|
f849b5 |
* Fri Dec 17 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 4.1-1
|
|
|
f849b5 |
- Initial package
|