From c8352a86a1ec1fe70ffd3b852463b1a4c9be73d0 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 27 May 2005 05:37:41 +0000 Subject: - use "our" instead of "use vars" - add addVarsInSh() and addVarsInShMode() --- MDK/Common.pm.pl | 8 ++++---- perl-MDK-Common.spec | 10 +++++++++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/MDK/Common.pm.pl b/MDK/Common.pm.pl index ea3cbe6..55218e3 100644 --- a/MDK/Common.pm.pl +++ b/MDK/Common.pm.pl @@ -69,12 +69,12 @@ use MDK::Common::String qw(:all); use MDK::Common::System qw(:all); use MDK::Common::Various qw(:all); -use vars qw(@ISA @EXPORT $VERSION); #); -@ISA = qw(Exporter); +use Exporter; +our @ISA = qw(Exporter); # perl_checker: RE-EXPORT-ALL -@EXPORT = map { @$_ } map { values %{'MDK::Common::' . $_ . 'EXPORT_TAGS'} } grep { /::$/ } keys %MDK::Common::; +our @EXPORT = map { @$_ } map { values %{'MDK::Common::' . $_ . 'EXPORT_TAGS'} } grep { /::$/ } keys %MDK::Common::; -$VERSION = "1.1.22"; +our $VERSION = "1.1.23"; 1; EOF diff --git a/perl-MDK-Common.spec b/perl-MDK-Common.spec index 8cc3b10..234b937 100644 --- a/perl-MDK-Common.spec +++ b/perl-MDK-Common.spec @@ -40,7 +40,7 @@ Various verifying scripts created for DrakX %setup -n %{name} %build -make test %build_option +make %build_option %install rm -rf $RPM_BUILD_ROOT @@ -64,6 +64,14 @@ rm -rf $RPM_BUILD_ROOT # MODIFY IN THE CVS: cvs.mandrakesoft.com:/cooker soft/perl-MDK-Common %changelog +* Thu May 19 2005 Pixel 1.1.23-1mdk +- use "our" instead of "use vars" +- add addVarsInSh() and addVarsInShMode() + +* Wed Feb 16 2005 Pixel 1.1.22-2mdk +- no need to call "make test", "make" is doing all what's needed + (and otherwise MDK/Common.pm is not generated when needed due to missing dependencies) + * Tue Feb 15 2005 Pixel 1.1.22-1mdk - fix building doc without buildrequiring perl-MDK-Common (thanks to Gary L. Greene) -- cgit v1.2.1