I've trying to create a Samba RPM for an old version of Fedora. There aren't any available to download on the internet so I've got the source code.
So far I have the five standard directories
/SOURCES there is the source code in a tar ball.
/SPEC is the
When I do a
rpmbuild -v -bb --clean SPECS/samba.spec it falls over after untarring the ball and attempting to build. The error is:
line 29: autogen.sh : command not found.
More specifically, in my
%build there is:
After this I install it all with
make install in section
Where am I going wrong?
Please note this all works fine when manually installing the source code.
With the ./autogen.sh removed, it comes up with: '/var/tmp/rpm-tmp.BEyARh: line 29: ./configure: No such file or directory.
EDIT: A-ha! I think I know the problem. It's looking in the root
/samba directory for
./autogen.sh and etc, when it should be looking in `/samba/source3/ once it's extracted the tar ball and put it into /BUILD. How do I configure this?