Skip to content

Commit

Permalink
packaging: spec: ensure debug packages alignment
Browse files Browse the repository at this point in the history
Debug packages requires same exact version of the runtime
packages in order to properly work.
Added explicit require ensuring that the version match.

Concern has been raised related to eventual yum update
error messages related to version locking:
debug packages are not meant to be installed on any production
environment other than for debugging purpose.
Once the debug is finished they need to be removed.

Change-Id: I77f1e509c7e0d8ed903ad33c154098c974e08c39
Bug-Url: https://bugzilla.redhat.com/1401963
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
  • Loading branch information
sandrobonazzola committed Feb 27, 2017
1 parent 9dc8499 commit 1406ba1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ovirt-engine.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ The user portal interface to %{ovirt_product_name_short}
%package userportal-debuginfo
Summary: Debug information for User Portal of %{ovirt_product_name_short}
Group: %{ovirt_product_group}
Requires: %{name}-userportal = %{version}-%{release}

%description userportal-debuginfo
Debug information for the user portal interface to %{ovirt_product_name_short}
Expand All @@ -477,6 +478,7 @@ The web administration interface to %{ovirt_product_name_short}
%package webadmin-portal-debuginfo
Summary: Debug information for Web Admin Portal of %{ovirt_product_name_short}
Group: %{ovirt_product_group}
Requires: %{name}-webadmin-portal = %{version}-%{release}

%description webadmin-portal-debuginfo
Debug information for the web administration interface to %{ovirt_product_name_short}
Expand Down

0 comments on commit 1406ba1

Please sign in to comment.