From Fedora Project Wiki

Revision as of 16:27, 2 June 2015 by Bochecha (talk | contribs) (Make it an rpkg test case as well, because fedpkg depends on rpkg)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This test case tests whether downloading the upstream sources for a Fedora package works properly.

Setup

  1. Install the fedpkg package.
  2. Set up your mock building environment, as detailed in the mock documentation

How to test

  1. In your favourite terminal application, run the following commands:
    $ fedpkg clone -a fedpkg && cd fedpkg
    $ fedpkg mockbuild
  2. You can now remove the fedpkg folder.

Expected Results

  1. The first command should have cloned the fedpkg git repository and entered it.
  2. The second command should have built new fedpkg packages locally, in a mock chroot. The packages should be somewhere in results_fedpkg.