[perl-Text-vFile-asData/f12/master] - Remove *-utils. - Upstream update. - spec overhaul.
corsepiu
corsepiu at fedoraproject.org
Sun Sep 12 06:17:39 UTC 2010
commit 1af435ae175b71f9496a38a0e7f3226af7bbf5e4
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date: Sun Sep 12 08:17:26 2010 +0200
- Remove *-utils.
- Upstream update.
- spec overhaul.
.gitignore | 2 +-
perl-Text-vFile-asData.spec | 39 ++++++++++++++++++---------------------
sources | 2 +-
3 files changed, 20 insertions(+), 23 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 1b8482d..f2e0a7a 100644
--- a/perl-Text-vFile-asData.spec
+++ b/perl-Text-vFile-asData.spec
@@ -1,6 +1,6 @@
Name: perl-Text-vFile-asData
-Version: 0.05
-Release: 4%{?dist}
+Version: 0.07
+Release: 1%{?dist}
Summary: Parse vFile formatted files into data structures
License: GPL+ or Artistic
Group: Development/Libraries
@@ -8,46 +8,43 @@ 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
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)
+# To be dropped in Fedora 16
+Obsoletes: %{name}-utils < %{version}-%{release}
+Provides: %{name}-utils = %{version}-%{release}
+
# 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
Text::vFile::asData reads vFile format files, such as vCard (RFC 2426) and
vCalendar (RFC 2445).
-%package utils
-Summary: Utilities using perl-Text-vFile-asData
-Group: Development/Tools
-
-%description utils
-%{summary}
-
%prep
%setup -q -n Text-vFile-asData-%{version}
%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
@@ -58,12 +55,12 @@ rm -rf $RPM_BUILD_ROOT
%{perl_vendorlib}/*
%{_mandir}/man3/*
-%files utils
-%defattr(-,root,root,-)
-%{_bindir}/*
-%{_mandir}/man1/*
-
%changelog
+* Sat Sep 12 2010 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.07-1
+- Remove *-utils.
+- Upstream update.
+- spec overhaul.
+
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.05-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
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 perl-devel
mailing list