Ticket #503 (closed patch: fixed)

Opened 13 years ago

Last modified 13 years ago

RPM spec file could do a better job of working with more distros

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

Description

Gerd sent me a version of the spec file that had been modified by Jerome Quelin to work on Mandriva. I've tried to create a version of the spec file that works on Fedora, SuSE, and Mandriva, by incorporating as much as possible of the changes desired by Jerome Quelin. I only have a Fedora (Fedora 10) system to check on, but it works fine there.

Attachments

parrot_multidistro.patch Download (6.2 KB) - added by wayland 13 years ago.
Patch to make spec file work with multiple distributions
parrot_separate_distros_spec.patch Download (25.8 KB) - added by wayland 13 years ago.
Patch with separate spec files for separate distros

Change History

Changed 13 years ago by wayland

Patch to make spec file work with multiple distributions

Changed 13 years ago by allison

<allison>	hmmm... I have serious doubts about how possible it's going to be to have one specfile for all the different distributions
	<allison>	they have such extremely different requirements
	<allison>	and, the people who are maintaining one have no clue what the other needs
	<allison>	and vice versa
	<allison>	and no one is testing all the specfiles for all the distributions
	<allison>	what I want is to check the specfiles for each distribution into ports/
	<allison>	and just delete the top-level parrot.spec
	<allison>	so, if someone builds a custom, up-to-date RPM for their distribution, it will be using the exact same specfile as the distribution

Changed 13 years ago by wayland

Ok, I've attached a new patch. All this does is: - Copy the existing spec file to ports/fedora/ and ports/suse/ - Remove the few lines that are conditional on the distro (sensibly; I keep the appropriate stuff) - Adds a new spec file for Mandriva -- This was e-mailed to me by Gerd Pokorras(sp?) who got it from Jerome Quelin. I can't test it, but I haven't modified it at all.

Anyway, hopefully these are fine, and hopefully the patch works -- I'm not sure my svn skills were up to it this time. Let me know if it doesn't work.

Changed 13 years ago by wayland

Patch with separate spec files for separate distros

Changed 13 years ago by allison

  • status changed from new to closed
  • resolution set to fixed

Patch applied in r38159, thanks! Resolving ticket.

Note: See TracTickets for help on using tickets.