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

Build rpms without requiring rpmbuild #54

Open
jordansissel opened this Issue Jun 21, 2011 · 10 comments

Comments

Projects
None yet
5 participants
@jordansissel
Owner

jordansissel commented Jun 21, 2011

rpmbuild isn't available on some systems without going through pains to install it manually.

The RPM format is poorly documented, but in general, it should be doable to generate RPMs directly from ruby instead of rpmbuild. This would also let me avoid any workarounds I might require to use rpmbuild.

@jneen

This comment has been minimized.

Show comment
Hide comment
@jneen

jneen Jun 22, 2011

Collaborator

+1. It would be awesome for people to be able to build all sorts of packages in one go, on the same box.

Collaborator

jneen commented Jun 22, 2011

+1. It would be awesome for people to be able to build all sorts of packages in one go, on the same box.

@jordansissel

This comment has been minimized.

Show comment
Hide comment
@jordansissel

jordansissel Jun 22, 2011

Owner

Exactly. I already generate .deb files without the help of any debian tools. rpm's internal format is some serious bullshit, but I made headway a few weeks ago (see lib/rpm/ in the fpm source tree).

Owner

jordansissel commented Jun 22, 2011

Exactly. I already generate .deb files without the help of any debian tools. rpm's internal format is some serious bullshit, but I made headway a few weeks ago (see lib/rpm/ in the fpm source tree).

@howardjones

This comment has been minimized.

Show comment
Hide comment
@howardjones

howardjones Sep 6, 2011

Or at least document that it requires rpmbuild :-) The docs don't appear to mention external dependencies at all...

(but +1 for being able to build rpm and deb on anything!)

howardjones commented Sep 6, 2011

Or at least document that it requires rpmbuild :-) The docs don't appear to mention external dependencies at all...

(but +1 for being able to build rpm and deb on anything!)

@ankurcha

This comment has been minimized.

Show comment
Hide comment
@ankurcha

ankurcha Feb 14, 2013

Any update on this?

ankurcha commented Feb 14, 2013

Any update on this?

@jordansissel

This comment has been minimized.

Show comment
Hide comment
@jordansissel

jordansissel Feb 14, 2013

Owner

Not yet, I haven't had energy yet to implement the 'write an rpm file' library in Ruby.

Owner

jordansissel commented Feb 14, 2013

Not yet, I haven't had energy yet to implement the 'write an rpm file' library in Ruby.

@ankurcha

This comment has been minimized.

Show comment
Hide comment
@ankurcha

ankurcha Feb 14, 2013

Is this something I can help with? I have some spare cycles that I can give.

If you have any notes or something I can give it a whirl.

ankurcha commented Feb 14, 2013

Is this something I can help with? I have some spare cycles that I can give.

If you have any notes or something I can give it a whirl.

@jordansissel

This comment has been minimized.

Show comment
Hide comment
@jordansissel

jordansissel Feb 14, 2013

Owner

The ruby library I wrote "arr-pm" implements reading an RPM. It needs write support (which should include setting any property in the rpm, adding files, signing, etc)

http://github.com/jordansissel/ruby-arr-pm

Owner

jordansissel commented Feb 14, 2013

The ruby library I wrote "arr-pm" implements reading an RPM. It needs write support (which should include setting any property in the rpm, adding files, signing, etc)

http://github.com/jordansissel/ruby-arr-pm

@kevinkjt2000

This comment has been minimized.

Show comment
Hide comment
@kevinkjt2000

kevinkjt2000 Apr 30, 2018

This is the one thing keeping me from using fpm for rpm creation. Adding the pure ruby capability of writing rpm files would be exactly in line with the first bit of the README.

  • If fpm is not helping you make packages easily, then there is a bug in fpm.
  • If you are having a bad time with fpm, then there is a bug in fpm.

Should this issue be labeled with bug?

kevinkjt2000 commented Apr 30, 2018

This is the one thing keeping me from using fpm for rpm creation. Adding the pure ruby capability of writing rpm files would be exactly in line with the first bit of the README.

  • If fpm is not helping you make packages easily, then there is a bug in fpm.
  • If you are having a bad time with fpm, then there is a bug in fpm.

Should this issue be labeled with bug?

@jordansissel

This comment has been minimized.

Show comment
Hide comment
@jordansissel

jordansissel May 3, 2018

Owner

@kevinkjt2000 I don't make much strong use of github issue labels in this project. If it comforts you, I can add a bug label.

This is the one thing keeping me from using fpm for rpm creation

Can you describe your situation more? What about rpmbuild prevents you from using it?

Owner

jordansissel commented May 3, 2018

@kevinkjt2000 I don't make much strong use of github issue labels in this project. If it comforts you, I can add a bug label.

This is the one thing keeping me from using fpm for rpm creation

Can you describe your situation more? What about rpmbuild prevents you from using it?

@kevinkjt2000

This comment has been minimized.

Show comment
Hide comment
@kevinkjt2000

kevinkjt2000 May 3, 2018

Can you describe your situation more? What about rpmbuild prevents you from using it?

Sure thing 😄

rpmbuild isn't available on some systems without going through pains to install it manually.

kevinkjt2000 commented May 3, 2018

Can you describe your situation more? What about rpmbuild prevents you from using it?

Sure thing 😄

rpmbuild isn't available on some systems without going through pains to install it manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment