Bugzilla – Bug 670650
perl-apparmor is missing dependencies
Last modified: 2011-03-14 19:01:23 UTC
perl-apparmor as used by yast2's AppArmor modules is missing dependencies it requires perl-TermReadKey perl-DBD-SQLite perl-RPC-XML and lacks the file Immunix/Notify.pm zypper in perl-TermReadKey perl-DBD-SQLite perl-RPC-XML and echo 1 >> /usr/lib/perl5/.../Immunix/Notify.pm made all but one yast module work without complaints. JW also suggested, that most perl packages run checks at build time to catch such missing files/packages before shipping.
Regarding Notify.pm: # locate Notify.pm /usr/lib/perl5/vendor_perl/5.12.2/Immunix/Notify.pm The file is in the yast2-apparmor package, however it is in the wrong directory because the perl version is 5.12.3. Therefore it isn't in @INC and can't be found. This should hopefully be fixed with a rebuild - I'll send a mail to the factory ML to request it. I'll also do a SR to add BuildRequires: perl-macros %{perl_requires} to yast2-apparmor - this should hopefully trigger automatic rebuilds in the future if the perl version changes.
The Notify issue was resolved by the rebuild. For the requires I did https://build.opensuse.org/request/show/62483
Tue Feb 22 12:45:43 UTC 2011 - bwiedemann@novell.com - Add Requires for used perl packages (bnc#670650). Closing as fixed.