Author: iarnell

Update of /cvs/pkgs/rpms/perl-Module-Used/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15263/F-11

Modified Files:
        .cvsignore sources 
Added Files:
        perl-Module-Used.spec 
Log Message:
initial import


--- NEW FILE perl-Module-Used.spec ---
Name:           perl-Module-Used
Version:        1.2.0
Release:        1%{?dist}
Summary:        Find modules loaded by Perl code without running it
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Module-Used/
Source0:        
http://www.cpan.org/authors/id/E/EL/ELLIOTJS/Module-Used-v%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(File::Next) >= 1.02
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(PPI::Document) >= 1.203
BuildRequires:  perl(Readonly) >= 1.03
BuildRequires:  perl(Test::Deep) >= 0.098
BuildRequires:  perl(Test::More) >= 0.72
BuildRequires:  perl(version) >= 0.74
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))

%description
Modules are found statically based upon use and require statements. If use
of the base or parent is found, both that module and the referenced ones
will be returned. If Moose or Moose::Role are found, this will look for
extends and with sugar will be looked for; presently, this will miss
modules listed in parentheses.

%prep
%setup -q -n Module-Used-v%{version}

%build
%{__perl} Build.PL installdirs=vendor
./Build

%install
rm -rf $RPM_BUILD_ROOT

./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
./Build test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_bindir}/*
%{_mandir}/man1/*
%{_mandir}/man3/*

%changelog
* Wed Apr 29 2009 Iain Arnell 1.2.0-1
- Specfile autogenerated by cpanspec 1.77.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Module-Used/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore  30 Apr 2009 05:04:14 -0000      1.1
+++ .cvsignore  30 Apr 2009 07:22:26 -0000      1.2
@@ -0,0 +1 @@
+Module-Used-v1.2.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Module-Used/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources     30 Apr 2009 05:04:14 -0000      1.1
+++ sources     30 Apr 2009 07:22:26 -0000      1.2
@@ -0,0 +1 @@
+ba3421bb8f990f1729b8e2ad7fa233dc  Module-Used-v1.2.0.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