Update to 1.30 and drop EL-5 support
- New upstream release 1.30 - Fix handling carriage return after c-indicator (CPAN RT#41141) - Fix CHECK_UTF8 SEGV with empty len=0 strings (CPAN RT#61562) - Add missing function declarations - Tighten the TODO tests; no passing TODOs now, but still JSON - SingleQuote and \/ and \u roundtrips do fail - Drop EL-5 support - Drop Group: and BuildRoot: tags - Drop buildroot cleaning in %install - Drop explicit %clean section
This commit is contained in:
parent
59ba9d8ab4
commit
5454878158
3
.rpmlint
3
.rpmlint
@ -1,2 +1,3 @@
|
||||
from Config import *
|
||||
addFilter("spelling-error .* libsyck");
|
||||
addFilter("spelling-error %description -l en_US libsyck -> ");
|
||||
addFilter("incorrect-fsf-address /usr/src/debug/perl-YAML-Syck-.*/gram\.c");
|
||||
|
@ -1,12 +1,10 @@
|
||||
Name: perl-YAML-Syck
|
||||
Version: 1.29
|
||||
Release: 7%{?dist}
|
||||
Version: 1.30
|
||||
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 -nu)
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: gcc
|
||||
@ -37,9 +35,11 @@ BuildRequires: perl(Tie::Hash)
|
||||
# Optional tests
|
||||
BuildRequires: perl(Devel::Leak)
|
||||
BuildRequires: perl(JSON)
|
||||
# Dependencies
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(XSLoader)
|
||||
|
||||
# Avoid provides for private perl objects
|
||||
%{?perl_default_filter}
|
||||
|
||||
%description
|
||||
@ -49,28 +49,26 @@ structures to YAML strings, and the other way around.
|
||||
|
||||
%prep
|
||||
%setup -q -n YAML-Syck-%{version}
|
||||
rm -rf inc/parent.pm inc/PerlIO.pm inc/Scalar/Util.pm
|
||||
|
||||
# Unbundle core and unused modules
|
||||
rm -rvf inc/{parent.pm,PerlIO.pm,Scalar/,Test/}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
find %{buildroot} -type f -name '*.bs' -empty -delete
|
||||
%{_fixperms} %{buildroot}
|
||||
%{_fixperms} -c %{buildroot}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc Changes COMPATIBILITY README
|
||||
%doc Changes COMPATIBILITY
|
||||
%{perl_vendorarch}/auto/YAML/
|
||||
%{perl_vendorarch}/YAML/
|
||||
%{perl_vendorarch}/JSON/
|
||||
@ -78,6 +76,18 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/YAML::Syck.3*
|
||||
|
||||
%changelog
|
||||
* Thu Apr 20 2017 Paul Howarth <paul@city-fan.org> - 1.30-1
|
||||
- Update to 1.30
|
||||
- Fix handling carriage return after c-indicator (CPAN RT#41141)
|
||||
- Fix CHECK_UTF8 SEGV with empty len=0 strings (CPAN RT#61562)
|
||||
- Add missing function declarations
|
||||
- Tighten the TODO tests; no passing TODOs now, but still JSON
|
||||
- SingleQuote and \/ and \u roundtrips do fail
|
||||
- Drop EL-5 support
|
||||
- Drop Group: and BuildRoot: tags
|
||||
- Drop buildroot cleaning in %%install
|
||||
- Drop explicit %%clean section
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user