Update to latest upstream (4.1.2)
- Minor tweaks according to guidelines
This commit is contained in:
parent
0f67941d83
commit
cacf844acc
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
/httpcomponents-client-4.0.3-src.tar.gz
|
/httpcomponents-client-4.0.3-src.tar.gz
|
||||||
httpcomponents-client-4.1-src.tar.gz
|
httpcomponents-client-4.1-src.tar.gz
|
||||||
/httpcomponents-client-4.1.1-src.tar.gz
|
/httpcomponents-client-4.1.1-src.tar.gz
|
||||||
|
/httpcomponents-client-4.1.2-src.tar.gz
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
Name: httpcomponents-client
|
Name: httpcomponents-client
|
||||||
Summary: HTTP agent implementation based on httpcomponents HttpCore
|
Summary: HTTP agent implementation based on httpcomponents HttpCore
|
||||||
Version: 4.1.1
|
Version: 4.1.2
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://hc.apache.org/
|
URL: http://hc.apache.org/
|
||||||
@ -28,9 +28,6 @@ Requires: httpcomponents-core
|
|||||||
Requires: apache-mime4j
|
Requires: apache-mime4j
|
||||||
Requires: apache-commons-codec
|
Requires: apache-commons-codec
|
||||||
|
|
||||||
Requires(post): jpackage-utils
|
|
||||||
Requires(postun): jpackage-utils
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
HttpClient is a HTTP/1.1 compliant HTTP agent implementation based on
|
HttpClient is a HTTP/1.1 compliant HTTP agent implementation based on
|
||||||
httpcomponents HttpCore. It also provides reusable components for
|
httpcomponents HttpCore. It also provides reusable components for
|
||||||
@ -69,10 +66,11 @@ install -D -m 0644 pom.xml \
|
|||||||
# pom
|
# pom
|
||||||
install -D -m 0644 httpclient/pom.xml \
|
install -D -m 0644 httpclient/pom.xml \
|
||||||
%{buildroot}/%{_mavenpomdir}/JPP.%{base_name}-httpclient.pom
|
%{buildroot}/%{_mavenpomdir}/JPP.%{base_name}-httpclient.pom
|
||||||
%add_to_maven_depmap org.apache.httpcomponents httpclient %{version} JPP/%{base_name} httpclient
|
%add_maven_depmap JPP.%{base_name}-httpclient.pom %{base_name}/httpclient.jar
|
||||||
|
|
||||||
install -D -m 0644 httpmime/pom.xml \
|
install -D -m 0644 httpmime/pom.xml \
|
||||||
%{buildroot}/%{_mavenpomdir}/JPP.%{base_name}-httpmime.pom
|
%{buildroot}/%{_mavenpomdir}/JPP.%{base_name}-httpmime.pom
|
||||||
%add_to_maven_depmap org.apache.httpcomponents httpmime %{version} JPP/%{base_name} httpmime
|
%add_maven_depmap JPP.%{base_name}-httpmime.pom %{base_name}/httpmime.jar
|
||||||
|
|
||||||
|
|
||||||
# javadocs
|
# javadocs
|
||||||
@ -80,26 +78,22 @@ install -dm 755 %{buildroot}%{_javadocdir}/%{name}
|
|||||||
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
|
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
|
||||||
%post
|
|
||||||
%update_maven_depmap
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%update_maven_depmap
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc README.txt LICENSE.txt RELEASE_NOTES.txt
|
%doc README.txt LICENSE.txt RELEASE_NOTES.txt
|
||||||
%{_mavendepmapfragdir}/%{name}
|
%{_mavendepmapfragdir}/%{name}
|
||||||
%{_mavenpomdir}/JPP.%{base_name}*.pom
|
%{_mavenpomdir}/JPP.%{base_name}*.pom
|
||||||
%{_javadir}/%{basename}
|
%{_javadir}/%{basename}
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt
|
||||||
%doc %{_javadocdir}/*
|
%doc %{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 16 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 4.1.2-1
|
||||||
|
- Update to latest upstream (4.1.2)
|
||||||
|
- Minor tweaks according to guidelines
|
||||||
|
|
||||||
* Fri Jul 15 2011 Severin Gehwolf <sgehwolf@redhat.com> 4.1.1-3
|
* Fri Jul 15 2011 Severin Gehwolf <sgehwolf@redhat.com> 4.1.1-3
|
||||||
- Fix for RH Bz#718830. Add instructions so as to not
|
- Fix for RH Bz#718830. Add instructions so as to not
|
||||||
Import-Package optional dependencies.
|
Import-Package optional dependencies.
|
||||||
@ -107,7 +101,7 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
|
|||||||
* Thu Apr 7 2011 Severin Gehwolf <sgehwolf@redhat.com> 4.1.1-2
|
* Thu Apr 7 2011 Severin Gehwolf <sgehwolf@redhat.com> 4.1.1-2
|
||||||
- Add BR/R apache-commons-codec, since httpcomponents-client's
|
- Add BR/R apache-commons-codec, since httpcomponents-client's
|
||||||
MANIFEST.MF has an Import-Package: org.apache.commons.codec
|
MANIFEST.MF has an Import-Package: org.apache.commons.codec
|
||||||
header.
|
header.
|
||||||
|
|
||||||
* Tue Mar 29 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 4.1.1-1
|
* Tue Mar 29 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 4.1.1-1
|
||||||
- New upstream bugfix version (4.1.1)
|
- New upstream bugfix version (4.1.1)
|
||||||
|
Loading…
Reference in New Issue
Block a user