Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://issues.redhat.com/browse/RHCS-4506 #4626

Merged

Conversation

ladycfu
Copy link
Contributor

@ladycfu ladycfu commented Nov 28, 2023

This patch attempts to fix the dependency issues in the spec file.

fixes https://issues.redhat.com/browse/RHCS-4506

@ladycfu ladycfu requested a review from edewata November 28, 2023 18:27
pki.spec Outdated
Requires: %{product_id}-base = %{version}-%{release}
Requires: jss >= 4.9.6, jss < 5.0
Requires: ldapjdk >= 4.23
Requires: %{product_id}-base >= %{version}-%{release}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this one we probably should use = since it comes from the same package, so we want to use the exact same version and release number:

Requires:         %{product_id}-base >= %{version}-%{release}

pki.spec Outdated
@@ -459,7 +459,7 @@ Provides: pki-tools = %{version}-%{release}

Requires: openldap-clients
Requires: nss-tools >= 3.36.1
Requires: %{product_id}-base-java = %{version}-%{release}
Requires: %{product_id}-base-java >= %{version}-%{release}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing here.

pki.spec Outdated
Comment on lines 493 to 494
Requires: %{product_id}-symkey >= %{version}-%{release}
Requires: %{product_id}-tools >= %{version}-%{release}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing here.

pki.spec Outdated
@@ -170,7 +170,7 @@ BuildRequires: zip
BuildRequires: %{java_devel}
BuildRequires: javapackages-tools
BuildRequires: redhat-rpm-config
BuildRequires: ldapjdk = 4.23
BuildRequires: ldapjdk >= 4.23
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can put the upper limit too if you want:

ldapjdk >= 4.23, ldapjdk < 5.0

pki.spec Outdated
@@ -800,9 +800,9 @@ BuildArch: noarch
Obsoletes: pki-console < %{version}-%{release}
Provides: pki-console = %{version}-%{release}

BuildRequires: idm-console-framework = 1.3
BuildRequires: idm-console-framework >= 1.3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing:

idm-console-framework >= 1.3, idm-console-framework < 2.0

@ladycfu ladycfu force-pushed the ticket-RHCS-4506-spec-dependencies branch from fb9298d to 5399676 Compare November 28, 2023 18:52
This patch attempts to fix the dependency issues in the spec file.

fixes https://issues.redhat.com/browse/RHCS-4506
@ladycfu ladycfu force-pushed the ticket-RHCS-4506-spec-dependencies branch from 5399676 to be4f50a Compare November 28, 2023 18:56
Copy link
Contributor

@edewata edewata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the update!

@ladycfu ladycfu merged commit 22a1d0f into dogtagpki:v10.13 Nov 28, 2023
48 of 58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants