Mailinglist Archive: opensuse (929 mails)

< Previous Next >
Re: [opensuse] Package name differences
On 03/17/2014 09:03 AM, Dylan wrote:
Hi All,

I use Makehuman ( - a 3D human figure modeling application) which
has a Linux rpm at

The rpm requires:


which are provided by openSUSE as:


I have installed the three libraries, and used --nodeps to install the
package. The application is fully functional, but of course this leaves the
database in an inconsistent state. I figure I can create a fake rpm which
"provides" the three packages under the names required by the makehuman rpm,
"requires" the three packages under their openSUSE names.

Is this a viable approach? Are there any gotchas I should be aware of? Can
anyone point me to a suitable resource to learn how to do this?



That's fine, that's what the 'Provides: pkgname' tag is for:

The provides Tag

The provides tag is used to specify a virtual package that the packaged software
makes available when it is installed. Normally, this tag would be used when
different packages provide equivalent services. For example, any package that
allows a user to read mail might provide the mail-reader virtual package.
Another package that depends on a mail reader of some sort, could require the
mail-reader virtual package. It would then install without dependency problems,
if any one of several mail programs were installed. Here's what a provides tag
might look like:

Provides: mail-reader

In your case, just modify the .spec file for (eg. python-opengl) to include:

Provides: PyOpenGL

(don't forget to at least update the Release: )


rpmbuild -v -bb python-opengl.spec

and install.

David C. Rankin, J.D.,P.E.
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread