Bug 7182 - [framework] need to create "moblin-compliance" package to involve all libraries defined in spec
: [framework] need to create "moblin-compliance" package to involve all librari...
: NEW
: Moblin Compliance Tools
Moblin Distribution Checker
: unspecified
: Netbook Moblin Linux
: Undecided normal
: ---
:
:
:
:
 
 
Reported: 2009-10-21 19:09 PST by
Modified: 2009-10-23 04:48 PST (History)


Attachments
Example of a script generating spec file to build rpm in question (2.30 KB, text/plain)
2009-10-23 04:48 PST,
Details




Description From 2009-10-21 19:09:23 PST
Since it's one conclusion that it's not a good idea to involve all libraries
defined in spec to image (http://bugzilla.moblin.org/show_bug.cgi?id=6316#c8),
it's better to have one package named “moblin-compliance” with no content but
plenty of libraries dependency which defined in spec. Installing this package
is one precondition before dist-checker execution.

Track the requirement here and any comment about grabbing the libraries from
specdb and create the package could be tracked here.
------- Comment #1 From 2009-10-22 04:40:19 PST -------
Well, I've added a simple Perl generator of a list of included libraries to LF
bazaar.

You may find it here:
http://bzr.linuxfoundation.org/loggerhead/moblin/devel/spec-scripts/files

The script is called 'mkliblist.pl'.

In the simplest case, just launch it and (if you have the database setup
correctly) it will give you a list of sonames of included libraries.

After that, one should build a package that will depend on all these sonames.
------- Comment #2 From 2009-10-23 04:48:31 PST -------
[details]
Example of a script generating spec file to build rpm in question

The attached Perl script can be used to generate (using the database) RPM spec
file for a virtual package that will depend on all library sonames included in
the specification.

With the spec file generated, one can build a desired RPM. (Note that probably
some RPM tags in the generated file should be rearranged to meet Moblin
policies - i.e. 'License', 'Group', etc.)