rpmrebuild

Rating: 
5
Your rating: None Average: 5 (4 votes)

From rpmrebuild's website:

rpmrebuild is a tool to build an RPM file from a package that has already been installed
in a basic use, rpmrebuild use do not require any rpm building knowledge
(On debian, the equivalent product is dpkg-repack)

This package allows modifying packages, generating .spec files based on package contents, etc. In other words, it is useful for development of Sailfish packages on Sailfish devices.
Note: the package is taken verbatim from upstream.

Application versions: 
AttachmentSizeDate
File rpmrebuild-2.11-1.noarch.rpm98.89 KB14/09/2016 - 04:02
File rpmrebuild-2.11-2.noarch.rpm102.05 KB16/09/2016 - 14:19
Changelog: 

- kill setarch

Comments

Jordi's picture

Do you accept donations? Long ago, I promised 20 Euros for the person who will develop this...

https://docs.google.com/spreadsheets/d/1J9S3R23718AjkcnWybSdgNl6iHzT_8Gy...

czarkoff's picture

Unfortunately it wasn't me who developed this tool: I only packaged it, slightly modified to fit Jolla. See rpmrebuild project page for details on authors.

Jordi's picture

Well, you are the one who did it for Sailfish...

Markkyboy's picture

Very handy, nice one, thanks!

Jordi's picture

Excellent! I waited so long for this.

I had a problem though, this is what I get for my first try (same result with devel-su):
[nemo@Sailfish ~]$ rpmrebuild harbour-solarsystem
setarch: armv7hl: Unrecognized architecture
/usr/lib/rpmrebuild/rpmrebuild.sh: ERROR: package 'harbour-solarsystem' build failed

Any help appreciated.

czarkoff's picture

Updated version contains a crude workaround.

Jordi's picture

Thanks a lot, it's working now!

czarkoff's picture

Indeed setarch does not allow armv7hl. I'll look into fixing this.

As a workaround you may use rpmrebuild to generate a .spec file, and then use rpmbuild to build package.