Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37837496
en ru br
Репозитории ALT
S:0.12-alt1
5.1: 0.10-alt2
4.1: 0.10-alt2
4.0: 0.10-alt2
3.0: 0.10-alt1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-Devel-Trace

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: perl-Devel-Trace-0.11-alt1.patch
Скачать


 .gear/rules                                        |    2 +
 .../tags/b2769855362ea7e6637ce1e7131f27f77fde0d6c  |   13 +++++
 .gear/tags/list                                    |    1 +
 Trace.pm                                           |    1 +
 perl-Devel-Trace.spec                              |   49 ++++++++++++++++++++
 5 files changed, 66 insertions(+), 0 deletions(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..5e00dee
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,2 @@
+tar: @version@:. name=Devel-Trace-@version@
+diff: @version@:. . name=perl-Devel-Trace-@version@-@release@.patch
diff --git a/.gear/tags/b2769855362ea7e6637ce1e7131f27f77fde0d6c b/.gear/tags/b2769855362ea7e6637ce1e7131f27f77fde0d6c
new file mode 100644
index 0000000..02233b8
--- /dev/null
+++ b/.gear/tags/b2769855362ea7e6637ce1e7131f27f77fde0d6c
@@ -0,0 +1,13 @@
+object e3c231c67a0c52a443e280e7d956ad0b3414e20b
+type commit
+tag 0.11
+tagger Alexey Tourbin <at@altlinux.ru> 1303591734 +0400
+
+0.11
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.11 (GNU/Linux)
+
+iEYEABECAAYFAk2zOzYACgkQfBKgtDjnu0aXAACeMbaBm3a7mq3+dCbwVArlKZxG
+8gwAmwVRd338dwmtdGKGwWl3JKyUhPg5
+=I9tb
+-----END PGP SIGNATURE-----
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..4bf552c
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+b2769855362ea7e6637ce1e7131f27f77fde0d6c 0.11
diff --git a/Trace.pm b/Trace.pm
index 5eead88..e38413f 100644
--- a/Trace.pm
+++ b/Trace.pm
@@ -31,6 +31,7 @@ sub trace {
   my $arg = shift;
   $arg = $tracearg{$arg} while exists $tracearg{$arg};
   $TRACE = $arg;
+  $| = 1 if $TRACE;
 }
 
 1;
diff --git a/perl-Devel-Trace.spec b/perl-Devel-Trace.spec
new file mode 100644
index 0000000..8744f3e
--- /dev/null
+++ b/perl-Devel-Trace.spec
@@ -0,0 +1,49 @@
+%define dist Devel-Trace
+Name: perl-%dist
+Version: 0.11
+Release: alt1
+
+Summary: Print out each line before it is executed
+License: Public Domain
+Group: Development/Perl
+
+URL: %CPAN %dist
+Source: %dist-%version.tar
+Patch: %name-%version-%release.patch
+
+BuildArch: noarch
+
+# Automatically added by buildreq on Sun Apr 24 2011
+BuildRequires: perl-devel
+
+%description
+If you run your program with "perl -d:Trace program",
+this module will print a message to standard error
+just before each line is executed (liks "sh -x").
+
+%prep
+%setup -q -n %dist-%version
+%patch -p1
+
+%build
+%perl_vendor_build </dev/null
+
+%install
+%perl_vendor_install
+
+%files
+%doc Changes README
+%dir %perl_vendor_privlib/Devel
+%perl_vendor_privlib/Devel/Trace.pm
+
+%changelog
+* Sun Apr 24 2011 Alexey Tourbin <at@altlinux.ru> 0.11-alt1
+- 0.10 -> 0.11
+- License: Public Domain
+
+* Wed Oct 25 2006 Alexey Tourbin <at@altlinux.ru> 0.10-alt2
+- imported sources into git and built with gear
+- Trace.pm: autoflush stdout (cpan #22562)
+
+* Sun Mar 20 2005 Alexey Tourbin <at@altlinux.ru> 0.10-alt1
+- initial revision
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin