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
This commit is contained in:
parent
2719fa8fbe
commit
0fb6eb5d8c
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,3 +1 @@
|
|||||||
YAML-Syck-1.07.tar.gz
|
/YAML-Syck-[0-9.]*.tar.gz
|
||||||
/YAML-Syck-1.17.tar.gz
|
|
||||||
/YAML-Syck-1.20.tar.gz
|
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Name: perl-YAML-Syck
|
Name: perl-YAML-Syck
|
||||||
Version: 1.20
|
Version: 1.23
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Fast, lightweight YAML loader and dumper
|
Summary: Fast, lightweight YAML loader and dumper
|
||||||
License: BSD and MIT
|
License: BSD and MIT
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/YAML-Syck/
|
URL: http://search.cpan.org/dist/YAML-Syck/
|
||||||
Source0: http://www.cpan.org/authors/id/T/TO/TODDR/YAML-Syck-%{version}.tar.gz
|
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
|
# Keep bundled inc::Module::Install to break cycle perl-Modules-Install
|
||||||
# → perl-YAML-Tiny → perl-YAML-Syck.
|
# → perl-YAML-Tiny → perl-YAML-Syck.
|
||||||
BuildRequires: perl(Cwd)
|
BuildRequires: perl(Cwd)
|
||||||
@ -27,7 +27,8 @@ BuildRequires: perl(Tie::Hash)
|
|||||||
# Optional tests
|
# Optional tests
|
||||||
BuildRequires: perl(Devel::Leak)
|
BuildRequires: perl(Devel::Leak)
|
||||||
BuildRequires: perl(JSON)
|
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}
|
%{?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
|
rm -rf inc/parent inc/PerlIO.pm inc/Test
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
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 -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
|
%check
|
||||||
make test
|
make test
|
||||||
@ -62,14 +59,35 @@ make test
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc Changes COMPATIBILITY COPYING README
|
%doc Changes COMPATIBILITY COPYING README
|
||||||
%{perl_vendorarch}/auto/*
|
%{perl_vendorarch}/auto/YAML/
|
||||||
%{perl_vendorarch}/YAML*
|
%{perl_vendorarch}/YAML/
|
||||||
%{perl_vendorarch}/JSON*
|
%{perl_vendorarch}/JSON/
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/JSON::Syck.3pm*
|
||||||
|
%{_mandir}/man3/YAML::Syck.3pm*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 27 2013 Paul Howarth <paul@city-fan.org> 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@lists.fedoraproject.org> - 1.20-4
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user