Fix up the unversioned libs' deps
Turn requires into conflicts -- the requires get autogenerated from the SONAMES. This is a cosmetical change. Add the %isa so that secondary arch's libs won't satisfy them.
This commit is contained in:
parent
3fd9c56777
commit
9683aed6e5
@ -12,14 +12,17 @@ Source: https://www.freedesktop.org/software/ModemManager/%{name}-%{version}.tar
|
||||
License: GPLv2+
|
||||
|
||||
URL: http://www.freedesktop.org/wiki/Software/ModemManager/
|
||||
Requires: glib2 >= %{glib2_version}
|
||||
Requires: libqmi >= %{qmi_version}
|
||||
Requires: libmbim >= %{mbim_version}
|
||||
# For mbim-proxy and qmi-proxy
|
||||
Requires: libmbim-utils
|
||||
Requires: libqmi-utils
|
||||
Requires: %{name}-glib%{?_isa} = %{version}-%{release}
|
||||
|
||||
# Don't allow older versions of these than what we built against,
|
||||
# because they add new API w/o versioning it or bumping the SONAME
|
||||
Conflicts: glib2%{?_isa} < %{glib2_version}
|
||||
Conflicts: libqmi%{?_isa} < %{qmi_version}
|
||||
Conflicts: libmbim%{?_isa} < %{mbim_version}
|
||||
|
||||
Requires(post): systemd
|
||||
Requires(postun): systemd
|
||||
Requires(preun): systemd
|
||||
|
Loading…
Reference in New Issue
Block a user