Fix Provides/Obsoletes

This commit is contained in:
Fernando Nasser 2006-08-21 19:27:16 +00:00
parent 01883b3c25
commit ccf3127261

View File

@ -51,8 +51,8 @@ BuildRequires: ant
Buildarch: noarch
%endif
Buildroot: %{_tmppath}/%{name}-%{version}-buildroot
Provides: oro
Obsoletes: oro < 0:2.0.8-2jpp
Provides: oro = %{epoch}:%{version}-%{release}
Obsoletes: oro <= 0:2.0.8
%if %{gcj_support}
@ -75,6 +75,8 @@ their development under the Jakarta Project.
%package javadoc
Group: Development/Java
Summary: Javadoc for %{name}
Provides: oro-javadoc = %{epoch}:%{version}-%{release}
Obsoletes: oro-javadoc <= 0:2.0.8
#BuildRequires: java-javadoc
Requires(post): /bin/rm /bin/ln
Requires(postun): /bin/rm