On 01/17/2011 01:19 PM, Marcus Rueckert wrote:
On 2011-01-14 19:15:10 +0100, Vincent Untz wrote:
Le vendredi 14 janvier 2011, à 19:37 +0200, Dave Plater a écrit :
Hi, I've created a package home:plater/lv2core which contains doxygen docs, only one binary lv2config, lv2.h, lv2.ttl, manifest.ttl and lv2core.pc. I'm not really sure what the ttl files are for but the package is necessary for new package slv2 to build and that is it's only purpose. IMHO everything should be in one package but rpmlint doesn't like such things so I've put everything except lv2config in the main package and the rest in the devel package. I also get an rpmlint warning stating that the main package should be noarch, lv2config is a python script. Am I doing the right thing?
It sometimes makes sense to have everything in a package, without a devel package. See orc for an example (well, it does have subpackages, but not a devel one).
So if you're sure it's right, just do it the way you orginally did it; rpmlint cannot detect those cases automatically.
though... i would add a:
Provides: lv2core-devel = %{version}-%{release}
and use the lv2core-devel in the other packages as buildrequires. so when the package gets some shared library at some point, you dont have to change anything.
darix
Packman provides lv2core and lv2core-devel and by coincidence I've provided the same packages so I'm going to stick with that layout. A further complication is the binary in the lv2core rpm lv2config needs redland python bindings which I've built within the redland package and am still checking before submission. So multimedia:apps ardour has LV2 support and the user is happy. The slv2 packages and lv2core-devel enable ardour to build with LV2 plugin support and I've removed the manual requirement of lv2core for redland-python untill redland-python exists in factory. lv2config doesn't work with the initial redland-python bindings rpm installed atm. Thanks Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org