scstadmin: Rename the SCST-SCST Perl module into SCST_SCST

From http://perldoc.perl.org/ExtUtils/MakeMaker.html: "NAME must
be a valid Perl package name". Rename the Perl module to avoid
that MakeMaker reports the following:
    
Warning: NAME must be a package name



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6325 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-06-16 18:16:18 +00:00
parent fe36df55d3
commit 1890eee7b9
6 changed files with 15 additions and 11 deletions

View File

@@ -83,6 +83,10 @@ install install_vendor:
fi \
fi \
done
# Remove the files that are obsolete since SCST-SCST has been
# renamed into SCST_SCST.
rm -rf "$$(/usr/bin/perl -V:sitearch | sed "s|.*='||;s|'.*||")/auto/SCST-SCST"
# Install the files that have just been built.
install -d $(DESTDIR)$(INITDIR)
tmp=/tmp/scst-initd-$$$$ && init.d/scst >$$tmp && \
install -m 755 $$tmp $(DESTDIR)$(INITDIR)/scst && \

View File

@@ -1,12 +1,12 @@
#!/usr/bin/perl -w
#
# Makefile for the SCST-SCST perl module
# Makefile for the SCST_SCST perl module
#
use ExtUtils::MakeMaker;
WriteMakefile(
'NAME' => 'SCST-SCST',
'NAME' => 'SCST_SCST',
'VERSION_FROM' => 'lib/SCST/SCST.pm',
'AUTHOR' => 'Mark R. Buechler <Mark.Buechler@gmail.com>',
'PREREQ_PM' => {},

View File

@@ -1,15 +1,15 @@
SCST-SCST is a perl module for querying and configuring SCST.
SCST_SCST is a perl module for querying and configuring SCST.
AVAILABILITY
Currently SCST-SCST ships with SCST itself available from
Currently SCST_SCST ships with SCST itself available from
http://scst.sourceforge.net.
INSTALLATION
Install SCST-SCST as you would any other perl module:
Install SCST_SCST as you would any other perl module:
perl Makefile.PL
make

View File

@@ -69,7 +69,7 @@ rm -f /usr/local/man/man5/scst.conf.5*
/etc/init.d/scst
%{_sbindir}/scstadmin
%{perl_vendorlib}/SCST
%{perl_vendorarch}/auto/SCST-SCST
%{perl_vendorarch}/auto/SCST_SCST
%{_mandir}/man1/scstadmin.1*
%{scstadmin_perl_installvendorman3dir}/SCST::SCST.3pm*
%{_mandir}/man5/scst.5*

View File

@@ -1,12 +1,12 @@
#!/usr/bin/perl -w
#
# Makefile for the SCST-SCST perl module
# Makefile for the SCST_SCST perl module
#
use ExtUtils::MakeMaker;
WriteMakefile(
'NAME' => 'SCST-SCST',
'NAME' => 'SCST_SCST',
'VERSION_FROM' => 'lib/SCST/SCST.pm',
'AUTHOR' => 'Mark R. Buechler <Mark.Buechler@gmail.com>',
'PREREQ_PM' => {},

View File

@@ -1,15 +1,15 @@
SCST-SCST is a perl module for querying and configuring SCST.
SCST_SCST is a perl module for querying and configuring SCST.
AVAILABILITY
Currently SCST-SCST ships with SCST itself available from
Currently SCST_SCST ships with SCST itself available from
http://scst.sourceforge.net.
INSTALLATION
Install SCST-SCST as you would any other perl module:
Install SCST_SCST as you would any other perl module:
perl Makefile.PL
make