Mailinglist Archive: opensuse-commit (1857 mails)
| < Previous | Next > |
commit ack for openSUSE:Factory
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Tue, 20 Sep 2011 09:27:57 +0200
- Message-id: <20110920072757.B457C202A8@hilbert.suse.de>
Hello community,
here is the log from the commit of package ack for openSUSE:Factory
checked in at Tue Sep 20 09:27:57 CEST 2011.
--------
--- ack/ack.changes 2011-02-26 15:53:06.000000000 +0100
+++ /mounts/work_src_done/STABLE/ack/ack.changes 2011-09-19
10:09:54.000000000 +0200
@@ -1,0 +2,21 @@
+Mon Sep 19 08:08:13 UTC 2011 - puzel@xxxxxxxx
+
+- update to 1.96:
+ [ENHANCEMENTS]
+ * Now ignores minified Javascript files. Anything matching
+ -min.js or .min.js is ignored.
+ * Added Groovy support (--groovy).
+ * Added .pm6 as a --perl extension.
+ * Lua can now get detected from the shebang line. Thanks,
+ Matthew Wild.
+ * Added support for version numbers in executables in shebang
+ detection. Now if your Perl program's shebang refers to
+ /usr/local/bin/perl-5.14.1, ack will find it.
+
+-------------------------------------------------------------------
+Sat Sep 17 10:44:39 UTC 2011 - jengelh@xxxxxxxxxx
+
+- Remove redundant tags/sections from specfile
+- Use %_smp_mflags for parallel build
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
ack-1.94.tar.gz
New:
----
ack-1.96.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ack.spec ++++++
--- /var/tmp/diff_new_pack.1lYAHT/_old 2011-09-20 09:27:54.000000000 +0200
+++ /var/tmp/diff_new_pack.1lYAHT/_new 2011-09-20 09:27:54.000000000 +0200
@@ -1,20 +1,4 @@
-#
-# spec file for package ack
-#
-# 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
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
+# vim: set ts=4 sw=4 et:
%{!?perl_make_install: %global perl_make_install make DESTDIR=$RPM_BUILD_ROOT
install_vendor}
@@ -25,17 +9,17 @@
%endif
Name: ack
-Version: 1.94
-Release: 6
+Version: 1.96
+Release: 0
Summary: Grep-Like Text Finder
Source:
http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/ack-%{version}.tar.gz
Patch1: ack-ignore-osc.patch
Patch2: ack-fix_smartcase_test_for_old_perl.patch
Patch3: ack-add_spec.patch
-Url: http://petdance.com/ack/
+URL: http://petdance.com/ack/
Group: Productivity/Text/Utilities
License: Perl License
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRoot: %{_tmppath}/build-%{name}-%{version}
Requires: perl
BuildRequires: make perl perl-File-Next
%if %with_pod
@@ -48,15 +32,7 @@
%description
ack is a grep-like tool tailored to working with large trees of source code.
-
-
-
-Authors:
---------
- Andy Lester <andy@xxxxxxxxxxxx>
-
%package -n perl-App-Ack
-
Summary: Grep-Like Text Finder Perl Module
Group: Development/Libraries/Perl
Requires: perl-base = %{perl_version}
@@ -75,7 +51,7 @@
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
-%__make
+make %{?_smp_mflags}
%install
%perl_make_install
@@ -102,9 +78,6 @@
%check
%__make test
-%clean
-%{?%__rm -rf "%{buildroot}"}
-
%files
%defattr(-,root,root)
%doc rpmdoc_ack/*
@@ -120,4 +93,4 @@
%{perl_vendorlib}/App/Ack
%if 0%{?perl_process_packlist:1}
%endif
-%changelog
+
++++++ ack-1.94.tar.gz -> ack-1.96.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ack-1.94/Ack.pm new/ack-1.96/Ack.pm
--- old/ack-1.94/Ack.pm 2010-11-16 05:46:22.000000000 +0100
+++ new/ack-1.96/Ack.pm 2011-09-18 20:34:07.000000000 +0200
@@ -20,8 +20,8 @@
our $VERSION;
our $COPYRIGHT;
BEGIN {
- $VERSION = '1.94';
- $COPYRIGHT = 'Copyright 2005-2010 Andy Lester.';
+ $VERSION = '1.96';
+ $COPYRIGHT = 'Copyright 2005-2011 Andy Lester.';
}
our $fh;
@@ -88,6 +88,7 @@
erlang => [qw( erl hrl )],
fortran => [qw( f f77 f90 f95 f03 for ftn fpp )],
go => [qw( go )],
+ groovy => [qw( groovy gtmpl gpp grunit )],
haskell => [qw( hs lhs )],
hh => [qw( h )],
html => [qw( htm html shtml xhtml )],
@@ -102,7 +103,7 @@
objcpp => [qw( mm h )],
ocaml => [qw( ml mli )],
parrot => [qw( pir pasm pmc ops pod pg tg )],
- perl => [qw( pl pm pod t )],
+ perl => [qw( pl pm pm6 pod t )],
php => [qw( php phpt php3 php4 php5 phtml)],
plone => [qw( pt cpt metadata cpy py )],
python => [qw( py )],
@@ -538,7 +539,7 @@
close $fh;
if ( $header =~ /^#!/ ) {
- return ($1,TEXT) if $header =~ /\b(ruby|p(?:erl|hp|ython))\b/;
+ return ($1,TEXT) if $header =~
/\b(ruby|lua|p(?:erl|hp|ython))-?(\d[\d.]*)?\b/;
return ('shell',TEXT) if $header =~ /\b(?:ba|t?c|k|z)?sh\b/;
}
else {
@@ -558,6 +559,7 @@
/#.+#$/ - Emacs swap files
/[._].*\.swp$/ - Vi(m) swap files
/core\.\d+$/ - core dumps
+ /[.-]min\.js$/ - Minified javascript files
Note that I<$filename> must be just a file, not a full path.
@@ -572,6 +574,7 @@
return if $filename =~ m{^#.*#$}o;
return if $filename =~ m{^core\.\d+$}o;
return if $filename =~ m{[._].*\.swp$}o;
+ return if $filename =~ /[.-]min\.js$/;
return 1;
}
@@ -810,10 +813,11 @@
$ignore_dirs
Files not checked for type:
- /~\$/ - Unix backup files
- /#.+#\$/ - Emacs swap files
+ /~\$/ - Unix backup files
+ /#.+#\$/ - Emacs swap files
/[._].*\\.swp\$/ - Vi(m) swap files
- /core\\.\\d+\$/ - core dumps
+ /core\\.\\d+\$/ - core dumps
+ /[.-]min\\.js\$/ - Minified javascript files
Miscellaneous:
--noenv Ignore environment variables and ~/.ackrc
@@ -1621,7 +1625,7 @@
=head1 COPYRIGHT & LICENSE
-Copyright 2005-2010 Andy Lester.
+Copyright 2005-2011 Andy Lester.
This program is free software; you can redistribute it and/or modify
it under the terms of the Artistic License v2.0.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ack-1.94/Changes new/ack-1.96/Changes
--- old/ack-1.94/Changes 2010-11-16 05:39:11.000000000 +0100
+++ new/ack-1.96/Changes 2011-09-18 20:38:51.000000000 +0200
@@ -1,7 +1,22 @@
History file for ack. http://betterthangrep.com/
-1.94 Mon Nov 15 22:38:48 CST 2010
+1.96 Sun Sep 18 13:33:39 CDT 2011
+ [ENHANCEMENTS]
+ Now ignores minified Javascript files. Anything matching -min.js
+ or .min.js is ignored.
+
+ Added Groovy support (--groovy).
+
+ Added .pm6 as a --perl extension.
+ Lua can now get detected from the shebang line. Thanks, Matthew Wild.
+
+ Added support for version numbers in executables in shebang
+ detection. Now if your Perl program's shebang refers to
+ /usr/local/bin/perl-5.14.1, ack will find it.
+
+
+1.94 Mon Nov 15 22:38:48 CST 2010
[ENHANCEMENTS]
Added support for Go and Delphi.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ack-1.94/MANIFEST new/ack-1.96/MANIFEST
--- old/ack-1.94/MANIFEST 2010-11-16 06:07:01.000000000 +0100
+++ new/ack-1.96/MANIFEST 2011-09-18 20:40:10.000000000 +0200
@@ -84,6 +84,8 @@
t/swamp/pipe-stress-freaks.F
t/swamp/c-header.h
t/swamp/c-source.c
+t/swamp/compressed-min.js
+t/swamp/compressed.min.js
t/swamp/groceries/CVS/fruit
t/swamp/groceries/CVS/junk
t/swamp/groceries/CVS/meat
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ack-1.94/META.yml new/ack-1.96/META.yml
--- old/ack-1.94/META.yml 2010-11-16 06:07:01.000000000 +0100
+++ new/ack-1.96/META.yml 2011-09-18 20:40:10.000000000 +0200
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: ack
-version: 1.94
+version: 1.96
abstract: A grep-like program specifically for large source trees
author:
- Andy Lester <andy@xxxxxxxxxxxx>
@@ -8,6 +8,8 @@
distribution_type: module
configure_requires:
ExtUtils::MakeMaker: 0
+build_requires:
+ ExtUtils::MakeMaker: 0
requires:
File::Basename: 0
File::Next: 0.4
@@ -17,16 +19,15 @@
Test::Harness: 2.5
Test::More: 0
resources:
- bugtracker: http://github.com/petdance/ack
- homepage: http://betterthangrep.com/
- license: http://www.opensource.org/licenses/artistic-license-2.0.php
- MailingList: http://groups.google.com/group/ack-users
- repository: git://github.com/petdance/ack.git
+ bugtracker: http://github.com/petdance/ack
+ homepage: http://betterthangrep.com/
+ license: http://www.opensource.org/licenses/artistic-license-2.0.php
+ repository: git://github.com/petdance/ack.git
no_index:
directory:
- t
- inc
-generated_by: ExtUtils::MakeMaker version 6.48
+generated_by: ExtUtils::MakeMaker version 6.56
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ack-1.94/Makefile.PL new/ack-1.96/Makefile.PL
--- old/ack-1.94/Makefile.PL 2010-09-20 06:41:19.000000000 +0200
+++ new/ack-1.96/Makefile.PL 2011-09-18 20:17:22.000000000 +0200
@@ -45,7 +45,6 @@
bugtracker => 'http://github.com/petdance/ack',
license =>
'http://www.opensource.org/licenses/artistic-license-2.0.php',
repository => 'git://github.com/petdance/ack.git',
- MailingList => 'http://groups.google.com/group/ack-users',
}
};
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ack-1.94/ack new/ack-1.96/ack
--- old/ack-1.94/ack 2010-11-16 05:51:59.000000000 +0100
+++ new/ack-1.96/ack 2011-09-18 20:37:54.000000000 +0200
@@ -12,7 +12,7 @@
use warnings;
use strict;
-our $VERSION = '1.94';
+our $VERSION = '1.96';
# Check http://betterthangrep.com/ for updates
# These are all our globals.
@@ -908,6 +908,8 @@
How appropriate to have I<ack>nowledgements!
Thanks to everyone who has contributed to ack in any way, including
+Matthew Wild,
+Scott Kyle,
Nick Hooey,
Bo Borgerson,
Mark Szymanski,
@@ -973,7 +975,7 @@
=head1 COPYRIGHT & LICENSE
-Copyright 2005-2010 Andy Lester.
+Copyright 2005-2011 Andy Lester.
This program is free software; you can redistribute it and/or modify
it under the terms of the Artistic License v2.0.
@@ -1159,8 +1161,8 @@
our $VERSION;
our $COPYRIGHT;
BEGIN {
- $VERSION = '1.94';
- $COPYRIGHT = 'Copyright 2005-2010 Andy Lester.';
+ $VERSION = '1.96';
+ $COPYRIGHT = 'Copyright 2005-2011 Andy Lester.';
}
our $fh;
@@ -1227,6 +1229,7 @@
erlang => [qw( erl hrl )],
fortran => [qw( f f77 f90 f95 f03 for ftn fpp )],
go => [qw( go )],
+ groovy => [qw( groovy gtmpl gpp grunit )],
haskell => [qw( hs lhs )],
hh => [qw( h )],
html => [qw( htm html shtml xhtml )],
@@ -1241,7 +1244,7 @@
objcpp => [qw( mm h )],
ocaml => [qw( ml mli )],
parrot => [qw( pir pasm pmc ops pod pg tg )],
- perl => [qw( pl pm pod t )],
+ perl => [qw( pl pm pm6 pod t )],
php => [qw( php phpt php3 php4 php5 phtml)],
plone => [qw( pt cpt metadata cpy py )],
python => [qw( py )],
@@ -1621,7 +1624,7 @@
close $fh;
if ( $header =~ /^#!/ ) {
- return ($1,TEXT) if $header =~ /\b(ruby|p(?:erl|hp|ython))\b/;
+ return ($1,TEXT) if $header =~
/\b(ruby|lua|p(?:erl|hp|ython))-?(\d[\d.]*)?\b/;
return ('shell',TEXT) if $header =~ /\b(?:ba|t?c|k|z)?sh\b/;
}
else {
@@ -1641,6 +1644,7 @@
return if $filename =~ m{^#.*#$}o;
return if $filename =~ m{^core\.\d+$}o;
return if $filename =~ m{[._].*\.swp$}o;
+ return if $filename =~ /[.-]min\.js$/;
return 1;
}
@@ -1844,10 +1848,11 @@
$ignore_dirs
Files not checked for type:
- /~\$/ - Unix backup files
- /#.+#\$/ - Emacs swap files
+ /~\$/ - Unix backup files
+ /#.+#\$/ - Emacs swap files
/[._].*\\.swp\$/ - Vi(m) swap files
- /core\\.\\d+\$/ - core dumps
+ /core\\.\\d+\$/ - core dumps
+ /[.-]min\\.js\$/ - Minified javascript files
Miscellaneous:
--noenv Ignore environment variables and ~/.ackrc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ack-1.94/ack-base new/ack-1.96/ack-base
--- old/ack-1.94/ack-base 2010-11-16 05:46:19.000000000 +0100
+++ new/ack-1.96/ack-base 2011-09-18 20:35:36.000000000 +0200
@@ -3,7 +3,7 @@
use warnings;
use strict;
-our $VERSION = '1.94';
+our $VERSION = '1.96';
# Check http://betterthangrep.com/ for updates
# These are all our globals.
@@ -900,6 +900,8 @@
How appropriate to have I<ack>nowledgements!
Thanks to everyone who has contributed to ack in any way, including
+Matthew Wild,
+Scott Kyle,
Nick Hooey,
Bo Borgerson,
Mark Szymanski,
@@ -965,7 +967,7 @@
=head1 COPYRIGHT & LICENSE
-Copyright 2005-2010 Andy Lester.
+Copyright 2005-2011 Andy Lester.
This program is free software; you can redistribute it and/or modify
it under the terms of the Artistic License v2.0.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ack-1.94/ack-help-types.txt
new/ack-1.96/ack-help-types.txt
--- old/ack-1.94/ack-help-types.txt 2010-11-16 05:51:59.000000000 +0100
+++ new/ack-1.96/ack-help-types.txt 2011-09-18 20:37:54.000000000 +0200
@@ -23,6 +23,7 @@
--[no]erlang .erl .hrl
--[no]fortran .f .f77 .f90 .f95 .f03 .for .ftn .fpp
--[no]go .go
+ --[no]groovy .groovy .gtmpl .gpp .grunit
--[no]haskell .hs .lhs
--[no]hh .h
--[no]html .htm .html .shtml .xhtml
@@ -37,7 +38,7 @@
--[no]objcpp .mm .h
--[no]ocaml .ml .mli
--[no]parrot .pir .pasm .pmc .ops .pod .pg .tg
- --[no]perl .pl .pm .pod .t
+ --[no]perl .pl .pm .pm6 .pod .t
--[no]php .php .phpt .php3 .php4 .php5 .phtml
--[no]plone .pt .cpt .metadata .cpy .py
--[no]python .py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ack-1.94/ack-help.txt new/ack-1.96/ack-help.txt
--- old/ack-1.94/ack-help.txt 2010-11-16 05:51:59.000000000 +0100
+++ new/ack-1.96/ack-help.txt 2011-09-18 20:37:54.000000000 +0200
@@ -110,10 +110,11 @@
~.dot, .git, .hg, _MTN, ~.nib, .pc, ~.plst, RCS, SCCS, _sgbak and .svn
Files not checked for type:
- /~$/ - Unix backup files
- /#.+#$/ - Emacs swap files
+ /~$/ - Unix backup files
+ /#.+#$/ - Emacs swap files
/[._].*\.swp$/ - Vi(m) swap files
- /core\.\d+$/ - core dumps
+ /core\.\d+$/ - core dumps
+ /[.-]min\.js$/ - Minified javascript files
Miscellaneous:
--noenv Ignore environment variables and ~/.ackrc
@@ -124,4 +125,4 @@
Exit status is 0 if match, 1 if no match.
-This is version 1.94 of ack.
+This is version 1.96 of ack.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ack-1.94/t/Util.pm new/ack-1.96/t/Util.pm
--- old/ack-1.94/t/Util.pm 2010-09-06 18:35:20.000000000 +0200
+++ new/ack-1.96/t/Util.pm 2011-09-18 20:17:22.000000000 +0200
@@ -3,7 +3,8 @@
use App::Ack ();
sub prep_environment {
- delete @ENV{qw( ACK_OPTIONS ACKRC ACK_PAGER )};
+ delete @ENV{qw( ACK_OPTIONS ACK_PAGER )};
+ $ENV{ACKRC} = 't/ackrc-empty';
}
# capture stderr output into this file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ack-1.94/t/ack-ignore-dir.t
new/ack-1.96/t/ack-ignore-dir.t
--- old/ack-1.94/t/ack-ignore-dir.t 2010-10-07 04:25:40.000000000 +0200
+++ new/ack-1.96/t/ack-ignore-dir.t 2011-01-29 06:23:07.000000000 +0100
@@ -140,7 +140,7 @@
DASH_IGNORE_DIR_IGNORES_RELATIVE_PATHS: {
set_up_assertion_that_these_options_will_ignore_those_directories(
- [ '--ignore-dir=t/swamp/groceries/another_subdir', ],
+ [ '--ignore-dir=' . File::Spec->catdir('t' ,'swamp', 'groceries' ,
'another_subdir'), ],
[ @std_ignore, 'another_subdir', ],
'ignore relative paths instead of just directory names',
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ack-1.94/t/ack-type.t new/ack-1.96/t/ack-type.t
--- old/ack-1.94/t/ack-type.t 2010-09-06 18:35:20.000000000 +0200
+++ new/ack-1.96/t/ack-type.t 2011-09-18 20:17:22.000000000 +0200
@@ -59,6 +59,8 @@
't/etc/core.2112',
't/swamp/#emacs-workfile.pl#',
't/swamp/options.pl.bak',
+ 't/swamp/compressed.min.js',
+ 't/swamp/compressed-min.js',
];
my $perl_ruby = [ @{$perl}, @{$ruby} ];
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ack-1.94/t/swamp/compressed-min.js
new/ack-1.96/t/swamp/compressed-min.js
--- old/ack-1.94/t/swamp/compressed-min.js 1970-01-01 01:00:00.000000000
+0100
+++ new/ack-1.96/t/swamp/compressed-min.js 2011-09-18 20:17:22.000000000
+0200
@@ -0,0 +1 @@
+(function(){print("OMG I'm compressed Javascript kinda sorta");})();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ack-1.94/t/swamp/compressed.min.js
new/ack-1.96/t/swamp/compressed.min.js
--- old/ack-1.94/t/swamp/compressed.min.js 1970-01-01 01:00:00.000000000
+0100
+++ new/ack-1.96/t/swamp/compressed.min.js 2011-09-18 20:17:22.000000000
+0200
@@ -0,0 +1 @@
+(function(){print("OMG I'm compressed Javascript kinda sorta");})();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ack-1.94/t/swamp/perl-without-extension
new/ack-1.96/t/swamp/perl-without-extension
--- old/ack-1.94/t/swamp/perl-without-extension 2010-09-06 18:35:20.000000000
+0200
+++ new/ack-1.96/t/swamp/perl-without-extension 2011-09-18 20:17:22.000000000
+0200
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl-5.14.1 -w
use strict;
use warnings;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |