Репозитории ALT
Группа :: Разработка/Perl
Пакет: perl-YAML
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: perl-YAML-0.65-alt1.patch
Скачать
Скачать
.gear-rules | 2 +
.../227f82a43e4e0bcf4a78a0b4226dc1eb8c9ad0fd | 13 ++++
.gear-tags/list | 1 +
lib/YAML/Types.pm | 2 +-
perl-YAML.spec | 67 ++++++++++++++++++++
5 files changed, 84 insertions(+), 1 deletions(-)
diff --git a/.gear-rules b/.gear-rules
new file mode 100644
index 0000000..2557cab
--- /dev/null
+++ b/.gear-rules
@@ -0,0 +1,2 @@
+tar: @version@:. name=YAML-@version@
+diff: @version@:. . name=perl-YAML-@version@-@release@.patch
diff --git a/.gear-tags/227f82a43e4e0bcf4a78a0b4226dc1eb8c9ad0fd b/.gear-tags/227f82a43e4e0bcf4a78a0b4226dc1eb8c9ad0fd
new file mode 100644
index 0000000..bc58a01
--- /dev/null
+++ b/.gear-tags/227f82a43e4e0bcf4a78a0b4226dc1eb8c9ad0fd
@@ -0,0 +1,13 @@
+object 3c2edc793458949bc64cf04e2196b5414c3c8125
+type commit
+tag 0.65
+tagger Alexey Tourbin <at@altlinux.ru> 1187345670 +0400
+
+0.65
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.7 (GNU/Linux)
+
+iD8DBQBGxXUGfBKgtDjnu0YRAoA5AJ4+TcgUXmcDUQOlEk96jhkO9SVPQQCgx2Qm
+jbRIUUGsRS6kdwUOTHWoXt0=
+=C7a9
+-----END PGP SIGNATURE-----
diff --git a/.gear-tags/list b/.gear-tags/list
new file mode 100644
index 0000000..f42ea06
--- /dev/null
+++ b/.gear-tags/list
@@ -0,0 +1 @@
+227f82a43e4e0bcf4a78a0b4226dc1eb8c9ad0fd 0.65
diff --git a/lib/YAML/Types.pm b/lib/YAML/Types.pm
index 65dc25b..d3b03e7 100644
--- a/lib/YAML/Types.pm
+++ b/lib/YAML/Types.pm
@@ -123,7 +123,7 @@ sub yaml_dump {
}
else {
bless $value, "CODE" if $class;
- eval { use B::Deparse };
+ eval { require B::Deparse };
return if $@;
my $deparse = B::Deparse->new();
eval {
diff --git a/perl-YAML.spec b/perl-YAML.spec
new file mode 100644
index 0000000..e941c6f
--- /dev/null
+++ b/perl-YAML.spec
@@ -0,0 +1,67 @@
+%define dist YAML
+Name: perl-%dist
+Version: 0.65
+Release: alt1
+
+Summary: YAML Ain't Markup Language
+License: GPL or Artistic
+Group: Development/Perl
+
+URL: %CPAN %dist
+Source: %dist-%version.tar
+Patch: %name-%version-%release.patch
+
+BuildArch: noarch
+
+# Automatically added by buildreq on Fri Aug 17 2007
+BuildRequires: perl-Filter perl-Module-Install perl-URI
+
+%description
+The YAML.pm module implements a YAML Loader and Dumper based on the
+YAML 1.0 specification. YAML is a generic data serialization language
+that is optimized for human readability. It can be used to express the
+data structures of most modern programming languages (including Perl).
+
+%prep
+%setup -q -n %dist-%version
+%patch -p1
+
+%build
+%perl_vendor_build
+
+%install
+%perl_vendor_install
+
+%files
+%doc Changes README
+%_bindir/ysh
+%_man1dir/ysh.1*
+%perl_vendor_privlib/YAML*
+
+%changelog
+* Sat Aug 18 2007 Alexey Tourbin <at@altlinux.ru> 0.65-alt1
+- 0.62 -> 0.65
+
+* Wed Dec 20 2006 Alexey Tourbin <at@altlinux.ru> 0.62-alt1
+- 0.60 -> 0.62
+- fixed dependency on B::Deparse (cpan #24018)
+
+* Sun Jul 02 2006 Alexey Tourbin <at@altlinux.ru> 0.60-alt1
+- 0.58 -> 0.60
+- fixed t/bugs-rt.t so that it works with recent CGI.pm
+
+* Thu Apr 20 2006 Alexey Tourbin <at@altlinux.ru> 0.58-alt1
+- 0.39 -> 0.58
+
+* Thu Jun 23 2005 Alexey Tourbin <at@altlinux.ru> 0.39-alt1
+- 0.36 -> 0.39
+
+* Fri Mar 11 2005 Alexey Tourbin <at@altlinux.ru> 0.36-alt1
+- 0.35 -> 0.36
+- manual pages not packaged (use perldoc)
+
+* Sat Feb 19 2005 ALT QA Team Robot <qa-robot@altlinux.org> 0.35-alt1.1
+- Rebuilt with rpm-build-perl-0.5.1.
+
+* Tue Apr 27 2004 Alexey Tourbin <at@altlinux.ru> 0.35-alt1
+- initial revision