Element reject

Name

reject

Synopsis

Mixed Content Model
reject ::=
( #PCDATA )
Attributes
None

Description

Define a rule to exclude certain rpms

The reject tag is used to filter rpms on their full name (including path) to exclude them from the apt repository. The filter has been constructed with grep -vE. The regular expressions that apply for grep can be used here as well.

In case one would like to reject rpms of the i686 architecture and release 2.2 one can make the following rule:
<reject>2.2.*i686</reject>. Which will actually result in grep -vE "2.2.*i686"
A similar result can be obtained by using 2 reject tags:
<reject>2.2</reject> and
<reject>i686</reject>
This will result in grep -vE "2.2|i686".

Parents

These elements contain reject: component .