[perl-version] Update to 0.88

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

 



commit daaba9283e8ee1438c154358a82a5cdc725b0c36
Author: Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx>
Date:   Mon Jan 31 09:04:04 2011 +0100

    Update to 0.88
    
    Revert to Makefile.PL flow as upstream dropped Build.PL to avoid circular dependencies.
    Install into perl directories rather than vendor directories. Mark Pod files as %%doc.

 .gitignore        |    2 +-
 perl-version.spec |   38 ++++++++++++++++++++++++++------------
 sources           |    2 +-
 3 files changed, 28 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e361ac2..24223e1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-version-0.82.tar.gz
+version-0.88.tar.gz
diff --git a/perl-version.spec b/perl-version.spec
index 6de2c16..338f7c1 100644
--- a/perl-version.spec
+++ b/perl-version.spec
@@ -1,6 +1,6 @@
 Name:           perl-version
 Epoch:          3
-Version:        0.82
+Version:        0.88
 Release:        1%{?dist}
 Summary:        Perl extension for Version Objects
 License:        GPL+ or Artistic
@@ -18,27 +18,29 @@ objects for older version of Perl and provides the version object API for
 all versions of Perl. All previous releases before 0.74 are deprecated and
 should not be used due to incompatible API changes. Version 0.77 introduces
 the new 'parse' and 'declare' methods to standardize usage. You are
-strongly urged to set 0.77 as a minimum in your code, e.g.
+strongly urged to set 0.77 as a minimum in your code.
+
+%{?perl_default_filter}
 
 %prep
 %setup -q -n version-%{version}
-%{?perl_default_filter}
 
 %build
-%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
-./Build
+%{__perl} Makefile.PL INSTALLDIRS=perl OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+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
@@ -46,10 +48,22 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %doc Changes README
-%{perl_vendorarch}/auto/*
-%{perl_vendorarch}/version*
-%{_mandir}/man3/*
+%doc %{perl_archlib}/version.pod
+%dir %{perl_archlib}/version/
+%doc %{perl_archlib}/version/Internals.pod
+%{perl_archlib}/auto/version/
+%{perl_archlib}/version.pm
+%{perl_archlib}/version/vxs.pm
+%{_mandir}/man3/version.3pm*
+%{_mandir}/man3/version::Internals.3pm*
 
 %changelog
-* Tue Mar 09 2010 Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> 0.82-1
+* Wed Jan 26 2011 Paul Howarth <paul@xxxxxxxxxxxx> 3:0.88-1
+- Update to 0.88
+- Revert to Makefile.PL flow as upstream dropped Build.PL to avoid circular
+  dependencies
+- Install into perl directories rather than vendor directories
+- Mark Pod files as %%doc
+
+* Tue Mar 09 2010 Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> 3:0.82-1
 - Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index ca773cf..b319ce8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c073f079557297003d805b535711c5d1  version-0.82.tar.gz
+5f27f21c625fa2f89f4130e277594635  version-0.88.tar.gz
--
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