[perl-Text-vFile-asData/f14/master] - Upstream update. - Install */bin (Add Text-vFile-asData-0.07.diff). - spec overhaul.
corsepiu
corsepiu at fedoraproject.org
Sat Sep 11 04:40:06 UTC 2010
commit be7b9c1ac1d976982aa35729f4bc1de0e2b0875a
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date: Sat Sep 11 06:39:53 2010 +0200
- Upstream update.
- Install */bin (Add Text-vFile-asData-0.07.diff).
- spec overhaul.
.gitignore | 2 +-
perl-Text-vFile-asData.spec | 26 +++++++++++++++++---------
sources | 2 +-
3 files changed, 19 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 146658d..644251e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Text-vFile-asData-0.05.tar.gz
+Text-vFile-asData-0.07.tar.gz
diff --git a/perl-Text-vFile-asData.spec b/perl-Text-vFile-asData.spec
index e187fd0..9205b2a 100644
--- a/perl-Text-vFile-asData.spec
+++ b/perl-Text-vFile-asData.spec
@@ -1,23 +1,24 @@
Name: perl-Text-vFile-asData
-Version: 0.05
-Release: 6%{?dist}
+Version: 0.07
+Release: 1%{?dist}
Summary: Parse vFile formatted files into data structures
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-vFile-asData/
Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/Text-vFile-asData-%{version}.tar.gz
+# Restore 0.05 behavior: Install */bin
+Patch0: Text-vFile-asData-0.07.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl >= 0:5.006
BuildRequires: perl(Class::Accessor::Chained)
-BuildRequires: perl(Module::Build)
+BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
# for improved tests
BuildRequires: perl(Test::Pod) >= 1.00
# rpm doesn't catch this
-Requires: perl(Class::Accessor::Chained)
+Requires: perl(Class::Accessor::Chained::Fast)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@@ -33,21 +34,23 @@ Group: Development/Tools
%prep
%setup -q -n Text-vFile-asData-%{version}
+%patch0 -p1
%build
-%{__perl} Build.PL installdirs=vendor
-./Build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+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/*
%check
-./Build test
+make test
%clean
rm -rf $RPM_BUILD_ROOT
@@ -64,6 +67,11 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/*
%changelog
+* Sat Sep 11 2010 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.07-1
+- Upstream update.
+- Install */bin (Add Text-vFile-asData-0.07.diff).
+- spec overhaul.
+
* Fri May 07 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.05-6
- Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index 4c97c7b..e1eaf96 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3e2ec1f22562dc3d92ababac4f882bed Text-vFile-asData-0.05.tar.gz
+1f0fc1fbef2111a936db3eb4678ddccc Text-vFile-asData-0.07.tar.gz
More information about the scm-commits
mailing list