Hi Adam, Thanks for your reply and you just beat me to it. I asked my package sponsor and he said about the same thing as you: "A quick look at the mandriva specfile shows that their and our packaging conventions differ enough to not make this feasible without ending up with a big spagetthi of %if ... . Best would be upstream to include one spec file per distro, or just let the distros handle it."
I'm still learning a lot about the Fedora system, packaging, etc but I know you can view my spec file from here: http://cvs.fedoraproject.org/viewvc/rpms/barry/. Chris -------------------------------------------------- From: "Adam Williamson" <[EMAIL PROTECTED]> Sent: Monday, November 17, 2008 12:57 PM To: "Barry project development discussion" <barry-devel@lists.sourceforge.net> Subject: Re: [Barry-devel] FC10 & Barry -- USB Charging > On Thu, 2008-11-13 at 23:54 -0500, Chris Frey wrote: > >> Would you guys be interested in crafting one spec that works on both >> Fedora >> and Mandriva? > > Unfortunately there are a few differences between the two which make > this usually impractical. We use different release macros, and some > slightly different conventions (Fedora keeps changelogs in their spec > files and we don't, for instance). > > Fedora specs will usually build in Mandriva with a special macro > compatibility file in /etc/rpm/macros.d, but we can't use that for > official packages in our repos, they have to match our standards. So I > don't think that would be practical. We can certainly keep the spec > files very similar, though - as I mentioned, this is actually already > the case for several packages in MDV, where we keep our packages > generally in sync with Fedora patches etc. > > Christopher, is there somewhere in SVN or something where I can easily > keep an eye on the Fedora spec? The current Mandriva spec is always > available in MDV SVN. > -- > adamw > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Barry-devel mailing list > Barry-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/barry-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel