[perl-YAML-Syck] Update to 1.23

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 0fb6eb5d8c9cbc9711243a1f6b257f7a14832052
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Wed Feb 27 10:47:30 2013 +0000

    Update to 1.23
    
    - New upstream release 1.23
      - Synchronize JSON::Syck with YAML::Syck version number
      - Add DumpInto functions (YAML+Syck), which dump into a provided scalar
        instead of a newly-allocated one
      - Modify DumpFile functions to output directly to the specified
        file/filehandle instead of buffering all output in memory
      - Avoid modifying numbers into strings when emitting
      - Fix error message typo: s/existant/existent/g
      - Fix for non-printable character detection
      - Quote if non-printable characters are present
      - Make sure that LoadBlessed=0 blocks all blessing
      - Start listing primary repo as http://github.com/toddr/YAML-Syck
      - README refreshed via perldoc -t
    - Require perl(XSLoader) at runtime
    - Drop %defattr, redundant since rpm 4.4
    - Don't need to remove empty directories from the buildroot
    - Don't use macros for commands
    - Use DESTDIR rather than PERL_INSTALL_ROOT
    - Make %files list more explicit

 .gitignore          |    4 +---
 perl-YAML-Syck.spec |   50 ++++++++++++++++++++++++++++++++++----------------
 sources             |    2 +-
 3 files changed, 36 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a99aa50..b156e3d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1 @@
-YAML-Syck-1.07.tar.gz
-/YAML-Syck-1.17.tar.gz
-/YAML-Syck-1.20.tar.gz
+/YAML-Syck-[0-9.]*.tar.gz
diff --git a/perl-YAML-Syck.spec b/perl-YAML-Syck.spec
index aa886a1..be62be3 100644
--- a/perl-YAML-Syck.spec
+++ b/perl-YAML-Syck.spec
@@ -1,12 +1,12 @@
 Name:           perl-YAML-Syck
-Version:        1.20 
-Release:        4%{?dist}
+Version:        1.23 
+Release:        1%{?dist}
 Summary:        Fast, lightweight YAML loader and dumper
 License:        BSD and MIT
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/YAML-Syck/
 Source0:        http://www.cpan.org/authors/id/T/TO/TODDR/YAML-Syck-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 # Keep bundled inc::Module::Install to break cycle perl-Modules-Install
 # → perl-YAML-Tiny → perl-YAML-Syck.
 BuildRequires:  perl(Cwd)
@@ -27,7 +27,8 @@ BuildRequires:  perl(Tie::Hash)
 # Optional tests
 BuildRequires:  perl(Devel::Leak)
 BuildRequires:  perl(JSON)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(XSLoader)
 
 %{?perl_default_filter}
 
@@ -41,19 +42,15 @@ structures to YAML strings, and the other way around.
 rm -rf inc/parent inc/PerlIO.pm inc/Test
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{_fixperms} $RPM_BUILD_ROOT
 
 %check
 make test
@@ -62,14 +59,35 @@ make test
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root,-)
 %doc Changes COMPATIBILITY COPYING README
-%{perl_vendorarch}/auto/*
-%{perl_vendorarch}/YAML*
-%{perl_vendorarch}/JSON*
-%{_mandir}/man3/*
+%{perl_vendorarch}/auto/YAML/
+%{perl_vendorarch}/YAML/
+%{perl_vendorarch}/JSON/
+%{_mandir}/man3/JSON::Syck.3pm*
+%{_mandir}/man3/YAML::Syck.3pm*
 
 %changelog
+* Wed Feb 27 2013 Paul Howarth <paul@xxxxxxxxxxxx> 1.23-1
+- Update to 1.23
+  - Synchronize JSON::Syck with YAML::Syck version number
+  - Add DumpInto functions (YAML+Syck), which dump into a provided scalar
+    instead of a newly-allocated one
+  - Modify DumpFile functions to output directly to the specified
+    file/filehandle instead of buffering all output in memory
+  - Avoid modifying numbers into strings when emitting
+  - Fix error message typo: s/existant/existent/g
+  - Fix for non-printable character detection
+  - Quote if non-printable characters are present
+  - Make sure that LoadBlessed=0 blocks all blessing
+  - Start listing primary repo as http://github.com/toddr/YAML-Syck
+  - README refreshed via perldoc -t
+- Require perl(XSLoader) at runtime
+- Drop %%defattr, redundant since rpm 4.4
+- Don't need to remove empty directories from the buildroot
+- Don't use macros for commands
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+- Make %%files list more explicit
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.20-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index e7e40a2..417d75e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8f6d04ee5817b8479e1234264a8d458d  YAML-Syck-1.20.tar.gz
+902ca96c2f4e9bf818b06e1ed4d89c00  YAML-Syck-1.23.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux