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