Updated to 2.0

Cleaned up BRs
This commit is contained in:
spike 2010-10-22 02:16:22 +02:00
parent 2a2d2dc0ea
commit 1221498e96
3 changed files with 46 additions and 41 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
commons-io-1.4-src.tar.gz
/commons-io-2.0-src.tar.gz

View File

@ -1,10 +1,9 @@
%global base_name io
%global short_name commons-%{base_name}
Name: apache-%{short_name}
Version: 1.4
Release: 6%{?dist}
Version: 2.0
Release: 1%{?dist}
Epoch: 1
Summary: Utilities to assist with developing IO functionality
License: ASL 2.0
@ -12,23 +11,25 @@ Group: Development/Libraries
URL: http://commons.apache.org/%{base_name}
Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
BuildArch: noarch
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: jpackage-utils >= 0:1.7.2
BuildRequires: jpackage-utils
BuildRequires: junit4
BuildRequires: maven2 >= 2.2.1
BuildRequires: maven-antrun-plugin
BuildRequires: maven-assembly-plugin
BuildRequires: maven-compiler-plugin
BuildRequires: maven-idea-plugin
BuildRequires: maven-install-plugin
BuildRequires: maven-jar-plugin
BuildRequires: maven-javadoc-plugin
BuildRequires: maven-plugin-bundle
BuildRequires: maven-surefire-maven-plugin
BuildRequires: maven-surefire-provider-junit
BuildRequires: maven-doxia-sitetools
BuildRequires: maven2-plugin-assembly
BuildRequires: maven2-plugin-antrun
BuildRequires: maven2-plugin-compiler
BuildRequires: maven2-plugin-idea
BuildRequires: maven2-plugin-install
BuildRequires: maven2-plugin-jar
BuildRequires: maven2-plugin-javadoc
BuildRequires: maven2-plugin-resources
BuildRequires: maven-resources-plugin
BuildRequires: maven-surefire-plugin
BuildRequires: maven-surefire-provider-junit4
Requires: java >= 1:1.6.0
Requires: jpackage-utils >= 0:1.6
Requires: jpackage-utils
Requires(post): jpackage-utils
Requires(postun): jpackage-utils
@ -51,7 +52,7 @@ Requires: jpackage-utils
Obsoletes: jakarta-%{short_name}-javadoc <= 0:1.4
%description javadoc
%{summary}.
This package contains the API documentation for %{name}.
%prep
%setup -q -n %{short_name}-%{version}-src
@ -116,6 +117,10 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_javadocdir}/%{name}
%changelog
* Fri Oct 22 2010 Chris Spike <chris.spike@arcor.de> 1:2.0-1
- Updated to 2.0
- Cleaned up BRs
* Thu Jul 8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-6
- Add license to javadoc subpackage
@ -135,4 +140,3 @@ rm -rf $RPM_BUILD_ROOT
* Tue May 11 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.4-1
- Rename and rebase of jakarta-commons-io
- Clean up whole spec

View File

@ -1 +1 @@
24b228f2d0c40ffed9204cdab015bccf commons-io-1.4-src.tar.gz
c5ce73b7e82b82dffc12bbc846345638 commons-io-2.0-src.tar.gz