I'm putting together an rpm for RHEL, at later SLES.
My .spec looks like (with some specifics genericised for sharing):
Summary: Set up some stuff
Name: foo
Version: 0.4
Release: 1
License: Unknown
Group: System Environment/Base
Source: /pri
URL: None
Distribution: None
Vendor: Us
Packager: Me
BuildArch: noarch
Requires: bash >= 3, python >= 2.5, coreutils
#%__find_requires: /bin/true
%description
Just do some stuff.
%files
/pri/sec
%post
/pri/sec/ter
Name: foo
Version: 0.4
Release: 1
License: Unknown
Group: System Environment/Base
Source: /pri
URL: None
Distribution: None
Vendor: Us
Packager: Me
BuildArch: noarch
Requires: bash >= 3, python >= 2.5, coreutils
#%__find_requires: /bin/true
%description
Just do some stuff.
%files
/pri/sec
%post
/pri/sec/ter
I'm quite unaware of having requested /bin/bsh as a depedency, so I suppose it's being added automatically somehow. Oddly, I don't have a /bin/bsh on my systems.
I've tried this on RHEL 6.0 and Ubuntu 11.04, using the same specfile. Both do the magic /bin/bsh to me.
Any suggestions?
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list