Gentoo Archives: gentoo-user

From: Sascha Lucas <sascha.lucas@×××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] OT: help on rpm fake/virtual spec file
Date: Tue, 11 Oct 2005 20:14:06
Message-Id: Pine.LNX.4.64.0510112150590.24600@tragbb.ehf.hav-fghggtneg.qr
1 Hi,
2
3 I want an fake/vitual rpm spec to satisfy dependencies of some commercial
4 software with an ugly install script.
5
6 My spec looks like this:
7
8 Summary: Use to generate virtual package to fake /bin/sh.
9 Vendor: bla
10 Name: fake-bin-sh
11 Version: 0.0.0
12 Release: r1
13 Group: foo
14 License: GPL2
15 buildarch: noarch
16
17 %description
18 Create virtual package specifying /bin/sh as a virtual package.
19
20 provides: /bin/sh
21
22 %prep
23 %build
24 %install
25 %clean
26 %files
27
28 But this does not what I want. Can some help me to fix this?
29
30 $ rpm -q --provides --specfile fake-rpm.spec
31 (none)
32 # rpmbuild -bb fake-rpm.spec
33 $ rpm -qp --provides /usr/src/redhat/RPMS/noarch/fake-bin-sh-0.0.0-r1.noarch.rpm
34 fake-bin-sh = 0.0.0-r1
35
36 Thanks,
37
38 Sascha.
39 --
40 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] (solved) OT: help on rpm fake/virtual spec file Sascha Lucas <sascha.lucas@×××××××××××××××××.de>