[perl-Devel-GlobalDestruction] Tidy up whitespace, fix typos

Paul Howarth pghmcfc at fedoraproject.org
Fri Jun 24 12:40:46 UTC 2011


commit 0a70c404a3813cbe4ede0515191c340e0de3363e
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri Jun 24 13:26:35 2011 +0100

    Tidy up whitespace, fix typos

 perl-Devel-GlobalDestruction.spec |   37 +++++++++++++++++--------------------
 1 files changed, 17 insertions(+), 20 deletions(-)
---
diff --git a/perl-Devel-GlobalDestruction.spec b/perl-Devel-GlobalDestruction.spec
index c09b93a..66a1355 100644
--- a/perl-Devel-GlobalDestruction.spec
+++ b/perl-Devel-GlobalDestruction.spec
@@ -1,18 +1,17 @@
-Name:       perl-Devel-GlobalDestruction 
-Version:    0.02 
-Release:    12%{?dist}
+Name:           perl-Devel-GlobalDestruction 
+Version:        0.02 
+Release:        12%{?dist}
 # see lib/Devel/GlobalDestruction.pm
-License:    GPL+ or Artistic
-Group:      Development/Libraries
-Summary:    Expose PL_dirty, the flag which marks global destruction
-Source:     http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/Devel-GlobalDestruction-%{version}.tar.gz 
-Url:        http://search.cpan.org/dist/Devel-GlobalDestruction
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-BuildRequires: perl(ExtUtils::MakeMaker) 
-BuildRequires: perl(Scope::Guard)
-BuildRequires: perl(Sub::Exporter)
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+Summary:        Expose PL_dirty, the flag which marks global destruction
+Url:            http://search.cpan.org/dist/Devel-GlobalDestruction
+Source:         http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/Devel-GlobalDestruction-%{version}.tar.gz 
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
+BuildRequires:  perl(ExtUtils::MakeMaker) 
+BuildRequires:  perl(Scope::Guard)
+BuildRequires:  perl(Sub::Exporter)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 # don't "provide" private Perl libs
 %global _use_internal_dependency_generator 0
@@ -25,7 +24,7 @@ Perl's global destruction is a little tricky to deal with with respect to
 finalizers because it's not ordered and objects can sometimes disappear.
 
 Writing defensive destructors is hard and annoying, and usually if global
-destruction is happenning you only need the destructors that free up non
+destruction is happening you only need the destructors that free up non
 process local resources to actually execute.
 
 For these constructors you can avoid the mess by simply bailing out if
@@ -40,13 +39,11 @@ make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
-
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
-
-%{_fixperms} %{buildroot}/*
+find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
+%{_fixperms} %{buildroot}
 
 %check
 make test
@@ -66,7 +63,7 @@ rm -rf %{buildroot}
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
 * Thu Dec 16 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.02-11
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
 
 * Fri Apr 30 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.02-10
 - Mass rebuild with perl-5.12.0



More information about the perl-devel mailing list