# New Ticket Created by  [EMAIL PROTECTED] 
# Please include the string:  [perl #61208]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61208 >


Hello,

with Fedora 10 the place for building RPMs change from /usr/src/redhat
to the directory "rpmbuild" in the home-directory of the user. So the
command:

    sudo cp parrot-$(VERSION).tar.gz /usr/src/*/SOURCES

does not work under Fedora 10. This patch modifies
"config/gen/makefiles/root.in" to generate a Makefile that builds the
RPMs in the subdirectory "rpmbuild" in the sources of parrot. So root
privileges are not needed any more to execute the command "make rpms".
The patch is tested under Fedora 7 and Fedora 9 and make the build
starting under Fedora 10.

Also the file "parrot.spec" is patched to change the line
    --cc=%{__cc} \
to
    --cc="%{__cc}" \
so that the c-compiler can be invoked with options, which he gets by the
configuration under Fedora 10. May be %{__cxx} from the next line should
also be set in double quotes.

The patch is generated with:
    svn diff > my_contribution.patch

I put the file in the tar-archiv "patch.tar" for not getting this e-mail
back with the error message: Probably the 'Hi' virus

Gerd Pokorra

Attachment: patch.tar
Description: Unix tar archive

Reply via email to