Search code examples
rpmrpm-spec

Create wrapper rpm for other package


I am trying to create an RPM ("mine") to facilitate the installation of another RPM "other" (not maintained by me). This third-party RPM requires packages "foo" and "bar". I want my RPM to provide the packages "foo" and "bar" but with my own implementations. Is it possible to define a RPM that specifies that it provides the other packages?


Solution

  • I was so sure that I was looking for a way to alias package names that I missed the obvious 'Provides' section.

    Provides: foo bar
    

    solves the issue.