1.50 bump, cleanup, (build-time) dependencies corrected

This commit is contained in:
Petr Sabata 2011-06-27 10:49:13 +02:00
parent 20c4efed77
commit 4fdff80790
3 changed files with 18 additions and 16 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
YAML-Tiny-1.40.tar.gz
/YAML-Tiny-1.44.tar.gz
/YAML-Tiny-1.46.tar.gz
/YAML-Tiny-1.50.tar.gz

View File

@ -1,20 +1,23 @@
Name: perl-YAML-Tiny
Version: 1.46
Release: 2%{?dist}
Version: 1.50
Release: 1%{?dist}
Summary: Read/Write YAML files with as little code as possible
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/YAML-Tiny/
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/YAML-Tiny-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec) >= 0.80
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::MinimumVersion)
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(Test::Pod)
BuildRequires: perl(YAML)
BuildRequires: perl(YAML::Syck)
Requires: perl(Exporter)
Requires: perl(Scalar::Util)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
@ -32,28 +35,26 @@ memory overhead.
make %{?_smp_mflags}
%install
rm -rf $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 -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
make test AUTOMATED_TESTING=1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon Jun 27 2011 Petr Sabata <contyk@redhat.com> - 1.50-1
- 1.50 bump
- Cleaning the spec file (I assume pre-EPEL6 compatibility is no longer
essential here)
- Adding Exporter and Scalar::Util (optional but preferred) to BR/Rs
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.46-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

View File

@ -1 +1 @@
a8efc1e6e13a6fd1877b07a5211d0b8b YAML-Tiny-1.46.tar.gz
333727bed82ee70459bdc007a9a4fc2c YAML-Tiny-1.50.tar.gz