Add Provides/Obsoletes for jakarta-commons-io

This commit is contained in:
Mikolaj Izdebski 2012-11-19 14:35:49 +01:00
parent cc75277a3e
commit de4de36c97

View File

@ -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 <mizdebsk@redhat.com> - 1:2.4-3
- Add Provides/Obsoletes for jakarta-commons-io
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild