Hi,

I want an fake/vitual rpm spec to satisfy dependencies of some commercial software with an ugly install script.

My spec looks like this:

Summary: Use to generate virtual package to fake /bin/sh.
Vendor:  bla
Name:    fake-bin-sh
Version: 0.0.0
Release: r1
Group:   foo
License: GPL2
buildarch: noarch

%description
Create virtual package specifying /bin/sh as a virtual package.

provides: /bin/sh

%prep
%build
%install
%clean
%files

But this does not what I want. Can some help me to fix this?

$ rpm -q --provides --specfile fake-rpm.spec
(none)
# rpmbuild -bb fake-rpm.spec
$ rpm -qp --provides /usr/src/redhat/RPMS/noarch/fake-bin-sh-0.0.0-r1.noarch.rpm
fake-bin-sh = 0.0.0-r1

Thanks,

Sascha.
--
gentoo-user@gentoo.org mailing list

Reply via email to