Update to upstream version 4.3
- Drop group tag
This commit is contained in:
parent
4fc2d03738
commit
3665f0eabf
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@ httpcomponents-client-4.1-src.tar.gz
|
||||
/httpcomponents-client-4.2.3-src.tar.gz
|
||||
/httpcomponents-client-4.2.4-src.tar.gz
|
||||
/httpcomponents-client-4.2.5-src.tar.gz
|
||||
/httpcomponents-client-4.3-src.tar.gz
|
||||
|
@ -2,9 +2,8 @@
|
||||
|
||||
Name: httpcomponents-client
|
||||
Summary: HTTP agent implementation based on httpcomponents HttpCore
|
||||
Version: 4.2.5
|
||||
Release: 3%{?dist}
|
||||
Group: Development/Libraries
|
||||
Version: 4.3
|
||||
Release: 1%{?dist}
|
||||
License: ASL 2.0
|
||||
URL: http://hc.apache.org/
|
||||
Source0: http://archive.apache.org/dist/httpcomponents/httpclient/source/%{name}-%{version}-src.tar.gz
|
||||
@ -16,6 +15,7 @@ BuildRequires: mvn(commons-codec:commons-codec)
|
||||
BuildRequires: mvn(commons-logging:commons-logging)
|
||||
BuildRequires: mvn(org.apache.httpcomponents:httpcore)
|
||||
BuildRequires: mvn(org.apache.httpcomponents:project)
|
||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||
%if 0%{?fedora}
|
||||
# Test dependencies
|
||||
BuildRequires: mvn(org.mockito:mockito-core)
|
||||
@ -32,7 +32,6 @@ encouraged to upgrade.
|
||||
|
||||
%package javadoc
|
||||
Summary: API documentation for %{name}
|
||||
Group: Documentation
|
||||
|
||||
%description javadoc
|
||||
%{summary}.
|
||||
@ -41,6 +40,9 @@ Group: Documentation
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
# Don't install javadoc, sources and tests jars
|
||||
%mvn_package ":{*}::{tests,sources,javadoc}:" __noinstall
|
||||
|
||||
# Remove optional build deps not available in Fedora
|
||||
%pom_disable_module httpclient-cache
|
||||
%pom_disable_module httpclient-osgi
|
||||
@ -48,10 +50,8 @@ Group: Documentation
|
||||
%pom_remove_plugin :maven-notice-plugin
|
||||
%pom_remove_plugin :docbkx-maven-plugin
|
||||
%pom_remove_plugin :clirr-maven-plugin
|
||||
%pom_remove_plugin :maven-clover2-plugin httpclient
|
||||
%if !0%{?fedora}
|
||||
%pom_remove_dep :mockito-core httpclient
|
||||
%endif
|
||||
%pom_remove_plugin :maven-checkstyle-plugin
|
||||
%{!?fedora: %pom_remove_dep :mockito-core httpclient}
|
||||
|
||||
# Add proper Apache felix bundle plugin instructions
|
||||
# so that we get a reasonable OSGi manifest.
|
||||
@ -103,25 +103,23 @@ done
|
||||
%mvn_file ":{*}" httpcomponents/@1
|
||||
|
||||
# Build with tests enabled on Fedora
|
||||
%if 0%{?fedora}
|
||||
%mvn_build
|
||||
%else
|
||||
%mvn_build -f
|
||||
%endif
|
||||
|
||||
%mvn_build %{!?fedora: -f}
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
|
||||
%files -f .mfiles
|
||||
%doc LICENSE.txt NOTICE.txt
|
||||
%doc README.txt RELEASE_NOTES.txt
|
||||
%doc LICENSE.txt NOTICE.txt README.txt RELEASE_NOTES.txt
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%doc LICENSE.txt NOTICE.txt
|
||||
|
||||
%changelog
|
||||
* Fri Sep 13 2013 Michal Srb <msrb@redhat.com> - 4.3-1
|
||||
- Update to upstream version 4.3
|
||||
- Drop group tag
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.5-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user