From 3a710f04c3d67714d5a40f13ed62d21b596a1500 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Apr 04 2012 12:31:52 +0000 Subject: Update to 2.2 - Remove rpm bug workaround - Finalize renaming from jakarta-comons-io --- diff --git a/.gitignore b/.gitignore index bc26235..ab75e4a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ commons-io-1.4-src.tar.gz /commons-io-2.0-src.tar.gz /commons-io-2.0.1-src.tar.gz commons-io-2.1-src.tar.gz +/commons-io-2.2-src.tar.gz diff --git a/apache-commons-io.spec b/apache-commons-io.spec index ba6354b..814859c 100644 --- a/apache-commons-io.spec +++ b/apache-commons-io.spec @@ -2,8 +2,8 @@ %global short_name commons-%{base_name} Name: apache-%{short_name} -Version: 2.1 -Release: 2%{?dist} +Version: 2.2 +Release: 1%{?dist} Epoch: 1 Summary: Utilities to assist with developing IO functionality License: ASL 2.0 @@ -22,10 +22,6 @@ BuildRequires: apache-commons-parent Requires: java >= 1:1.6.0 Requires: jpackage-utils -# This should go away with F-17 -Provides: jakarta-%{short_name} = %{epoch}:%{version}-%{release} -Obsoletes: jakarta-%{short_name} <= 0:1.4 - %description Commons-IO contains utility classes, stream implementations, file filters, and endian classes. It is a library of utilities @@ -36,8 +32,6 @@ Summary: API documentation for %{name} Group: Documentation Requires: jpackage-utils -Obsoletes: jakarta-%{short_name}-javadoc <= 0:1.4 - %description javadoc This package contains the API documentation for %{name}. @@ -65,11 +59,6 @@ install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{short_name}.pom install -d -m 755 %{buildroot}%{_javadocdir}/%{name} cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name} -%pre javadoc -# workaround for rpm bug, can be removed in F-17 -[ $1 -gt 1 ] && [ -L %{_javadocdir}/%{name} ] && \ -rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || : - %files %doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt %{_javadir}/*.jar @@ -81,6 +70,11 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || : %doc %{_javadocdir}/%{name} %changelog +* Wed Apr 4 2012 Mikolaj Izdebski - 1:2.2-1 +- Update to 2.2 +- Remove rpm bug workaround +- Finalize renaming from jakarta-comons-io + * Thu Jan 12 2012 Fedora Release Engineering - 1:2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index f0520c6..92f49d2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -603b7c2205d48ab99774e669a4baa8f7 commons-io-2.1-src.tar.gz +d2dbb604339bc1d9520b5a15e93abc1f commons-io-2.2-src.tar.gz