diff --git a/apache-commons-io.spec b/apache-commons-io.spec index 493b259..1ecd3e5 100644 --- a/apache-commons-io.spec +++ b/apache-commons-io.spec @@ -3,7 +3,7 @@ Name: apache-%{short_name} Version: 2.4 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 1 Summary: Utilities to assist with developing IO functionality License: ASL 2.0 @@ -21,6 +21,8 @@ BuildRequires: apache-commons-parent Requires: java >= 1:1.6.0 Requires: jpackage-utils +Provides: jakarta-%{short_name} = %{epoch}:%{version}-%{release} +Obsoletes: jakarta-%{short_name} < %{epoch}:%{version}-%{release} %description Commons-IO contains utility classes, stream implementations, @@ -31,6 +33,8 @@ to assist with developing IO functionality. Summary: API documentation for %{name} Group: Documentation Requires: jpackage-utils +Provides: jakarta-%{short_name}-javadoc = %{epoch}:%{version}-%{release} +Obsoletes: jakarta-%{short_name}-javadoc < %{epoch}:%{version}-%{release} %description javadoc This package contains the API documentation for %{name}. @@ -70,6 +74,9 @@ cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name} %doc %{_javadocdir}/%{name} %changelog +* Mon Nov 19 2012 Mikolaj Izdebski - 1:2.4-3 +- Add Provides/Obsoletes for jakarta-commons-io + * Wed Jul 18 2012 Fedora Release Engineering - 1:2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild