.gear-rules | 2 + .../227f82a43e4e0bcf4a78a0b4226dc1eb8c9ad0fd | 13 ++++ .../3e1ade33855072af640843f3911419a875f5a67b | 13 ++++ .gear-tags/list | 2 + lib/YAML/Types.pm | 2 +- perl-YAML.spec | 70 ++++++++++++++++++++ 6 files changed, 101 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 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/3e1ade33855072af640843f3911419a875f5a67b b/.gear-tags/3e1ade33855072af640843f3911419a875f5a67b new file mode 100644 index 0000000..161b573 --- /dev/null +++ b/.gear-tags/3e1ade33855072af640843f3911419a875f5a67b @@ -0,0 +1,13 @@ +object 827bb45e7fbdc568979c7b58ea55a845252adf43 +type commit +tag 0.66 +tagger Alexey Tourbin 1210999554 +0400 + +0.66 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iEYEABECAAYFAkguYwMACgkQfBKgtDjnu0ZlrwCgmbl6z6vjL060SWAlriNMCjM2 +eCoAnArH8wrf48V2S0Oynh08qKGYLw7g +=66lb +-----END PGP SIGNATURE----- diff --git a/.gear-tags/list b/.gear-tags/list new file mode 100644 index 0000000..559b39c --- /dev/null +++ b/.gear-tags/list @@ -0,0 +1,2 @@ +227f82a43e4e0bcf4a78a0b4226dc1eb8c9ad0fd 0.65 +3e1ade33855072af640843f3911419a875f5a67b 0.66 diff --git a/lib/YAML/Types.pm b/lib/YAML/Types.pm index a5bbb3e..8b8db23 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..326f37c --- /dev/null +++ b/perl-YAML.spec @@ -0,0 +1,70 @@ +%define dist YAML +Name: perl-%dist +Version: 0.66 +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 Sat May 17 2008 +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 May 17 2008 Alexey Tourbin 0.66-alt1 +- 0.65 -> 0.66 + +* Sat Aug 18 2007 Alexey Tourbin 0.65-alt1 +- 0.62 -> 0.65 + +* Wed Dec 20 2006 Alexey Tourbin 0.62-alt1 +- 0.60 -> 0.62 +- fixed dependency on B::Deparse (cpan #24018) + +* Sun Jul 02 2006 Alexey Tourbin 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 0.58-alt1 +- 0.39 -> 0.58 + +* Thu Jun 23 2005 Alexey Tourbin 0.39-alt1 +- 0.36 -> 0.39 + +* Fri Mar 11 2005 Alexey Tourbin 0.36-alt1 +- 0.35 -> 0.36 +- manual pages not packaged (use perldoc) + +* Sat Feb 19 2005 ALT QA Team Robot 0.35-alt1.1 +- Rebuilt with rpm-build-perl-0.5.1. + +* Tue Apr 27 2004 Alexey Tourbin 0.35-alt1 +- initial revision