Ticket #270 (closed patch: done)

Opened 6 years ago

Last modified 5 years ago

[PATCH] for the file parrot.spec to support SuSE

Reported by: gerd Owned by:
Priority: normal Milestone:
Component: install Version:
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description

This little patch is for the file "parrot.spec" so that it (make rpms) also works under SuSE. I tried it under: SUSE Linux Enterprise Server 10 (i586) VERSION = 10 PATCHLEVEL = 1

I tried it also under Fedora. The new spec-file still works under Fedora.

Gerd Pokorra

Attachments

parrot.spec.patch Download (0.9 KB) - added by gerd 6 years ago.
Generated with: diff -u parrot.spec parrot.spec.new > ~/parrot.spec.patch
parrot.spec.new Download (6.7 KB) - added by gerd 6 years ago.
I send the patch again and add the remove of perl6 to it. I created the file "parrot.spec.new" from revision 36670. It is tested under Fedora 7 and OpenSuSE 11.1. It would be nice if it would be applied before the coming out of release 0.9.1.
spec.diff Download (2.6 KB) - added by cotto 6 years ago.
build.log Download (3.8 KB) - added by gerd 6 years ago.
first attempt to build parrot as package over the fedoraproject
parrotspec.patch Download (4.1 KB) - added by wayland 5 years ago.
Updated patch to spec file

Change History

Changed 6 years ago by gerd

Generated with: diff -u parrot.spec parrot.spec.new > ~/parrot.spec.patch

Changed 6 years ago by gerd

I send the patch again and add the remove of perl6 to it. I created the file "parrot.spec.new" from revision 36670. It is tested under Fedora 7 and OpenSuSE 11.1. It would be nice if it would be applied before the coming out of release 0.9.1.

Changed 6 years ago by gerd

If someone wants to update the file "parrot.spec" forget the attachments. A spec-file is under the URL  ftp://ftp.uni-siegen.de/pub/parrot/parrot.spec

It is for the version 0.9.1 and has: - \r\n -> \n - a docs-package ...

At the moment I have only produced Fedora 7 packages with it.

Gerd Pokorra

Changed 6 years ago by cotto

Changed 6 years ago by cotto

I've attached a diff between gerd's parrot.spec and the one in svn. I don't know enough about rpms to say if the changes should be committed. Could someone who does please say so?

Changed 6 years ago by gerd

Hello cotto, this patch is obsolete, if the patch in the ticket #371 (patch to auto-generate parrot.spec) would be applied. When it all works, there is no need to know much about rpms.

The two commands

perl Configure.pl make rpms

will do everything by it self (rpmbuild -ba parrot.spec). I tested the patch in ticket #371 under Fedora 7, 8, 9, 10, 11Alpha, openSUSE 11.1 and SLES 10. The two commands should then also work even under a svn repository from parrot.

P.S. BuildRequires: perl-Test-Harness

is needed to be included in parrot.spec so that a build from a source rpm with the fedora-package-tool (koji) will start. I detect this by the applied attachment.

Gerd

Changed 6 years ago by gerd

first attempt to build parrot as package over the fedoraproject

Changed 5 years ago by wayland

Hi. I believe that this patch is not obsolete, as I specified in my message on the other ticket. I've made an updated version of the patch that works better with the rakudo build process. Can someone review or apply this?

Changed 5 years ago by wayland

Updated patch to spec file

Changed 5 years ago by wayland

Gerd pointed out that mistakes in the Changelog matter. Gerd++

Changed 5 years ago by gerd

This ticket can be closed. Changes are applied with release 1.0.0. Gerd

Changed 5 years ago by rurban

  • status changed from new to closed
  • resolution set to done
Note: See TracTickets for help on using tickets.