Try to fix Provides/Obsoletes for gdb subpackage

OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=7
This commit is contained in:
Kristoffer Gronlund 2016-10-26 08:48:07 +00:00 committed by Git OBS Bridge
parent b8578d0d4a
commit 8108225eac

View File

@ -85,7 +85,14 @@ Summary: Gdb integration for rust binaries
Group: Development/Languages/Other
Provides: rust-%{rustc_version}-gdb = %{version}
Provides: rustc:/usr/bin/rust-gdb
Obsoletes: rust-1_9-gdb
Obsoletes: rust-1_9-gdb = %{version}
Provides: rust-1_9-gdb <= %{version}
Obsoletes: rustc-1_9-gdb = %{version}
Provides: rustc-1_9-gdb <= %{version}
Obsoletes: rust-1_10-gdb = %{version}
Provides: rust-1_10-gdb <= %{version}
Obsoletes: rustc-1_10-gdb = %{version}
Provides: rustc-1_10-gdb <= %{version}
Supplements: packageand(%{name}:gdb)
%description gdb