rpms/perl-Directory-Scratch/F-10 import.log, NONE, 1.1 perl-Directory-Scratch.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl cweyl at fedoraproject.org
Sun Dec 14 19:02:00 UTC 2008


Author: cweyl

Update of /cvs/extras/rpms/perl-Directory-Scratch/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19720/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-Directory-Scratch.spec 
Log Message:
initial import


--- NEW FILE import.log ---
perl-Directory-Scratch-0_14-2_fc9:F-10:perl-Directory-Scratch-0.14-2.fc9.src.rpm:1229281280


--- NEW FILE perl-Directory-Scratch.spec ---
Name:       perl-Directory-Scratch 
Version:    0.14 
Release:    2%{?dist}
# see lib/Directory/Scratch.pm (perl)
License:    GPL+ or Artistic
Group:      Development/Libraries
Summary:    Self-cleaning scratch space for tests 
Source:     http://search.cpan.org/CPAN/authors/id/J/JR/JROCKWAY/Directory-Scratch-%{version}.tar.gz 
Url:        http://search.cpan.org/dist/Directory-Scratch
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:  noarch

BuildRequires: perl(ExtUtils::MakeMaker) 
BuildRequires: perl(Carp)
BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Slurp) >= 9999.12
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::stat)
BuildRequires: perl(File::Temp)
BuildRequires: perl(Path::Class)
BuildRequires: perl(Test::More)


%description
When writing test suites for modules that operate on files, it's often 
inconvenient to correctly create a platform-independent temporary storage
space, manipulate files inside it, then clean it up when the test exits.  
The inconvenience usually results in tests that don’t work everwhere, or 
worse, no tests at all.

This module aims to eliminate that problem by making it easy to do things
right.


%prep
%setup -q -n Directory-Scratch-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
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} -depth -type d -exec rmdir {} 2>/dev/null ';'

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot} 

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

%changelog
* Wed Dec 10 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.14-2
- brush up for submission

* Wed Dec 10 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.14-1
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.6)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Directory-Scratch/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Dec 2008 05:37:19 -0000	1.1
+++ .cvsignore	14 Dec 2008 19:01:29 -0000	1.2
@@ -0,0 +1 @@
+Directory-Scratch-0.14.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Directory-Scratch/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Dec 2008 05:37:20 -0000	1.1
+++ sources	14 Dec 2008 19:01:29 -0000	1.2
@@ -0,0 +1 @@
+3e759c3a5ff8c678725aad99e80a5c14  Directory-Scratch-0.14.tar.gz




More information about the fedora-extras-commits mailing list