0.84 bump
This commit is contained in:
parent
3c5630843a
commit
1cf55cfc33
|
@ -2,3 +2,4 @@ YAML-0.71.tar.gz
|
||||||
/YAML-0.72.tar.gz
|
/YAML-0.72.tar.gz
|
||||||
/YAML-0.73.tar.gz
|
/YAML-0.73.tar.gz
|
||||||
/YAML-0.81.tar.gz
|
/YAML-0.81.tar.gz
|
||||||
|
/YAML-0.84.tar.gz
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
Name: perl-YAML
|
Name: perl-YAML
|
||||||
Version: 0.81
|
Version: 0.84
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: YAML Ain't Markup Language (tm)
|
Summary: YAML Ain't Markup Language (tm)
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/YAML/
|
URL: http://search.cpan.org/dist/YAML/
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-%{version}.tar.gz
|
||||||
# https://rt.cpan.org/Public/Bug/Display.html?id=74226
|
|
||||||
Patch0: perl5.16-YAML-Any.patch
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(constant)
|
BuildRequires: perl(constant)
|
||||||
BuildRequires: perl(Data::Dumper)
|
BuildRequires: perl(Data::Dumper)
|
||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
BuildRequires: perl(lib)
|
||||||
|
BuildRequires: perl(Test::Base)
|
||||||
|
BuildRequires: perl(Test::Base::Filter)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
Requires: perl(Carp)
|
Requires: perl(Carp)
|
||||||
Requires: perl(Data::Dumper)
|
Requires: perl(Data::Dumper)
|
||||||
|
|
||||||
|
@ -30,29 +30,25 @@ specification.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n YAML-%{version}
|
%setup -q -n YAML-%{version}
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
# Re-code docs as UTF-8
|
# Re-code docs as UTF-8
|
||||||
iconv -f iso-8859-1 -t utf8 < README > README.utf8
|
iconv -f iso-8859-1 -t utf8 < README > README.utf8
|
||||||
mv README.utf8 README
|
mv README.utf8 README
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null
|
perl Makefile.PL INSTALLDIRS=vendor < /dev/null
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
make pure_install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
# Removing Test::YAML (at least temporarily) due
|
# Removing Test::YAML (at least temporarily) due
|
||||||
# to security concerns and questionable value.
|
# to security concerns and questionable value.
|
||||||
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=197539
|
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=197539
|
||||||
rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/Test/YAML* \
|
rm -f %{buildroot}%{perl_vendorlib}/Test/YAML* \
|
||||||
$RPM_BUILD_ROOT%{_mandir}/man3/Test::YAML*.3*
|
%{buildroot}%{_mandir}/man3/Test::YAML*.3*
|
||||||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
@ -63,6 +59,11 @@ make test
|
||||||
%{_mandir}/man3/YAML*.3*
|
%{_mandir}/man3/YAML*.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 16 2012 Petr Šabata <contyk@redhat.com> - 0.84-1
|
||||||
|
- 0.84 bump
|
||||||
|
- Drop command macros
|
||||||
|
- Drop previously added patch (included in 0.82)
|
||||||
|
|
||||||
* Fri Jun 22 2012 Jitka Plesnikova <jplesnik@redhat.com> 0.81-4
|
* Fri Jun 22 2012 Jitka Plesnikova <jplesnik@redhat.com> 0.81-4
|
||||||
- apply patch to for YAML::Any RT#74226
|
- apply patch to for YAML::Any RT#74226
|
||||||
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
diff -up YAML-0.81/lib/YAML/Any.pm.orig YAML-0.81/lib/YAML/Any.pm
|
|
||||||
--- YAML-0.81/lib/YAML/Any.pm.orig 2012-06-22 11:05:12.770546934 +0200
|
|
||||||
+++ YAML-0.81/lib/YAML/Any.pm 2012-06-22 11:05:34.728670103 +0200
|
|
||||||
@@ -95,7 +95,7 @@ sub LoadFile {
|
|
||||||
|
|
||||||
sub order {
|
|
||||||
return @YAML::Any::_TEST_ORDER
|
|
||||||
- if defined @YAML::Any::_TEST_ORDER;
|
|
||||||
+ if @YAML::Any::_TEST_ORDER;
|
|
||||||
return @implementations;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue