0.37 bump

This commit is contained in:
Petr Sabata 2011-09-30 13:15:07 +02:00
parent 63a4f0b793
commit 3638c5f428
3 changed files with 33 additions and 10 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/YAML-LibYAML-0.34.tar.gz
/YAML-LibYAML-0.35.tar.gz
/YAML-LibYAML-0.37.tar.gz

View File

@ -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 <contyk@redhat.com> - 0.37-1
- 0.37 bump
- Remove defattr
- Correct BR
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.35-2
- Perl mass rebuild

View File

@ -1 +1 @@
9e047b14578aefd467d13aa612e6765b YAML-LibYAML-0.35.tar.gz
8ce120ca473c58eb0abf28fa19fdb460 YAML-LibYAML-0.37.tar.gz