openSUSE:Standards YaST2 Repository Metadata packages

Jump to: navigation, search


Changes

  • added =Cks: key
  • added freshens
  • added supplements

Syntax

Header keywords

The cache file starts with a header defining the version.

Keyword Value Comment
=Ver 2.0 The old (common.pkd) format was 1.1, this one is 2.0


The old Encoding tag is not needed any more since the package data file is ASCII and does not contain any language-specific data.

Package entry keywords

Keyword Value Comment
=Pkg name version release architecture These four values identify a package unambiguously and are used as a key
+Req
-Req
tags required for installation
+Prq
-Prq
tags tags required before installation
+Prv
-Prv
tags tags provided
+Con
-Con
tags tags conflicting
+Obs
-Obs
tags obsoleted
+Rec
-Rec
tags recommended
+Sug
-Sug
tags suggested
+Fre
-Fre
tags freshens
+Sup
-Sup
tags supplements
+Enh
-Enh
tags enhances
=Loc media_nr filename[ path] location of the package file
path is optional and defaults to <DATADIR>/<arch>/<filename>
(see media description for <DATADIR>)
=Siz pkgsize instsize size in bytes
=Tim buildtime build time in time_t format
=Vnd vendor Package vendor (falls back to the source vendor if not present or empty).
=Src name version release architecture of source package
architecture must be src or nosrc
If architecture in the Pkg line already is src or nosrc, the
=Grp rpmgroup
=Lic license
=Cks type checksum type can be SHA1 or MD5 followed by the checksum
+Aut
-Aut
authors
=Shr name version release architecture of another package.
All values not explicitly set in the current package entry are shared with the mentioned package.
Useful e.g. for optimized versions of the same
+Kwd
-Kwd
keywords coming from package database

Example

 =Pkg: 3ddiag 0.494 16 i586
 +Req:
 /bin/cp
 /bin/ln
 /bin/ls
 /bin/mkdir
 /bin/mv
 /bin/rm
 /bin/cat
 aaa_base
 /bin/sh
 /bin/sh
 ld-linux.so.2
 libc.so.6
 libc.so.6(GLIBC_2.0)
 libhd.so.5
 rpmlib(PayloadIsBzip2) <= 3.0.5-1
 -Req:
 +Prq:
 /bin/cp
 /bin/ln
 /bin/ls
 /bin/mkdir
 /bin/mv
 /bin/rm
 /bin/cat
 aaa_base
 /bin/sh
 rpmlib(PayloadIsBzip2) <= 3.0.5-1
 -Prq:
 +Prv:
 mesa:/etc/mesa.conf
 -Prv:
 =Loc: 1 3ddiag-0.494-16.i586.rpm
 =Siz: 27958 64932
 =Tim: 1028715372
 =Src: 3ddiag 0.494 16 src
 =Grp: System/Base
 =Lic: GPL
 +Aut:
 Stefan Dirsch <sndirsch@suse.de>
 -Aut: