On Tue, May 31, 2016 at 2:23 AM, Christoph Grüninger <foss@grueninger.de> wrote:
Hi Christian, thanks for your feedback. I don't get why this should be better. I did not change this part. I only see the disadvantage of your suggestion, that next time this place is overlooked to change. By the way, the last version packaged for openSuse was SuperLU 4.3
Bye Christoph
%package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Provides: superlu = %{version} Obsoletes: superlu < %{version}
It's probably a good idea to use a fixed version number (slightly bigger than the latest version that ever existed) instead of %{version} in Obsoletes. Something like:
Obsoletes: superlu < 4.1.2
This assumes that the last version of "superlu" was 4.1.1. I didn't check which version was really available, so please adjust as needed. Even "< 5.2.1" would be better than "< %{version}".
Christoph, I took the time to research this. I would change the code snippet to have a comment and a fixed version number: =============== # The standalone superlu rpm has been eliminated, and the relevant files are now in superlu-devel # The last standalone superlu rpm was was v3.0 Provides: superlu = %{version} Obsoletes: superlu <= 3.0 =============== See https://build.opensuse.org/request/show/146203 if you want to see where that functional change took place. Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org