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

rpm: Use the correct version-release information in dependencies #13489

Merged
merged 1 commit into from
May 24, 2022

Conversation

Conan-Kudo
Copy link
Contributor

@Conan-Kudo Conan-Kudo commented May 21, 2022

Motivation and Context

This fixes an issue in which it was possible to mix subpackages from different builds of the same version. This was undesirable, especially when testing patches that change code across multiple subpackages. By making this change, it will no longer be possible to have a mixture for userspace components.

Description

This changes the dependency strings for subpackages within this package so that they're dependent on the exact build produced from this spec file.

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist:

@Conan-Kudo Conan-Kudo changed the title rpm: Fix dependency strings to us correct version-release information rpm: Fix dependency strings to use the correct version-release information May 21, 2022
@Conan-Kudo Conan-Kudo changed the title rpm: Fix dependency strings to use the correct version-release information rpm: Use the correct version-release information in dependencies May 21, 2022
rpm/generic/zfs.spec.in Outdated Show resolved Hide resolved
This tightly links the subpackages together and ensures that everything
is upgraded together.

Signed-off-by: Neal Gompa <ngompa@datto.com>
@behlendorf behlendorf added Component: Packaging custom packages Status: Accepted Ready to integrate (reviewed, tested) labels May 24, 2022
@behlendorf behlendorf merged commit 4dc1c8a into openzfs:master May 24, 2022
@Conan-Kudo Conan-Kudo deleted the spec-dep-fixes branch May 24, 2022 21:27
nicman23 pushed a commit to nicman23/zfs that referenced this pull request Aug 22, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
nicman23 pushed a commit to nicman23/zfs that referenced this pull request Aug 22, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
lundman pushed a commit to openzfsonwindows/openzfs that referenced this pull request Sep 12, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Sep 15, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
beren12 pushed a commit to beren12/zfs that referenced this pull request Sep 19, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
This tightly links the subpackages together and ensures that everything
is upgraded together.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Neal Gompa <ngompa@datto.com>
Closes openzfs#13489
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Packaging custom packages Status: Accepted Ready to integrate (reviewed, tested)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants