Author: cweyl

Update of /cvs/extras/rpms/perl-Devel-GlobalDestruction/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9649

Modified Files:
        .cvsignore sources 
Added Files:
        import.log perl-Devel-GlobalDestruction.spec 
Log Message:
pseudo-branch of perl-Devel-GlobalDestruction to F-9


--- NEW FILE import.log ---
perl-Devel-GlobalDestruction-0_02-2_fc9:HEAD:perl-Devel-GlobalDestruction-0.02-2.fc9.src.rpm:1225742493


--- NEW FILE perl-Devel-GlobalDestruction.spec ---
Name:       perl-Devel-GlobalDestruction 
Version:    0.02 
Release:        3%{?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)


%description
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
process local resources to actually execute.

For these constructors you can avoid the mess by simply bailing out if
global destruction is in effect.

%prep
%setup -q -n Devel-GlobalDestruction-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
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}/*

%check
make test

%clean
rm -rf %{buildroot} 

%files
%defattr(-,root,root,-)
%doc t/
%{perl_vendorarch}/*
%exclude %dir %{perl_vendorarch}/auto
%{_mandir}/man3/*.3*

%changelog
* Mon Nov 03 2008 Chris Weyl <[EMAIL PROTECTED]> 0.02-3
- bump

* Sat Nov 01 2008 Chris Weyl <[EMAIL PROTECTED]> 0.02-2
- tweak summary

* Sun Oct 26 2008 Chris Weyl <[EMAIL PROTECTED]> 0.02-1
- clean up for review submission

* Sun Oct 19 2008 Chris Weyl <[EMAIL PROTECTED]> 0.02-0.1
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Devel-GlobalDestruction/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore  3 Nov 2008 18:56:23 -0000       1.1
+++ .cvsignore  3 Nov 2008 20:10:36 -0000       1.2
@@ -0,0 +1 @@
+Devel-GlobalDestruction-0.02.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Devel-GlobalDestruction/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources     3 Nov 2008 18:56:23 -0000       1.1
+++ sources     3 Nov 2008 20:10:36 -0000       1.2
@@ -0,0 +1 @@
+f43db3fc6a9de1bf8dbd4792f7d3e3d2  Devel-GlobalDestruction-0.02.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

Reply via email to