-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
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 4.19.0 #144033
rpm 4.19.0 #144033
Conversation
f9536a9
to
ad970e0
Compare
314ed24
to
bcb9ea7
Compare
bcb9ea7
to
8637fa4
Compare
8637fa4
to
5d49ae8
Compare
d1462fa
to
8b389f2
Compare
I think we should consider making this Linux-only. It requires Linux-only Many of the above requirements used to be conditional when Autotools was used. But now with CMake this is just not possible to build without extensive patching. CC @Homebrew/core for thoughts. |
8b389f2
to
19ed21f
Compare
This should definitely be Linux only. We will need to adjust and remove the |
bbb4cc1
to
8ba103b
Compare
depends_on "libmagic" | ||
depends_on :linux |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should probably log an upstream ticket about this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Were you able to log that ticket @chenrui333 ?
@@ -14,6 +14,7 @@ class Rpmspectool < Formula | |||
sha256 cellar: :any_skip_relocation, x86_64_linux: "3b27e1de9b1da031214a7cfd84e39491faca0f84fa616f1f358b8602c7961bca" | |||
end | |||
|
|||
depends_on :linux |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:sad:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah. I used rpm to query packages information rpm -qpil foo.rpm
🤖 An automated task has requested bottles to be published to this PR. |
Formula/r/rpm.rb
Outdated
on_macos do | ||
depends_on "libomp" | ||
end | ||
depends_on "zlib" | ||
|
||
conflicts_with "rpm2cpio", because: "both install `rpm2cpio` binaries" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that despite the depends_on :linux
condition, the conflict still needs to be on_linux
only. rpm2cpio
's conflicts_with
is scoped.
rpm
* Formula rpm2cpio should also have a conflict declared with rpm
Also, make this Linux-only. It requires Linux-only `elfutils`, relies heavily on GNU extensions like `strchrnul` from `strings.h` and `GLOB_ONLYDIR` from `glob.h`, and has less (if any) practical usage outside of Linux. Many of the above requirements used to be conditional when Autotools was used. But now with CMake this is just not possible to build without extensive patching. Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com> Co-authored-by: Ruoyu Zhong <zhongruoyu@outlook.com>
Since `rpm` is now made Linux-only.
77b4a0e
to
1aa43d0
Compare
Created with
brew bump-formula-pr
.