From Fedora Project Wiki
PreupgradeAssistant contents Packaging guidelines
How to package a PreupgradeAssistant contents
Naming guidelines
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
.