[perl-UNIVERSAL-ref] update to 0.14

Iain Arnell iarnell at fedoraproject.org
Sat May 7 07:21:52 UTC 2011


commit 8cdba18580f261213411d1ba860c08da09efc806
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sat May 7 09:17:36 2011 +0200

    update to 0.14

 .gitignore              |    1 +
 perl-UNIVERSAL-ref.spec |   15 ++++++---------
 sources                 |    2 +-
 3 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ddbc33f..0e9dd04 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 UNIVERSAL-ref-0.12.tar.gz
+/UNIVERSAL-ref-0.14.tar.gz
diff --git a/perl-UNIVERSAL-ref.spec b/perl-UNIVERSAL-ref.spec
index cd113dc..db510fa 100644
--- a/perl-UNIVERSAL-ref.spec
+++ b/perl-UNIVERSAL-ref.spec
@@ -1,12 +1,11 @@
 Name:           perl-UNIVERSAL-ref
 Summary:        Turns ref() into a multimethod
-Version:        0.12
-Release:        4%{?dist}
+Version:        0.14
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/J/JJ/JJORE/UNIVERSAL-ref-%{version}.tar.gz 
 URL:            http://search.cpan.org/dist/UNIVERSAL-ref
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 BuildRequires:  perl(B::Utils)
@@ -32,8 +31,6 @@ used instead.
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
@@ -45,17 +42,17 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 make test
 
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorarch}/*
 %exclude %dir %{perl_vendorarch}/auto
 %{_mandir}/man3/*.3*
 
 %changelog
+* Sat May 07 2011 Iain Arnell <iarnell at gmail.com> 0.14-1
+- update to latest uptsream version
+- clean up spec for modern rpmbuild
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.12-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 82f933d..e0f9e97 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2fb38adfb9415721496eeb8b552cc905  UNIVERSAL-ref-0.12.tar.gz
+a51b4fe3f4c56d37633d8978a5ee88b8  UNIVERSAL-ref-0.14.tar.gz


More information about the scm-commits mailing list