#1130 Add RHEL/CentOS conditionals to spec
Closed: Fixed None Opened 9 years ago by mkosek.

When building FreeIPA packages released in Fedora for EPEL-7, I hit a dependency problem with PKI - it requires resteasy which drags an unmanageable dependency chain.

RHEL version of PKI requires resteasy-base, PKI should add conditional Requires for CentOS/RHEL for that version of reasteasy instead of full resteasy. This will make the same upstream PKI bits buildable both in Fedoras and EPEL-7.


Per discussions, moving to 10.2 (August).

I checked the Fedora 20 spec, the conditional is there. However, I think spec would benefit a lot if there would be a short description resteasy-base vs. resteasy as it is not obvious and confused couple people already.

Also, resteasy-base dependencies miss minimal versions:

%if  0%{?rhel}
BuildRequires:    resteasy-base-atom-provider
BuildRequires:    resteasy-base-jaxb-provider
BuildRequires:    resteasy-base-jaxrs
BuildRequires:    resteasy-base-jaxrs-api
BuildRequires:    resteasy-base-jettison-provider
%else
BuildRequires:    resteasy >= 3.0.1-3
%endif

... and fails when built in RHEL-7 build root.

Per discussions, moving to 10.2.1.

Proposed Milestone: 10.2.1 (per CS Meeting of 09/17/2014)

Checked into 'master':

  • 67f8c07d29a329f091a6c527f8d0dc9d52439cbd

Metadata Update from @mkosek:
- Issue assigned to mharmsen
- Issue set to the milestone: 10.2.1

7 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/1693

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Login to comment on this ticket.

Metadata