Skip to content

Commit

Permalink
doc: faq - how to handle autospec
Browse files Browse the repository at this point in the history
Taken from Diego Herrera from Fedora devel list
  • Loading branch information
xsuchy committed Oct 18, 2023
1 parent 2789f06 commit 4296420
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions doc/user_documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,23 @@ Please take a look at :ref:`rpkg_util_v3`.

See separate page :ref:`koji_vs_copr`.

.. _`How to deal with Copr and RPMAutoSpec?`:

.. rubric:: How to deal with Copr and RPMAutoSpec? :ref: `¶ <How to deal with Copr and RPMAutoSpec?>`

Set the source type to "Custom", and use the following script::

#! /bin/sh -x
git clone <git url> <project name>
cd <project name>
spectool -g <spec file>
rpmautospec process-distgit <spec file> <spec file>

Set the Buildroot dependencies to "git rpmdevtools rpmautospec" and
the Result directory to the same <project name> string used in the
script.


.. _`I have a problem and I need to talk to a human.`:

.. rubric:: I have a problem and I need to talk to a human. :ref:`¶ <I have a problem and I need to talk to a human.>`
Expand Down

0 comments on commit 4296420

Please sign in to comment.