-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
master appears to have broken rpm installs on Centos 7 #71
Comments
yeah, we are trying to build rpms without the rpm binary... it has been hard :( cc/ @djgilcrease |
thanks for reporting BTW, will definitely help! |
I think that is a noble aim and I wish you luck in your quest :-) |
thanks you, but to be fair, most of the work has been done by @djgilcrease :D |
Waiting on google/rpmpack#22 & google/rpmpack#23 which I hope are the final two PRs before I can get this working again. |
In this specific case, the package was not installable because the os field was missing: $ rpm -q --qf '%{os}\n' ~/Downloads/rclone-v1.49.4-linux-amd64.rpm
$ rpm -q --qf '%{os}\n' ~/Downloads/rclone-v1.49.3-linux-amd64.rpm
linux It seems like between google/rpmpack/pull/16 and google/rpmpack/pull/22 we somehow added os twice, once writing Because nfpm does not specify an os in this case, it remains blank, and then is uninstallable. I will add a safeguard against this, by setting it to
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
A user reported that the latest rpm builds aren't working for rclone: rclone/rclone#3580
This turns out to be because I accidentally set the CI to use the master branch of nfpm.
I thought you might like to hear about this anyway though...
So using a single binary
rclone
and the slightly edited templateI create the
.rpm
file withOn a Centos 7 machine I can then look at the rpms...
rpm created with nftp 0.13
Installs fine
rpm created with nfpm master
Fails to install
The text was updated successfully, but these errors were encountered: