On Sun, 23 Nov 2008, James Keenan via RT wrote:
Is there someone on RedHat or Fedora who could take a whack at this?
I'm unsure what the @make_and@ in the original does, but if it's just
a statement separator, the attached patch should work on Redhat-related
systems, if people have their RPM build environment set up properly. To set
up your RPM build environment properly, the following works (in bash):
mkdir $HOME/rpm
echo '%_topdir' $HOME/rpm >> $HOME/.rpmmacros
(note that in a shell script, you'd probably grep for topdir in
.rpmmacros before doing anything like this).
I've been a bad boy and only made the patch directly against the file,
not the whole tree, but, seeing as how it hasn't been tested, I'm also
assuming we don't want to apply it yet either :).
Assuming that I've made a copy of the SVN tree, how do I test a
compile with this patch applied?
HTH,
---------------------------------------------------------------------
| Name: Tim Nelson | Because the Creator is, |
| E-mail: [EMAIL PROTECTED] | I am |
---------------------------------------------------------------------
----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V-
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----
Index: root.in
===================================================================
--- root.in (revision 32502)
+++ root.in (working copy)
@@ -2177,9 +2177,7 @@
rm parrot-$(VERSION)
rpms : release
- sudo cp parrot-$(VERSION).tar.gz /usr/src/*/SOURCES
- sudo cp parrot.spec /usr/src/*/SPECS
- cd /usr/src/*/SPECS @make_and@ sudo rpmbuild -ba parrot.spec
+ rpmbuild -ta parrot-$(VERSION).tar.gz
win32-inno-installer : world installable
$(PERL) tools/dev/mk_inno.pl