rpms/perl-Module-Locate/devel perl-Module-Locate.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jose Pedro Oliveira (jpo) fedora-extras-commits at redhat.com
Tue Apr 25 15:40:03 UTC 2006


Author: jpo

Update of /cvs/extras/rpms/perl-Module-Locate/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8078/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Module-Locate.spec 
Log Message:
auto-import perl-Module-Locate-1.7-1 on branch devel from perl-Module-Locate-1.7-1.src.rpm


--- NEW FILE perl-Module-Locate.spec ---
Name:           perl-Module-Locate
Version:        1.7
Release:        1%{?dist}
Summary:        Locate modules in the same fashion as "require" and "use"

Group:          Development/Libraries
License:        GPL or Artistic
URL:            http://search.cpan.org/dist/Module-Locate/
Source0:        http://www.cpan.org/authors/id/B/BR/BROQ/Module-Locate-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Using "locate()", return the path that "require" would find for a given
module or filename (it can also return a filehandle if a reference in @INC
has been used).  This means you can test for the existence, or find the
path for, modules without having to evaluate the code they contain.

This module also comes with accompanying utility functions that are used
within the module itself (except for "get_source") and are available for
import.


%prep
%setup -q -n Module-Locate-%{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 {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*


%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


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


%changelog
* Tue Jan 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.7-1
- First build.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Module-Locate/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	25 Apr 2006 15:39:30 -0000	1.1
+++ .cvsignore	25 Apr 2006 15:40:03 -0000	1.2
@@ -0,0 +1 @@
+Module-Locate-1.7.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Module-Locate/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	25 Apr 2006 15:39:30 -0000	1.1
+++ sources	25 Apr 2006 15:40:03 -0000	1.2
@@ -0,0 +1 @@
+abf9f4f452243dcaa702d100b8c0b50c  Module-Locate-1.7.tar.gz




More information about the scm-commits mailing list