[perl-Text-vFile-asData] - Upstream update. - Install */bin (Add Text-vFile-asData-0.07.diff). - spec overhaul.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 07dfee3d9ac7a22de8e582ed91150be8afbddc88
Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx>
Date:   Sat Sep 11 06:36:09 2010 +0200

    - Upstream update.
    - Install */bin (Add Text-vFile-asData-0.07.diff).
    - spec overhaul.

 .gitignore                  |    3 +--
 perl-Text-vFile-asData.spec |   26 +++++++++++++++++---------
 2 files changed, 18 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 00d98cd..644251e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-Text-vFile-asData-0.05.tar.gz
-/Text-vFile-asData-0.07.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@xxxxxxxxxxxxxxxxx> - 0.07-1
+- Upstream update.
+- Install */bin (Add Text-vFile-asData-0.07.diff).
+- spec overhaul.
+
 * Fri May 07 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.05-6
 - Mass rebuild with perl-5.12.0
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux