Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 18 additions & 6 deletions source/packaging-software.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -854,9 +854,15 @@ Source0: https://example.com/%{name}/release/%{name}-%{version}.tar.gz
----

Next up we have ``BuildRequires`` and ``Requires``, each of which define
something that is required by the package. However, ``BuildRequires`` is to tell
``rpmbuild`` what is needed by your package at **build** time and ``Requires``
is what is needed by your package at **run** time.
something that is required by the package.

``BuildRequires`` are dependencies
needed for the **build process**, for example, compilers, build tools, and
development libraries. They are only required on the system doing the building.

``Requires`` are dependencies for the **runtime environment**. These are the
packages and libraries that must be installed on a user's system for your program
to run correctly

In this example we will need the ``python`` package in order to perform the
byte-compile build process. We will also need the ``python`` package in order to
Expand Down Expand Up @@ -1230,9 +1236,15 @@ Patch0: cello-output-first-patch.patch
----

Next up we have ``BuildRequires`` and ``Requires``, each of which define
something that is required by the package. However, ``BuildRequires`` is to tell
``rpmbuild`` what is needed by your package at **build** time and ``Requires``
is what is needed by your package at **run** time.
something that is required by the package.

``BuildRequires`` are dependencies
needed for the **build process**, for example, compilers, build tools, and
development libraries. They are only required on the system doing the building.

``Requires`` are dependencies for the **runtime environment**. These are the
packages and libraries that must be installed on a user's system for your program
to run correctly

In this example we will need the ``gcc`` and ``make`` packages in order to
perform the compilation build process. Runtime requirements are fortunately
Expand Down