1CREATE-FAKE-RPM(1)              Create Fake RPM             CREATE-FAKE-RPM(1)
2
3
4

NAME

6       create-fake-rpm - generate fake (S)RPM.
7

SYNOPSIS

9       create-fake-rpm [--help] [--print-result] [--version=VERSION]
10       [--requires=PACKAGE] [--release=RELEASE] [--build] PACKAGE_NAME
11       PROVIDES
12

DESCRIPTION

14       This script creates empty RPM package to satisfy the dependencies.
15
16       It may be useful when you install some library/module/application
17       manually - without having an RPM package. E.g., when you
18
19           pip install somepackage
20
21       And when some RPM package Requires: python-somepackage then
22       /usr/bin/rpm refuses to install such package, because
23       python-somepackage is not present on your system. RPMDB does not know
24       what you know. So you can run:
25
26           create-fake-rpm --build python-somepackage python3dist(somepackage)
27
28       This create package fake-python-somepackage-0-0.noarch.rpm which
29       provides: "python-somepackage" and "python3dist(somepackage)". You can
30       install it using:
31
32           dnf install fake-python-somepackage-0-0.noarch.rpm
33
34       !!!! WARNING !!!!
35
36       This is a big gun. You can easily shot yourself in a leg. Do not use
37       this tool unless you know what you are doing. And if you know what you
38       are doing - then think twice before you use it. You can easily destroy
39       your machine with this tool.
40

OPTIONS

42       --version=VERSION - you can specify version of your package. Default is
43       0.
44
45       --release=RELEASE - you can specify RELEASE of your package. Default is
46       0.
47
48       --requires=PACKAGE - make the resulting rpm require another one, useful
49       for compatibility cases where packages have different names. Can be
50       used multiple times.
51
52       --build - create an RPM package. Without this option, only SRC.RPM
53       package will be created.
54
55       --print-result - just print resulting binary package. Without this
56       option, full rpmbuild output is print.
57

SEE ALSO

59       rpmbuild(8)
60

BUGS

62       If you experience some problem, please report it at:
63       https://github.com/xsuchy/create-fake-rpm/issues
64

AUTHOR

66       Miroslav Suchý <msuchy@redhat.com>
67
68
69
70create-fake-rpm                   07/19/2023                CREATE-FAKE-RPM(1)
Impressum