sanitize versioned Obsoletes/Provides (obsoleting yourself is bad)

This commit is contained in:
Rex Dieter 2010-01-15 13:49:51 +00:00
parent 2de6df6571
commit d5918c32d8

View File

@ -99,11 +99,11 @@ Group: Applications/Text
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%if 0%{?fedora} < 11 && 0%{?rhel} < 6 %if 0%{?fedora} < 11 && 0%{?rhel} < 6
# last seen in fc8 # last seen in fc8
Provides: pdftohtml > 0.36-10.fc8 Provides: pdftohtml = 0.36-11
Obsoletes: pdftohtml <= 0.36-10.fc8 Obsoletes: pdftohtml < 0.36-11
# last seen in fc7 # last seen in fc7
Provides: xpdf-utils = 1:3.01-27.fc7 Provides: xpdf-utils = 1:3.01-27
Obsoletes: xpdf-utils <= 1:3.01-26.fc7 Obsoletes: xpdf-utils < 1:3.01-27
# even earlier? # even earlier?
Conflicts: xpdf <= 1:3.01-8 Conflicts: xpdf <= 1:3.01-8
%endif %endif