Project

General

Profile

Bug #12315

RPM: "with libs-compat" conditional extends to cover the devel-compat %files list

Added by Ken Dreyer about 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
07/13/2015
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:

Description

In the RPM .spec's %files list, the "with libs-compat" conditional was inadvertantly exended to cover the files list for ceph-devel-compat as well.

#################################################################################
%if 0%{with libs_compat}
%files libs-compat
# We need an empty %%files list for ceph-libs-compat, to tell rpmbuild to actually
# build this meta package.

#################################################################################
%files devel-compat
# We need an empty %%files list for ceph-devel-compat, to tell rpmbuild to
# actually build this meta package.
%endif

The "with libs-compat" conditional should only cover the "ceph-libs-compat" package, and not affect "ceph-devel-compat".

Associated revisions

Revision 50b4bdc1 (diff)
Added by Ken Dreyer about 3 years ago

ceph.spec.in: fix libs-compat / devel-compat conditional

In the RPM .spec's %files list, the "with libs-compat" conditional was
inadvertantly exended to cover the files list for ceph-devel-compat as
well.

The "with libs-compat" conditional should only cover the
"ceph-libs-compat" package, and not affect "ceph-devel-compat".

http://tracker.ceph.com/issues/12315 Fixes: #12315

Signed-off-by: Ken Dreyer <>

History

#1 Updated by Sage Weil almost 3 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF