spec: add explicit requires for -libs subpackage
RPMDiff was complaining about this: ``` Subpackage rpm-ostree on x86_64 consumes library librpmostree-1.so.1()(64bit) from subpackage rpm-ostree-libs but does not have explicit package version requirement. Please add Requires: rpm-ostree-libs = %{version}-%{release} to rpm-ostree in the specfile to avoid the need to test interoperability between the various combinations of old and new subpackages. ``` Since we don't use any symbol versioning in rpm-ostree, this seems like a fair point. In practice, the matching -libs package should be available at the same time when composing/installing, though this protects us from manual `rpm` invocations as well.
This commit is contained in:
parent
4bd8b46192
commit
b6f475dcdd
@ -61,6 +61,8 @@ Requires: ostree
|
|||||||
Requires: bubblewrap
|
Requires: bubblewrap
|
||||||
Requires: fuse
|
Requires: fuse
|
||||||
|
|
||||||
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
rpm-ostree is a hybrid image/package system. It supports
|
rpm-ostree is a hybrid image/package system. It supports
|
||||||
"composing" packages on a build server into an OSTree repository,
|
"composing" packages on a build server into an OSTree repository,
|
||||||
@ -79,7 +81,7 @@ The %{name}-libs package includes the shared library for %{name}.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development headers for %{name}
|
Summary: Development headers for %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The %{name}-devel package includes the header files for %{name}-libs.
|
The %{name}-devel package includes the header files for %{name}-libs.
|
||||||
|
Loading…
Reference in New Issue
Block a user