commit 4fdff80790478ec314a7c8044d1b564df6f0373f
Author: Petr Sabata <contyk(a)redhat.com>
Date: Mon Jun 27 10:49:13 2011 +0200
1.50 bump, cleanup, (build-time) dependencies corrected
.gitignore | 1 +
perl-YAML-Tiny.spec | 31 ++++++++++++++++---------------
sources | 2 +-
3 files changed, 18 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d16e1fe..9f4b2fe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/perl-YAML-Tiny.spec b/perl-YAML-Tiny.spec
index b4facf3..a93a2a1 100644
--- a/perl-YAML-Tiny.spec
+++ b/perl-YAML-Tiny.spec
@@ -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}.ta...
-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(a)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(a)lists.fedoraproject.org> -
1.46-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index 0339826..9b6e5cb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a8efc1e6e13a6fd1877b07a5211d0b8b YAML-Tiny-1.46.tar.gz
+333727bed82ee70459bdc007a9a4fc2c YAML-Tiny-1.50.tar.gz