[perl-Test-Version] Update to 1.002001

Paul Howarth pghmcfc at fedoraproject.org
Wed Mar 14 19:40:51 UTC 2012


commit f53a56f06b7627876ebe8c8c53c0ccce0f0e3e12
Author: Paul Howarth <paul at city-fan.org>
Date:   Wed Mar 14 19:39:51 2012 +0000

    Update to 1.002001
    
    - New upstream release 1.002001:
      - Fix metadata caused by a bug in DZP::GitHub after asking repo to be
        unlinked from gitpan
    - Don't need to remove empty directories from buildroot
    - Use %{_fixperms} macro rather than our own chmod incantation
    - Use DESTDIR rather than PERL_INSTALL_ROOT
    - Drop %defattr, redundant since rpm 4.4
    - Don't attempt to run author/release tests when bootstrapping

 perl-Test-Version.spec |   20 ++++++++++++++------
 sources                |    2 +-
 2 files changed, 15 insertions(+), 7 deletions(-)
---
diff --git a/perl-Test-Version.spec b/perl-Test-Version.spec
index 30f81e1..0b5d370 100644
--- a/perl-Test-Version.spec
+++ b/perl-Test-Version.spec
@@ -2,7 +2,7 @@
 %global debug_package %{nil}
 
 Name:		perl-Test-Version
-Version:	1.002000
+Version:	1.002001
 Release:	1%{?dist}
 Summary:	Check to see that versions in modules are sane
 License:	Artistic 2.0
@@ -82,24 +82,32 @@ make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
-chmod -R u+w %{buildroot}
+%{_fixperms} %{buildroot}
 
 %check
-make test AUTHOR_TESTING=1 RELEASE_TESTING=1
+make test %{!?perl_bootstrap:AUTHOR_TESTING=1 RELEASE_TESTING=1}
 
 %clean
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README
 %{perl_vendorlib}/Test/
 %{_mandir}/man3/Test::Version.3pm*
 
 %changelog
+* Wed Mar 14 2012 Paul Howarth <paul at city-fan.org> - 1.002001-1
+- Update to 1.002001:
+  - Fix metadata caused by a bug in DZP::GitHub after asking repo to be
+    unlinked from gitpan
+- Don't need to remove empty directories from buildroot
+- Use %%{_fixperms} macro rather than our own chmod incantation
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+- Drop %%defattr, redundant since rpm 4.4
+- Don't attempt to run author/release tests when bootstrapping
+
 * Tue Jan 10 2012 Paul Howarth <paul at city-fan.org> - 1.002000-1
 - Update to 1.002000:
   - Use Module::Metadata - apparently it's closer to how Perl works than
diff --git a/sources b/sources
index 9a1ec2a..f0cc8f1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-593a6a648596ef1acb7690331a2c8c69  Test-Version-1.002000.tar.gz
+559c7972f89fca6e86809a158a52f7b0  Test-Version-1.002001.tar.gz


More information about the scm-commits mailing list