[perl-Module-Install-GithubMeta] update to 0.14

Iain Arnell iarnell at fedoraproject.org
Sun Oct 16 10:14:43 UTC 2011


commit 14c88a10af165cc11b74012dd1b509c9da8fd154
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Oct 16 12:14:26 2011 +0200

    update to 0.14

 .gitignore                          |    1 +
 perl-Module-Install-GithubMeta.spec |   18 ++++++++----------
 sources                             |    2 +-
 3 files changed, 10 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9981f9c..60aaa6c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Module-Install-GithubMeta-0.10.tar.gz
+/Module-Install-GithubMeta-0.14.tar.gz
diff --git a/perl-Module-Install-GithubMeta.spec b/perl-Module-Install-GithubMeta.spec
index d6296a2..c9861f9 100644
--- a/perl-Module-Install-GithubMeta.spec
+++ b/perl-Module-Install-GithubMeta.spec
@@ -1,13 +1,12 @@
 Name:       perl-Module-Install-GithubMeta 
-Version:    0.10 
-Release:    6%{?dist}
+Version:    0.14
+Release:    1%{?dist}
 # lib/Module/Install/GithubMeta.pm -> GPL+ or Artistic
 License:    GPL+ or Artistic 
 Group:      Development/Libraries
 Summary:    A Module::Install extension to include GitHub meta information in META.yml 
 Source:     http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Module-Install-GithubMeta-%{version}.tar.gz 
 Url:        http://search.cpan.org/dist/Module-Install-GithubMeta
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
 Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:  noarch
 
@@ -42,9 +41,7 @@ mv x README
 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 ';'
 
@@ -53,16 +50,17 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 %check
 make test
 
-%clean
-rm -rf %{buildroot} 
-
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README 
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Sun Oct 16 2011 Iain Arnell <iarnell at gmail.com> 0.14-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+- use DESTDIR, not PERL_INSTALL_ROOT
+
 * Tue Jul 19 2011 Petr Sabata <contyk at redhat.com> - 0.10-6
 - Perl mass rebuild
 
diff --git a/sources b/sources
index 6021343..d340c10 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bb0aba4ae24c2ee526c7bf8e2b318620  Module-Install-GithubMeta-0.10.tar.gz
+4330b2728f04f95501493c1df7cc2a04  Module-Install-GithubMeta-0.14.tar.gz



More information about the perl-devel mailing list