On Tue, Mar 5, 2013 at 12:36 PM, Christian Boltz
Hello,
Am Dienstag, 5. März 2013 schrieb Michal Vyskocil:
please add http://en.opensuse.org/openSUSE:Package_dependencies into bookmarks.
;-)
and I would say this is the most correct form
Provides: fiwalk = %{version}-%{release} Obsoletes: fiwalk < %{version}-%{release}
but Obsoletes: fiwalk < 0.7 or fiwalk <= 0.6.16 will work too.
IMHO hardcoding the last version in Obsoletes: is even better ;-) because it also does the job with less possible side effects. Just imagine what happens if someone starts a new, totally different project and for some reason names it fiwalk. With the hardcoded version in Obsoletes: chances are better that sleuthkit won't accidently uninstall the "other" fiwalk 1.0 in 3 years ;-)
Hmm, the guidelines don't contain anything about using %{version} vs. using a hardcoded version. Should we add a paragraph about it?
Proposal:
Obsoletes: should always contain the version number of the last available package. If you want to obsolete foo 1.1, use Obsoletes: foo <= 1.1 Do not use "Obsoletes: foo < %{version}"!
That was actually precisely my question. In this case fiwalk 0.6.16 was incorporated into sleuthkit 4.0.2. If a new standalone fiwalk were to be released in the future, I have no idea what it would be, other than it should be greater than 0.6.16. I will update my specfile to be <= 0.6.16 Thanks Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org