twitter linkedin youtube
  • About
  • Blog
  • My Services
  • Twitter
  • LinkedIn
  • Email
All tags

    Building an rpm which contains a single file

    When I looked through the rpm build doco on the web, it seemed that all the instructions largely focussed on compiling binaries prior to packaging in an RPM. What if all you want to do is package a single file (eg an initialisation script) into an RPM for distribution with…

    Read More
    • linux
    • rpm
    • yum
    • rpmbuild

    Modify an srpm

    To unpack the contents of an SRPM, make changes, then re-package it, follow the below steps 1) Install rpmbuild yum install rpmbuild 2) Install the srpm rpm -ivh http://server/package-1.0.1.src.rpm * This will install * source into ~/rpmbuild/SOURCE/package-1.0.1.tar.gz * Spec file into…

    Read More
    • linux
    • rpm
    • rpmbuild

    Building an rpm from source

    If you have a .src.rpm file, you can rebuild it on your local system using rpmbuild --rebuild /tmp/mypackage-1.0.0-1.src.rpm This will extrack the source files from the file and rebuild it using the instructions in the spec file.…

    Read More
    • rpm
    • rpmbuild

    Load more posts
    Subscribe!
    All content copyright © 2025 • All rights reserved.
    Proudly published with Ghost