[perl-Test-Deep] Update to 0.110

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

 



commit e561843bd0a206c36e47c7538eae9559d9dcfd9d
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Wed Feb 20 10:53:11 2013 +0000

    Update to 0.110
    
    - New upstream release 0.110
      - Allow methods() and listmethods() to work again on class methods
        (CPAN RT#77804)
    - Drop redundant BR: perl(Data::Dumper)
    - Drop arrayeach patch - similar change introduced upstream
    - Drop %defattr, redundant since rpm 4.4
    - Don't need to remove empty directories from the buildroot
    - Don't use macros for commands
    - Use DESTDIR rather than PERL_INSTALL_ROOT
    - Make %files list more explicit

 .gitignore                           |    3 +-
 perl-Test-Deep-0.103-arrayeach.patch |   68 ----------------------------------
 perl-Test-Deep.spec                  |   39 +++++++++++--------
 sources                              |    2 +-
 4 files changed, 24 insertions(+), 88 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a2ead33..4a74069 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-Test-Deep-0.106.tar.gz
-/Test-Deep-0.108.tar.gz
+/Test-Deep-[0-9.]*.tar.gz
diff --git a/perl-Test-Deep.spec b/perl-Test-Deep.spec
index 48f07a6..935db5f 100644
--- a/perl-Test-Deep.spec
+++ b/perl-Test-Deep.spec
@@ -1,26 +1,24 @@
 Name:           perl-Test-Deep
-Version:        0.108
-Release:        8%{?dist}
+Version:        0.110
+Release:        1%{?dist}
 Summary:        Extremely flexible deep comparison
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Test-Deep/
 Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Test-Deep-%{version}.tar.gz
-Patch0:         perl-Test-Deep-0.103-arrayeach.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 # Run-time
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
-BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(Scalar::Util) >= 1.09
 # Tests
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::NoWarnings) >= 0.02
 BuildRequires:  perl(Test::Tester) >= 0.04
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 Test::Deep gives you very flexible ways to check that the result you
@@ -32,21 +30,16 @@ circular data structures without getting caught in an infinite loop.
 
 %prep
 %setup -q -n Test-Deep-%{version}
-%patch0 -p1 -b .arrayeach
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
+make pure_install DESTDIR=$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/*
+%{_fixperms} $RPM_BUILD_ROOT
 
 %check
 make test
@@ -55,12 +48,24 @@ make test
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root,-)
 %doc CHANGES README TODO
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/Test/
+%{_mandir}/man3/Test::Deep.3pm*
+%{_mandir}/man3/Test::Deep::NoTest.3pm*
 
 %changelog
+* Wed Feb 20 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.110-1
+- Update to 0.110
+  - Allow methods() and listmethods() to work again on class methods
+    (CPAN RT#77804)
+- Drop redundant BR: perl(Data::Dumper)
+- Drop arrayeach patch - similar change introduced upstream
+- Drop %%defattr, redundant since rpm 4.4
+- Don't need to remove empty directories from the buildroot
+- Don't use macros for commands
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+- Make %%files list more explicit
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.108-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index d7c5b3d..aff1a83 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-df17efafc31acb927cc1d950115f4178  Test-Deep-0.108.tar.gz
+a5daeaaffcd8cf94a12594ff76970045  Test-Deep-0.110.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