Hello community,
here is the log from the commit of package ack for openSUSE:Factory
checked in at Mon Jan 24 16:06:07 CET 2011.
--------
New Changes file:
--- /dev/null 2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/ack/ack.changes 2010-11-16 16:00:51.000000000 +0100
@@ -0,0 +1,94 @@
+-------------------------------------------------------------------
+Tue Nov 16 10:38:26 UTC 2010 - puzel@novell.com
+
+- update to 1.94:
+ [ENHANCEMENTS]
+ * Added support for Go and Delphi.
+ * Ignores Monotone's _MTN directories.
+ * Added .xsl to the list of --xml files.
+
+- changes from 1.93_02:
+ [FIXES]
+ * --man and --version now return with an exit code of 0 (they used to exit with a 1)
+
+ [ENHANCEMENTS]
+ * the --ignore-dir option now can ignore entire paths relative to your current directory
+ * added --invert-file-match switch to negate the sense of the -g/-G switches
+
+- changes from 1.93_01:
+ [FILE TYPE UPDATES]
+ * added --verilog, --vhdl and --clojure
+ * files that match *.mk and *.mak as well as GNUmakefile are now included in the ack filetype 'make' (issue 88)
+ * added RSpec's .spec type to the --ruby list
+
+ [ENHANCEMENTS]
+ * added docs for -r, -R, --recurse options
+ * added new switch --color-lineno and environment variable ACK_COLOR_LINENO, which allow setting the line number color
+ * added option --show-types to output the types that ack considers a file to have
+ * 'ack --count --no-filename regex' doesn't output a list of numbers but a sum of all occurences; this is NOT what grep does but is the more sensible behavior
+
+ [FIXES]
+ * fixed ack misbehavior when using --match or not specifying a regex
+ * fixed issue 74: analog to grep, 'ack --count regex file' now only outputs the number of found matches, if only one file is given
+ * fixed issue 76: giving both --line and a regex (with --match) now leads to an error; the same is true for -f or -g in conjunction with --match
+ * fixed issue 80: piping into ack --count now works as expected: ack always returned 0 when piped into, no matter how many matches where found
+ * fixed issue 81: .ackrc now ignores leading/trailing whitespace
+
+-------------------------------------------------------------------
+Thu Nov 11 23:00:39 UTC 2010 - pascal.bleser@opensuse.org
+
+- applied patch by Pavol Rusnak from openSUSE:Factory:Contrib/ack to ignore .osc directories (redone for release 1.92)
+
+- merged .changes entries for 1.92 by Petr Uzl from openSUSE:Factory:Contrib/ack, he was a lot less lazy than me
+
+-------------------------------------------------------------------
+Sun Feb 14 22:09:12 UTC 2010 - pascal.bleser@opensuse.org
+
+- removed bash completion file, way too slow
+
+-------------------------------------------------------------------
+Sun Feb 14 21:53:01 UTC 2010 - pascal.bleser@opensuse.org
+
+- update to 1.92:
+ [ENHANCEMENTS]
+ * Added Scala support. Thanks to Dan Sully.
+ * Added .phtml as an extension for PHP.
+ * Using -f or -g now return a proper error code. If files are
+ found, ack returns 0. If none are found, ack returns 1. This
+ is a change in the specification, but the code didn't match the
+ specfication anyway.
+ * No man pages are created for any of the .pm files any more.
+ [FIXES]
+ * The --pager flag would not work. Now it does. Thanks Packy
+ Anderson.
+ * File matching for Emacs work files that match #*# was wrong.
+ It was checking the entire path, not just the basename. This
+ is fixed. (http://github.com/petdance/ack/issues/closed/#issue/101)
+ * Fixed URLs that pointed to old Google Code.
+
+- split out perl-App-Ack into its own subpackage
+
+-------------------------------------------------------------------
+Mon Jul 13 00:00:00 UTC 2009 - pascal.bleser@opensuse.org
+
+- update to 1.88:
+ * ack has a new plugin system, so you can build plugins to search
+ whatever filetype you want
+ * added support for .hrl Erlang header files
+ * added support for --rake files, which are also --ruby files
+ * fixed a bug where files ending in "Makefile" were mistakenly
+ identified as Makefiles
+ * created a new etc/ directory and its first addition, a bash
+ auto-completion file
+
+-------------------------------------------------------------------
+Wed Jul 16 00:00:00 UTC 2008 - guru@unixtech.be
+
+- new upstream version (1.86)
+
+-------------------------------------------------------------------
+Tue Mar 25 00:00:00 UTC 2008 - guru@unixtech.be
+
+- new package (1.78)
+
+
calling whatdependson for head-i586
New:
----
ack-1.94.tar.gz
ack-fix_smartcase_test_for_old_perl.patch
ack-ignore-osc.patch
ack.changes
ack.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ack.spec ++++++
#
# 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/
#
%{!?perl_make_install: %global perl_make_install make DESTDIR=$RPM_BUILD_ROOT install_vendor}
%if 0%{?suse_version} >= 1100 || 0%{?fedora} >= 13
%define with_pod 1
%else
%define with_pod 0
%endif
Name: ack
Version: 1.94
Release: 1
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
Url: http://petdance.com/ack/
Group: Productivity/Text/Utilities
License: Perl License
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: perl
BuildRequires: make perl perl-File-Next
%if %with_pod
BuildRequires: perl(Test::Pod)
%endif
BuildArch: noarch
Requires: perl-App-Ack = %{version}-%{release}
Requires: perl-base = %{perl_version}
%description
ack is a grep-like tool tailored to working with large trees of source code.
Authors:
--------
Andy Lester
%package -n perl-App-Ack
License: Perl License
Summary: Grep-Like Text Finder Perl Module
Group: Development/Libraries/Perl
Requires: perl-base = %{perl_version}
%description -n perl-App-Ack
App::Ack is a grep-like tool tailored to working with large trees of source
code.
%prep
%setup -q -n "ack-%{version}"
%patch1
%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1000 || 0%{?rhel_version} > 0 && 0%{?rhel_version} < 500
%patch2
%endif
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make
%install
%perl_make_install
%if 0%{?perl_process_packlist:1}
%perl_process_packlist
%else
%__rm "%{buildroot}%{perl_archlib}/perllocal.pod"
%endif
# remove .packlist file
%__rm -rf "%{buildroot}%{perl_vendorarch}/auto/ack"
#%__install -D -m0644 etc/ack.bash_completion.sh \
# "%{buildroot}/%{_sysconfdir}/bash_completion.d/%{name}.sh"
%__install -d rpmdoc_ack
for f in Changes README.markdown TODO; do
%__ln_s ../ack/"$f" rpmdoc_ack/"$f"
done
%check
%__make test
%clean
%{?%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc rpmdoc_ack/*
#config(noreplace) %{_sysconfdir}/bash_completion.d/%{name}.sh
%{_bindir}/ack
%doc %{_mandir}/man1/ack.1%{ext_man}
%files -n perl-App-Ack
%defattr(-,root,root)
%doc Changes README.markdown TODO
%dir %{perl_vendorlib}/App
%{perl_vendorlib}/App/Ack.pm
%{perl_vendorlib}/App/Ack
%if 0%{?perl_process_packlist:1}
%endif
%changelog
++++++ ack-fix_smartcase_test_for_old_perl.patch ++++++
--- t/longopts.t.orig 2010-11-12 00:24:07.000000000 +0100
+++ t/longopts.t 2010-11-12 00:29:48.000000000 +0100
@@ -9,7 +9,7 @@
=cut
-use Test::More tests => 51;
+use Test::More tests => 49;
use File::Next 0.34; # For the reslash() function
use lib 't';
@@ -65,11 +65,6 @@
qr{UPPER CASE},
qq{$opt turn on ignore-case when PATTERN has no upper}
);
- unlike(
- +run_ack( $opt, 'Upper case', @files ),
- qr{UPPER CASE},
- qq{$opt does nothing when PATTERN has upper}
- );
option_in_usage( '--[no]smart-case' );
like(
++++++ ack-ignore-osc.patch ++++++
Index: ack
===================================================================
--- ack.orig
+++ ack
@@ -1196,6 +1196,7 @@ BEGIN {
'~.plst' => 'Interface Builder',
'.git' => 'Git',
'.hg' => 'Mercurial',
+ '.osc' => 'openSUSE Commander',
'.pc' => 'quilt',
'.svn' => 'Subversion',
_MTN => 'Monotone',
Index: Ack.pm
===================================================================
--- Ack.pm.orig
+++ Ack.pm
@@ -57,6 +57,7 @@ BEGIN {
'~.plst' => 'Interface Builder',
'.git' => 'Git',
'.hg' => 'Mercurial',
+ '.osc' => 'openSUSE Commander',
'.pc' => 'quilt',
'.svn' => 'Subversion',
_MTN => 'Monotone',
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org