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