CREATE-FAKE-RPM(1)
π
create-fake-rpm β the girlies' guide to the create-fake-rpm manual page β¨
okay so bestie, buckle up π this is the manual for create-fake-rpm, and honestly? it's giving "power tool that could absolutely ruin your day" energy. let's get into it π
β¨ NAME β¨
create-fake-rpm β generate fake (S)RPM. yes fr, that's the whole name. it does exactly what it says on the tin, no cap π«Ά
πΈ SYNOPSIS πΈ
create-fake-rpm [--help] [--print-result] [--version=VERSION]
[--requires=PACKAGE] [--release=RELEASE] [--build] PACKAGE_NAME PROVIDES
π¦ DESCRIPTION π¦
so this script creates an empty RPM package to satisfy dependencies. that's the whole vibe. it's a placeholder, a decoy, a little stand-in guy π§
it's lowkey useful when you install some library/module/application manually β like, without having an RPM package for it. e.g., when you
pip install somepackage
and then some RPM package has Requires: python-somepackage, /usr/bin/rpm refuses to install that package, because python-somepackage is literally not present on your system. the RPMDB does not know what you know π it's not psychic, bestie. so you can run:
create-fake-rpm --build python-somepackage python3dist(somepackage)
this creates the package fake-python-somepackage-0-0.noarch.rpm, which provides: "python-somepackage" and "python3dist(somepackage)". iconic. and you can install it using:
dnf install fake-python-somepackage-0-0.noarch.rpm
!!!! WARNING !!!! π
this is a big gun. you can easily shot yourself in a leg. do not use this tool unless you know what you are doing. and if you do know what you are doing β then think twice before you use it. you can easily destroy your machine with this tool. like, actually destroy it. not me being dramatic, that's the manpage talking π«Ά
π OPTIONS π
--version=VERSIONβ you can specify the version of your package. the default is0.--release=RELEASEβ you can specify theRELEASEof your package. the default is0.--requires=PACKAGEβ makes the resulting rpm require another one. super useful for compatibility cases where packages have different names. can be used multiple times π₯ (stack 'em up, bestie)--buildβ creates an RPM package. without this option, only aSRC.RPMpackage will be created.--print-resultβ just prints the resulting binary package. without this option, the fullrpmbuildoutput is printed.
π SEE ALSO π
rpmbuild(8) β go read that one too, it's the main character this whole thing leans on β
π BUGS π
if you experience some problem, please report it at: https://github.com/xsuchy/create-fake-rpm/issues
no gatekeeping, just open the issue π
π AUTHOR π
Miroslav SuchΓ½ <msuchy@redhat.com> β a real one, fr fr π
and that's the tea, bestie π this page is from the Create Fake RPM manual, dated 07/17/2024 β go forth, build your fake packages, and please please please don't blow up your machine ππ
π¦ where this page comes from
- epel 10: create-fake-rpm 5-6.el10_0 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms