[perl-Devel-LexAlias] update to 0.05

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

 



commit 6499918cba9279a4b74d633ddef7cc541057b860
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Sun Feb 3 09:59:08 2013 -0700

    update to 0.05

 .gitignore               |    1 +
 perl-Devel-LexAlias.spec |   27 ++++++++++-----------------
 sources                  |    2 +-
 3 files changed, 12 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1b30dfd..9acc7fe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Devel-LexAlias-0.04.tar.gz
+/Devel-LexAlias-0.05.tar.gz
diff --git a/perl-Devel-LexAlias.spec b/perl-Devel-LexAlias.spec
index d03146c..60beca9 100644
--- a/perl-Devel-LexAlias.spec
+++ b/perl-Devel-LexAlias.spec
@@ -1,23 +1,18 @@
 Name:           perl-Devel-LexAlias
-Version:        0.04
-Release:        14%{?dist}
+Version:        0.05
+Release:        1%{?dist}
 Summary:        Alias lexical variables
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Devel-LexAlias/
 Source0:        http://www.cpan.org/authors/id/R/RC/RCLAMP/Devel-LexAlias-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 BuildRequires:  perl(Devel::Caller) >= 0.03
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::More)
 
-# don't "provide" private Perl libs
-%global _use_internal_dependency_generator 0
-%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u
-%global __find_provides /bin/sh -c "%{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
-%global __find_requires /bin/sh -c "%{__deploop R}"
+%{?perl_default_filter}
 
 %description
 Devel::LexAlias provides the ability to alias a lexical variable in a
@@ -33,30 +28,28 @@ perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*
 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} -type f -name '*.bs' -size 0 -exec rm -f {} +
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
-%doc README t/
+%doc Changes t/
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/Devel*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Feb 03 2013 Iain Arnell <iarnell@xxxxxxxxx> 0.05-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+- use perl_default_filter
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.04-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 3d31a8b..3acd276 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7fe986f50b467fa8575a67f0729fbb1d  Devel-LexAlias-0.04.tar.gz
+1a4f70dff1a47b3eb96bdeac50db2ec5  Devel-LexAlias-0.05.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