From Fedora Project Wiki
(Created page with "{{admon/warning|This is a DRAFT.}} = PreupgradeAssistant contents Packaging guidelines = == How to package a PreupgradeAssistant contents == == Naming guidelines == == Dep...")
 
(Naming guidelines)
Line 6: Line 6:
  
 
== Naming guidelines ==
 
== Naming guidelines ==
 +
Every Preupgrade Assistant content package must start with '''preupgrade-assistant-contents''' which is followed by original package name all lowercase.
 +
 +
For example preupgrade assistant package name '''mariadb''' will be named '''preupgrade-assistant-contents-mariadb''' in the SPEC file.
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 13:51, 21 January 2015

Warning.png
This is a DRAFT.

PreupgradeAssistant contents Packaging guidelines

How to package a PreupgradeAssistant contents

Naming guidelines

Every Preupgrade Assistant content package must start with preupgrade-assistant-contents which is followed by original package name all lowercase.

For example preupgrade assistant package name mariadb will be named preupgrade-assistant-contents-mariadb in the SPEC file.

Dependencies

  • All packages must Require preupgrade-assistant.
  • All packages must have BuildRequires: preupgrade-assistant-tools. (for macros and checking)

Architecture

  • All preupgrade-assistant-contents must be architecture independent, i. e. BuildArch: noarch.

Macros

  • The macro denoting the parent directory where the package files go is %{_preupgradedir}. This currently expands to /usr/share/preupgrade.

Build section

Install section

Check section

Files section

Directory ownership

Sample SPEC