Require .olpc in rpms in ~/public_rpms/F14?

2011-02-28 Thread Martin Langhoff
Hi Daniel,

to ensure we keep track (and limit) of what non-Fedora rpms make it to
the builds, should the rpm collection step... ?

 - only grab rpms that say .olpc
 - complain about rpms that don't...

This would mean that in the package listing, it's non-ambiguous what
packages we're carrying.

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Require .olpc in rpms in ~/public_rpms/F14?

2011-02-28 Thread Simon Schampijer
On 02/28/2011 02:37 PM, Martin Langhoff wrote:
 Hi Daniel,

 to ensure we keep track (and limit) of what non-Fedora rpms make it to
 the builds, should the rpm collection step... ?

   - only grab rpms that say .olpc
   - complain about rpms that don't...

 This would mean that in the package listing, it's non-ambiguous what
 packages we're carrying.

 cheers,


 m

What would be the preferred place to put 'olpc' in the rpm name? Between 
the distribution version and the 'arch'? Like:

Version: 0.92.0
Release: 1%{?dist}.olpc

sugar-0.92.0-1.fc14.olpc.noarch.rpm

And another check could be to make sure there is a srpm available for 
each package.

Regards,
Simon
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Require .olpc in rpms in ~/public_rpms/F14?

2011-02-28 Thread Martin Langhoff
On Mon, Feb 28, 2011 at 2:44 PM, Simon Schampijer si...@schampijer.de wrote:
 What would be the preferred place to put 'olpc' in the rpm name? Between
 the distribution version and the 'arch'? Like:

 Version: 0.92.0
 Release: 1%{?dist}.olpc

Yes - dsd links to
https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Minor_release_bumps_for_old_branches

 And another check could be to make sure there is a srpm available for
 each package.

Yes! No inclusion unless it sees srpm. To script it...

SRPM=`rpm -q --queryformat '%{SOURCERPM}' -p $RPM`

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Require .olpc in rpms in ~/public_rpms/F14?

2011-02-28 Thread C. Scott Ananian
FWIW, the original intent was *only* to allow SRPMS in the dropbox; we were
going to explicitly rebuild the RPMs from the SRPMS in mock and use only the
built RPMs.  In addition to ensuring compliance with licensing provisions,
this was also intended as a developer aid: at the time, it was often easier
to generate a correct patched SRPM from the source than it was to create an
appropriate and up-to-date mock environment for the build, and often
developer RPMs were built in subtly-incompatible environments.  I don't know
if those concerns are still valid at the present time.

Like many things from long ago, the build from SRPM feature was incomplete
when it lost its developers.  It might be the proper time to resurrect it,
although perhaps having RPMs which don't match the SRPM isn't a problem any
more.
  --scott

-- 
 ( http://cscott.net/ )
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel