Hello community,

here is the log from the commit of package perl-App-CLI for openSUSE:Factory
checked in at Tue Mar 15 10:32:38 CET 2011.



--------
--- perl-App-CLI/perl-App-CLI.changes   2010-12-01 14:37:46.000000000 +0100
+++ /mounts/work_src_done/STABLE/perl-App-CLI/perl-App-CLI.changes      
2011-03-14 17:29:44.000000000 +0100
@@ -1,0 +2,11 @@
+Mon Mar 14 16:26:46 UTC 2011 - [email protected]
+
+- update to 0.313
+  * doc update
+  * new cascading attribute for subcommands. thanks to @shelling++.
+  * New Feature: Cascading Subcommand
+  * Deprecated Feature: Long Option Subcommand (still work)
+  * Abundant DOCs
+  * Fix the command pattern used in help.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  App-CLI-0.08.tar.bz2

New:
----
  App-CLI-0.313.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-App-CLI.spec ++++++
--- /var/tmp/diff_new_pack.cvpe0s/_old  2011-03-15 10:26:04.000000000 +0100
+++ /var/tmp/diff_new_pack.cvpe0s/_new  2011-03-15 10:26:04.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package perl-App-CLI (Version 0.08)
+# spec file for package perl-App-CLI
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,27 +18,40 @@
 
 
 Name:           perl-App-CLI
-Version:        0.08
-Release:        8
+Version:        0.313
+Release:        1
 License:        GPL+ or Artistic
 %define cpan_name App-CLI
 Summary:        Dispatcher module for command line interface programs
 Url:            http://search.cpan.org/dist/App-CLI/
 Group:          Development/Libraries/Perl
-#Source:         
http://www.cpan.org/modules/by-module/App/App-CLI-%{version}.tar.gz
+#Source:         
http://www.cpan.org/authors/id/C/CO/CORNELIUS/App-CLI-%{version}.tar.gz
 Source:         %{cpan_name}-%{version}.tar.bz2
 BuildRequires:  perl
+BuildRequires:  perl-macros
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
 BuildArch:      noarch
-BuildRequires:  perl-macros
-BuildRequires:  perl(Getopt::Long) >= 2.35
-Requires:       perl(Getopt::Long) >= 2.35
+%{perl_requires}
 
 %description
-App::CLI dispatches CLI (command line interface) based commands into
+'App::CLI' dispatches CLI (command line interface) based commands into
 command classes. It also supports subcommand and per-command options.
 
+get_opt([@config], %opt_map)
+        give options map, process by Getopt::Long::Parser
+
+interface of dispatcher
+
+cmd_map($cmd)
+    find package name of subcommand in constant %alias
+
+    if it's finded, return ucfirst of the package name,
+
+    otherwise, return ucfirst of $cmd itself.
+
+get_cmd($cmd, @arg)
+    return subcommand of first level via $ARGV[0]
+
 %prep
 %setup -q -n %{cpan_name}-%{version}
 
@@ -51,18 +64,14 @@
 
 %install
 %perl_make_install
-# do not perl_process_packlist (noarch)
-# remove .packlist file
-%{__rm} -rf %{buildroot}%perl_vendorarch
-# remove perllocal.pod file
-%{__rm} -rf %{buildroot}%perl_archlib
+%perl_process_packlist
 %perl_gen_filelist
 
 %clean
 %{__rm} -rf %{buildroot}
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
+%defattr(644,root,root,755)
 %doc Changes
 
 %changelog

++++++ App-CLI-0.08.tar.bz2 -> App-CLI-0.313.tar.bz2 ++++++
++++ 2989 lines of diff (skipped)


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to