Skip to content

Commit

Permalink
doc: fix reST links and a C&P error
Browse files Browse the repository at this point in the history
Since the autospec part is a new section, and the link to it is
a non-working (typo) anyway, nobody can use it to reference to us.
So let's use much simpler link format.
  • Loading branch information
praiskup committed Nov 1, 2023
1 parent d1b75e9 commit 299d5d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/user_documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -876,11 +876,11 @@ Please take a look at :ref:`rpkg_util_v3`.

See separate page :ref:`koji_vs_copr`.

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

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

The easiest way is to use `DistGit source type <#distgit>`. It automatically
The easiest way is to use :ref:`DistGit source type <dist-git method>`. It automatically
expands ``%autorelease`` and ``%autochangelog`` from the cloned dist-git
repository.

Expand All @@ -894,7 +894,7 @@ Set the source type to "Custom", and use the following script::
.. tweak the spec file or checkout the desired branch ..
copr-distgit-client sources # download sources
copr-distgit-client srpm --outputdir .
bsdtar xf /tmp/cpio-2.14-4.src.rpm -C "$COPR_RESULTDIR"
bsdtar xf *.src.rpm -C "$COPR_RESULTDIR"

Set the Buildroot dependencies to ``copr-distgit-client bsdtar``. Alternatively
you can go even deeper and use ``git rpmdevtools rpmautospec`` deps with::
Expand Down

0 comments on commit 299d5d6

Please sign in to comment.