Make the fluent API into a bundle
Signed-off-by: Mat Booth <mat.booth@redhat.com>
This commit is contained in:
parent
e7644a113d
commit
6660668e57
@ -7,7 +7,7 @@
|
|||||||
Name: httpcomponents-client
|
Name: httpcomponents-client
|
||||||
Summary: HTTP agent implementation based on httpcomponents HttpCore
|
Summary: HTTP agent implementation based on httpcomponents HttpCore
|
||||||
Version: 4.5.2
|
Version: 4.5.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://hc.apache.org/
|
URL: http://hc.apache.org/
|
||||||
Source0: http://www.apache.org/dist/httpcomponents/httpclient/source/%{name}-%{version}-src.tar.gz
|
Source0: http://www.apache.org/dist/httpcomponents/httpclient/source/%{name}-%{version}-src.tar.gz
|
||||||
@ -80,11 +80,21 @@ rm -rf httpclient-cache/src/test
|
|||||||
|
|
||||||
# Add proper Apache felix bundle plugin instructions
|
# Add proper Apache felix bundle plugin instructions
|
||||||
# so that we get a reasonable OSGi manifest.
|
# so that we get a reasonable OSGi manifest.
|
||||||
for module in httpclient httpmime httpclient-cache; do
|
for module in httpclient httpmime httpclient-cache fluent-hc; do
|
||||||
%pom_xpath_remove "pom:project/pom:packaging" $module
|
%pom_xpath_remove "pom:project/pom:packaging" $module
|
||||||
%pom_xpath_inject "pom:project" "<packaging>bundle</packaging>" $module
|
%pom_xpath_inject "pom:project" "<packaging>bundle</packaging>" $module
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Make fluent-hc into bundle
|
||||||
|
%pom_xpath_inject pom:build "
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.felix</groupId>
|
||||||
|
<artifactId>maven-bundle-plugin</artifactId>
|
||||||
|
<extensions>true</extensions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>" fluent-hc
|
||||||
|
|
||||||
# Make httpmime into bundle
|
# Make httpmime into bundle
|
||||||
%pom_xpath_inject pom:build/pom:plugins "
|
%pom_xpath_inject pom:build/pom:plugins "
|
||||||
<plugin>
|
<plugin>
|
||||||
@ -160,6 +170,9 @@ rm httpclient/src/test/java/org/apache/http/client/config/TestRequestConfig.java
|
|||||||
%doc LICENSE.txt NOTICE.txt
|
%doc LICENSE.txt NOTICE.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 16 2016 Sopot Cela <scela@redhat.com> - 4.5.2-2
|
||||||
|
- Make the fluent API into a bundle
|
||||||
|
|
||||||
* Mon Feb 29 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.5.2-1
|
* Mon Feb 29 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.5.2-1
|
||||||
- Update to upstream version 4.5.2
|
- Update to upstream version 4.5.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user