diff --git a/App-CLI-0.07.tar.gz b/App-CLI-0.07.tar.gz new file mode 100644 index 0000000..f7ca65b --- /dev/null +++ b/App-CLI-0.07.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f61671617b39f2c00d04dd393843697cbf5b4002b9968e3984c9eaab1310800 +size 26901 diff --git a/App-CLI-0.08.tar.gz b/App-CLI-0.08.tar.gz deleted file mode 100644 index c7aff05..0000000 --- a/App-CLI-0.08.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3032c4528803769a624e5d5af6b64ae84fc13414e81e9c6a6d18393640728c49 -size 24160 diff --git a/noautoinstall.diff b/noautoinstall.diff new file mode 100644 index 0000000..b56e7f0 --- /dev/null +++ b/noautoinstall.diff @@ -0,0 +1,12 @@ +--- Makefile.PL.orig 2007-04-23 01:14:11.000000000 +0200 ++++ Makefile.PL 2007-04-23 01:14:21.000000000 +0200 +@@ -14,7 +14,7 @@ + 'Pod::Simple::Text' => 0, + ); + +-include('ExtUtils::AutoInstall'); +-auto_install(); ++#include('ExtUtils::AutoInstall'); ++#auto_install(); + + WriteAll( sign => 1 ); diff --git a/perl-App-CLI.changes b/perl-App-CLI.changes index 1cc061c..40f63e2 100644 --- a/perl-App-CLI.changes +++ b/perl-App-CLI.changes @@ -1,9 +1,3 @@ -------------------------------------------------------------------- -Sun Feb 14 10:04:26 UTC 2010 - coolo@novell.com - -- update to 0.08 - * Allow commands to be provided as inner packages - ------------------------------------------------------------------- Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de diff --git a/perl-App-CLI.spec b/perl-App-CLI.spec index 1fa7f12..6adafbe 100644 --- a/perl-App-CLI.spec +++ b/perl-App-CLI.spec @@ -19,8 +19,8 @@ Name: perl-App-CLI -Version: 0.08 -Release: 1 +Version: 0.07 +Release: 72 # Group: Development/Libraries/Perl License: Artistic License .. ; GPLv2 @@ -31,22 +31,27 @@ Requires: perl-Locale-Maketext-Simple Requires: perl = %{perl_version} # Url: http://search.cpan.org/~clkao/ -Source: http://search.cpan.org/CPAN/authors/id/C/CL/CLKAO/App-CLI-%{version}.tar.gz +Source: http://search.cpan.org/CPAN/authors/id/C/CL/CLKAO/App-CLI-0.07.tar.gz +Patch0: noautoinstall.diff # Summary: Dispatcher module for command line interface programs -BuildArch: noarch -BuildRequires: perl(Getopt::Long) >= 2.35 -Requires: perl(Getopt::Long) >= 2.35 %description App::CLI dispatches CLI (command line interface) based commands into command classes. It also supports subcommand and per-command options. + + +Authors: +-------- + Chia-liang Kao + %prep %setup -n App-CLI-%{version} +%patch0 %build -perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" INSTALLDIRS=vendor +perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" make %{?_smp_mflags} %check