[Rpm-maint] RPM Managment system.
Ville Skyttä
ville.skytta at iki.fi
Mon Jul 7 19:27:38 UTC 2008
On Monday 07 July 2008, Stanislav Brabec wrote:
> Nesreen wrote:
> > 1- I wander that upon making a package using RPM software, can I
> > assign version/build numbers for each file included in my package ,
>
> No, you cannot. Version/release are assigned only for packages. But you
> can have one file per package and then assign version numbers to
> particular packages.
Provides: can assign versions to just about anything. File versions could be
implemented for example with something like
Provides: file(/foo/bar) = 1.0.1
Provides: file(/bar/quux) = 2.0.0
...
> > can I query this version number after installation?(and I assume that
> > my package contains set of binaries and database files).?
>
> Only packages have version/release.
Provides: can be queried with --provides (and --whatprovides).
More information about the Rpm-maint
mailing list