1CREATE-FAKE-RPM(1) Create Fake RPM CREATE-FAKE-RPM(1)
2
3
4
6 create-fake-rpm - generate fake (S)RPM.
7
9 create-fake-rpm [--help] [--print-output] [--version=VERSION]
10 [--release=RELEASE] [--build] PACKAGE_NAME PROVIDES
11
13 This script creates empty RPM package to satisfy the dependencies.
14
15 It may be useful when you install some library/module/application
16 manually - without having an RPM package. E.g., when you
17
18 pip install somepackage
19
20 And when some RPM package Requires: python-somepackage then
21 /usr/bin/rpm refuses to install such package, because
22 python-somepackage is not present on your system. RPMDB does not know
23 what you know. So you can run:
24
25 create-fake-rpm --build python-somepackage python3dist(somepackage)
26
27 This create package fake-python-somepackage-0-0.noarch.rpm which
28 provides: "python-somepackage" and "python3dist(somepackage)". You can
29 install it using:
30
31 dnf install fake-python-somepackage-0-0.noarch.rpm
32
33 !!!! WARNING !!!!
34
35 This is a big gun. You can easily shot yourself in a leg. Do not use
36 this tool unless you know what you are doing. And if you know what you
37 are doing - then think twice before you use it. You can easily destroy
38 your machine with this tool.
39
41 --version=VERSION - you can specify version of your package. Default is
42 0.
43
44 --release=RELEASE - you can specify RELEASE of your package. Default is
45 0.
46
47 --build - create an RPM package. Without this option, only SRC.RPM
48 package will be created.
49
50 --print-result - just print resulting binary package. Without this
51 option, full rpmbuild output is print.
52
54 rpmbuild(8)
55
57 If you experience some problem, please report it at:
58 https://github.com/xsuchy/create-fake-rpm/issues
59
61 Miroslav Suchý <msuchy@redhat.com>
62
63
64
65create-fake-rpm 01/19/2022 CREATE-FAKE-RPM(1)