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] [--version=VERSION] [--release=RELEASE]
10 [--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
51 rpmbuild(8)
52
54 If you experience some problem, please report it at:
55 https://github.com/xsuchy/create-fake-rpm/issues
56
58 Miroslav Suchý <msuchy@redhat.com>
59
60
61
62create-fake-rpm 04/24/2020 CREATE-FAKE-RPM(1)