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

Create RPM without rpmbuild #40

Closed
tcurdt opened this issue Oct 26, 2018 · 8 comments · Fixed by #67
Closed

Create RPM without rpmbuild #40

tcurdt opened this issue Oct 26, 2018 · 8 comments · Fixed by #67
Labels
enhancement New feature or request

Comments

@tcurdt
Copy link

tcurdt commented Oct 26, 2018

According to this a RPM consists of

  • lead (deprecated)
  • signature
  • header
  • archive

The archive should be just a gzipped cpio.
An available rpm parser should answer all questions.

@caarlos0
Copy link
Member

it was my idea on the beginning, seemed like a lot of work though...

@tcurdt
Copy link
Author

tcurdt commented Oct 26, 2018

it was my idea on the beginning, seemed like a lot of work though...

It doesn't look like that much work to me - but given I am not really using rpm it's a bit hard to find the time to contribute this. I am more interested in #39 at the moment.

@caarlos0
Copy link
Member

yeah, I also don't quite use RPMs :P

@tcurdt
Copy link
Author

tcurdt commented Nov 6, 2018

more information on rpm https://github.com/mildred/alien/blob/master/Alien/Package/Rpm.pm

GitHub
Package converter. Contribute to mildred/alien development by creating an account on GitHub.

@caarlos0 caarlos0 added the enhancement New feature or request label Nov 12, 2018
@tcurdt
Copy link
Author

tcurdt commented Nov 28, 2018

I made some progress but this is a bit more involved than the deb/apk format :-/

@jarondl
Copy link
Contributor

jarondl commented Mar 22, 2019

We are at very early stages, but you should check if https://github.com/google/rpmpack can help you. It still misses some vital stuff (like dependencies), but it should be easy to add.

If you can tell us exactly what you need you can influence the direction of rpmpack

GitHub
rpmpack (tar2rpm) - create rpms the easy way. Contribute to google/rpmpack development by creating an account on GitHub.

@caarlos0
Copy link
Member

caarlos0 commented Mar 22, 2019

@jarondl awesome!

we use only the basics I believe.

https://github.com/goreleaser/nfpm/blob/master/rpm/rpm.go#L306

GitHub
NFPM is Not FPM - a simple deb and rpm packager written in Go - goreleaser/nfpm

@caarlos0
Copy link
Member

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.

@goreleaser goreleaser locked as resolved and limited conversation to collaborators Nov 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants