ekg2-python provides python python provides python EQ 0 2.5.1 9.fc8 perl-ekg2 provides perl perl provides perl EQ 4 5.8.8 25.fc8 ekg2-core provides ncurses ncurses provides ncurses EQ 0 5.6 9.20070812.fc8 ekg2-voip provides gsm gsm provides gsm EQ 0 1.0.12 5.fc8 ekg2-gpg provides gpg gnupg provides gpg gnupg2 provides gpg ekg2-xosd provides xosd xosd provides xosd EQ 0 2.2.14 10.fc8
Yes, these are all plug-ins. Any idea how to fix this?
They are not normal for sub-packages. But where do they come from? Do they also appear in a fresh scratch-build?
Maybe they are generated as a side-effect of the Polish translations and are a bug in rpm-build?
Ah! Bad SONAMEs from the plugin libs. You need to filter them out with customised find-provides scripts.
OK. I've tried and failed. Could you point me to a working example?
http://fedoraproject.org/wiki/PackagingDrafts/FilteringAutomaticDependencies That enough as a recipe? [...] An alternative way is like this: %define _use_internal_dependency_generator 0 # patch against /usr/lib/rpm/redhat/find-provides Patch1000: my.custom.find-provides.patch # here in %prep section cp -a /usr/lib/rpm/redhat/find-provides %{_tmppath}/find-provides.%{name} patch %{_tmppath}/find-provides.%{name} %{PATCH1000} %define __find_provides %{_tmppath}/find-provides.%{name} In that case you learn when the original find-provides changes in unexpected ways that break the customisation.
Thank you for the pointers. Fixed in devel. I'll poke rel-eng.
Created attachment 203651 [details] one solution * the sed regexp in your filter-provides.sh is broken, it accidentally kills Provides you don't have in the list * perl-ekg2 still provides "perl" (as the proof that the sed is wrong -- perhaps you wanted to used \| instead of | but the pattern is too inaccurate with /d) * other sub-packages provide lots of symbols which look like packages names, e.g.: jabber, gtk (they are only deleted accidentally) The attached patch doesn't filter the Provides, but the filelist passed to find-provides. It takes out the plugins and the Perl shared libs.
As a side-note, the iconv calls in the %install section break --short-circuit rpmbuilds, since source files in $RPM_BUILD_DIR are modified, and repeated conversion leads to file corruption. Better modify the files in %prep instead.
New version is out and doesn't have the bad sonames anymore. I fixed the issue from comment 9, too. Scratch build here: http://koji.fedoraproject.org/koji/taskinfo?taskID=208558
ekg2-0.1.1-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update ekg2'
ekg2-0.1.1-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.