Building an Empty RPM
Mar 25, 2022

Building an Empty RPM

When searching for information on creating an empty, or null rpm file, I was unable to locate the spec file details needed. In another post, I will describe my need for this empty rpm, but for now here is the minimal spec file needed to build an empty rpm:Place the following in a file called, php.specSummary: Empty PHPName: phpVersion: 0Release: 0License: PublicGroup: Applications/System%descriptionEmpty PHP RPM%filesNow, build your new php rpm using the following command:# rpmbuild -bb php.specProcessing files: php-0-0Checking for unpackaged file(s): /usr/lib/rpm/check-files %{buildroot}Wrote: /usr/src/redhat/RPMS/i386/php-0-0.i386.rpmAnd that's it, you now have an empty rpm!

Related posts

Browse more
We haven't published any posts