summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-05-27 05:37:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-05-27 05:37:41 +0000
commitc8352a86a1ec1fe70ffd3b852463b1a4c9be73d0 (patch)
treeb711c5ed5fcfc22cc650f11114ee52fae80271d5
parent6ab064d983971735835001abc2b8568871d6c00c (diff)
downloadperl-MDK-Common-c8352a86a1ec1fe70ffd3b852463b1a4c9be73d0.tar
perl-MDK-Common-c8352a86a1ec1fe70ffd3b852463b1a4c9be73d0.tar.gz
perl-MDK-Common-c8352a86a1ec1fe70ffd3b852463b1a4c9be73d0.tar.bz2
perl-MDK-Common-c8352a86a1ec1fe70ffd3b852463b1a4c9be73d0.tar.xz
perl-MDK-Common-c8352a86a1ec1fe70ffd3b852463b1a4c9be73d0.zip
- use "our" instead of "use vars"
- add addVarsInSh() and addVarsInShMode()
-rw-r--r--MDK/Common.pm.pl8
-rw-r--r--perl-MDK-Common.spec10
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 <pixel@mandriva.com> 1.1.23-1mdk
+- use "our" instead of "use vars"
+- add addVarsInSh() and addVarsInShMode()
+
+* Wed Feb 16 2005 Pixel <pixel@mandrakesoft.com> 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 <pixel@mandrakesoft.com> 1.1.22-1mdk
- fix building doc without buildrequiring perl-MDK-Common (thanks to Gary L. Greene)