rpms/perl-Test-Refcount/devel import.log, NONE, 1.1 perl-Test-Refcount.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Nicolas Chauvet kwizart at fedoraproject.org
Mon Aug 3 12:00:27 UTC 2009


Author: kwizart

Update of /cvs/pkgs/rpms/perl-Test-Refcount/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23334/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-Test-Refcount.spec 
Log Message:
Initial import for devel



--- NEW FILE import.log ---
perl-Test-Refcount-0_05-2_fc11:HEAD:perl-Test-Refcount-0.05-2.fc11.src.rpm:1249300708


--- NEW FILE perl-Test-Refcount.spec ---
Name:           perl-Test-Refcount
Version:        0.05
Release:        2%{?dist}
Summary:        Assert reference counts on objects

Group:          Development/Libraries
License:        GPL+ or Artistic
URL:            http://search.cpan.org/dist/Test-Refcount/
Source0:        http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Test-Refcount-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Devel::Refcount)
BuildRequires:  perl(Devel::FindRef)
BuildRequires:  perl(Test::Builder)
BuildRequires:  perl(Test::Builder::Tester)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Test::Pod)
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
The Perl garbage collector uses simple reference counting during the normal
execution of a program. This means that cycles or unweakened references in
other parts of code can keep an object around for longer than intended. To
help avoid this problem, the reference count of a new object from its class
constructor ought to be 1. This way, the caller can know the object will be
properly DESTROYed when it drops all of its references to it.


%prep
%setup -q -n Test-Refcount-%{version}


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'

%{_fixperms} $RPM_BUILD_ROOT/*


%check
#Test fails rhbz#514942
make test || :


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/Test
%{_mandir}/man3/Test*.3*


%changelog
* Fri Jul 31 2009 kwizart < kwizart at gmail.com > - 0.05-2
- Add missing BR
- Use %%{_fixperms}
- Fix %%files section
- Add comment about why it fails

* Thu Jul  9 2009 kwizart < kwizart at gmail.com > - 0.05-1
- Initial spec



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Test-Refcount/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	31 Jul 2009 21:19:45 -0000	1.1
+++ .cvsignore	3 Aug 2009 12:00:27 -0000	1.2
@@ -0,0 +1 @@
+Test-Refcount-0.05.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Test-Refcount/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	31 Jul 2009 21:19:45 -0000	1.1
+++ sources	3 Aug 2009 12:00:27 -0000	1.2
@@ -0,0 +1 @@
+657b089713b1283218590119faf12432  Test-Refcount-0.05.tar.gz




More information about the Fedora-perl-devel-list mailing list