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

Modified ncompress requirement in RPM to exclude RHEL9 #13490

Merged
merged 1 commit into from
May 24, 2022

Conversation

rincebrain
Copy link
Contributor

Motivation and Context

#13480
The bug this was working around is no longer present in RHEL9, and neither is the ncompress package.

Description

Just copied the old logic from the PR to exclude newer EL versions.

How Has This Been Tested?

The RPM did not build on my RHEL9 testbed without this change, and did with.

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:

The bug this was working around is no longer present.

Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
@behlendorf behlendorf added Component: Packaging custom packages Status: Accepted Ready to integrate (reviewed, tested) labels May 24, 2022
@behlendorf behlendorf merged commit 3c35662 into openzfs:master May 24, 2022
@@ -36,7 +36,7 @@ Obsoletes: spl-dkms
Provides: %{module}-kmod = %{version}
AutoReqProv: no

%if 0%{?rhel}%{?fedora}%{?suse_version}
%if (0%{?fedora}%{?suse_version}) || (0 < 0%{?rhel} && 0%{?rhel} < 9)
Copy link
Contributor

Choose a reason for hiding this comment

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

This RHEL clause makes no sense. It should be (0%{?rhel} && 0%{?rhel} < 9) or (0%{?rhel} > 0 && 0%{?rhel} < 9). I'm not even sure what a < 0 does here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My vague recollection is that some older specfile version didn't allow you to get away with just 0%{?rhel}.

Or maybe my brain is rotten. It's a toss-up, really. :)

behlendorf pushed a commit to behlendorf/zfs that referenced this pull request May 25, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480
Closes openzfs#13490
behlendorf pushed a commit that referenced this pull request May 27, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #13480
Closes #13490
nicman23 pushed a commit to nicman23/zfs that referenced this pull request Aug 22, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
nicman23 pushed a commit to nicman23/zfs that referenced this pull request Aug 22, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
lundman pushed a commit to openzfsonwindows/openzfs that referenced this pull request Sep 12, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
beren12 pushed a commit to beren12/zfs that referenced this pull request Sep 19, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request Sep 23, 2022
The bug this was working around is no longer present.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#13480 
Closes openzfs#13490
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