Skip to content

Commit 299d5d6

Browse files
committed
doc: fix reST links and a C&P error
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.
1 parent d1b75e9 commit 299d5d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/user_documentation.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -876,11 +876,11 @@ Please take a look at :ref:`rpkg_util_v3`.
876876

877877
See separate page :ref:`koji_vs_copr`.
878878

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

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

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

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

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

0 commit comments

Comments
 (0)