diff --git a/.gitignore b/.gitignore index e185c01..e3e1e3d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /YAML-LibYAML-0.34.tar.gz /YAML-LibYAML-0.35.tar.gz +/YAML-LibYAML-0.37.tar.gz diff --git a/perl-YAML-LibYAML.spec b/perl-YAML-LibYAML.spec index 5874c53..26fc219 100644 --- a/perl-YAML-LibYAML.spec +++ b/perl-YAML-LibYAML.spec @@ -1,13 +1,31 @@ Name: perl-YAML-LibYAML -Version: 0.35 -Release: 2%{?dist} +Version: 0.37 +Release: 1%{?dist} Summary: Perl YAML Serialization using XS and libyaml License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/YAML-LibYAML/ Source0: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-LibYAML-%{version}.tar.gz +BuildRequires: perl(B::Deparse) +BuildRequires: perl(base) +BuildRequires: perl(constant) +BuildRequires: perl(Cwd) +BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Test::Builder) +BuildRequires: perl(Test::Builder::Module) BuildRequires: perl(Test::More) +# Tests only +BuildRequires: perl(Devel::Peek) +BuildRequires: perl(File::Path) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Test::Base) +BuildRequires: perl(Test::Base::Filter) +BuildRequires: perl(Tie::Array) +BuildRequires: perl(Tie::Hash) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} @@ -22,27 +40,31 @@ bound to Ruby. %setup -q -n YAML-LibYAML-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=perl OPTIMIZE="$RPM_OPT_FLAGS" +%{__perl} Makefile.PL INSTALLDIRS=perl OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install -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/* +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; +%{_fixperms} %{buildroot}/* %check make test %files -%defattr(-,root,root,-) %doc Changes README %{perl_archlib}/auto/* %{perl_archlib}/YAML* %{_mandir}/man3/* %changelog +* Fri Sep 30 2011 Petr Sabata - 0.37-1 +- 0.37 bump +- Remove defattr +- Correct BR + * Fri Jun 17 2011 Marcela Mašláňová - 0.35-2 - Perl mass rebuild diff --git a/sources b/sources index 6580b71..d0d476b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9e047b14578aefd467d13aa612e6765b YAML-LibYAML-0.35.tar.gz +8ce120ca473c58eb0abf28fa19fdb460 YAML-LibYAML-0.37.tar.gz