rpms/perl-Return-Value/devel perl-Return-Value.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Tom Callaway (spot) fedora-extras-commits at redhat.com
Wed Apr 4 22:32:40 UTC 2007


Author: spot

Update of /cvs/extras/rpms/perl-Return-Value/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16937/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Return-Value.spec 
Log Message:
auto-import perl-Return-Value-1.302-2 on branch devel from perl-Return-Value-1.302-2.src.rpm


--- NEW FILE perl-Return-Value.spec ---
Name:           perl-Return-Value
Version:        1.302
Release:        2%{?dist}
Summary:        Polymorphic Return Values
Group:          Development/Libraries
License:        GPL or Artistic
URL:            http://search.cpan.org/dist/Return-Value/
Source0:        http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Return-Value-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test::Pod::Coverage)
BuildRequires:  perl(Test::Perl::Critic)
BuildArch:      noarch
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module provides polymorphic return values with a simple API that should 
get you what you're looking for in each context a return value is used in.

%prep
%setup -q -n Return-Value-%{version}

%build
sed -i '/LICENSE/ d' Makefile.PL
%{__perl} Makefile.PL INSTALLDIRS=vendor
make

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

%check
make test PERL_TEST_CRITIC=1

%clean
rm -rf $RPM_BUILD_ROOT

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

%changelog
* Mon Apr  2 2007 Tom "spot" Callaway <tcallawa at redhat.com> - 1.302-2
- remove LICENSE line from Makefile.PL
- add Test::Perl::Critic to fix tests

* Sun Apr  1 2007 Tom "spot" Callaway <tcallawa at redhat.com> - 1.302-1
- Initial package for Fedora


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Return-Value/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	3 Apr 2007 00:34:05 -0000	1.1
+++ .cvsignore	4 Apr 2007 22:32:07 -0000	1.2
@@ -0,0 +1 @@
+Return-Value-1.302.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Return-Value/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Apr 2007 00:34:05 -0000	1.1
+++ sources	4 Apr 2007 22:32:07 -0000	1.2
@@ -0,0 +1 @@
+fed7ed691b0945d8ec27e7c7440e6f97  Return-Value-1.302.tar.gz




More information about the scm-commits mailing list