rpms/perl-UNIVERSAL-can/devel perl-UNIVERSAL-can.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jose Pedro Oliveira (jpo) fedora-extras-commits at redhat.com
Mon Feb 13 16:24:09 UTC 2006


Author: jpo

Update of /cvs/extras/rpms/perl-UNIVERSAL-can/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11714/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-UNIVERSAL-can.spec 
Log Message:
auto-import perl-UNIVERSAL-can-1.11-1 on branch devel from perl-UNIVERSAL-can-1.11-1.src.rpm


--- NEW FILE perl-UNIVERSAL-can.spec ---
Name:           perl-UNIVERSAL-can
Version:        1.11
Release:        1%{?dist}
Summary:        Hack around people calling UNIVERSAL::can() as a function

Group:          Development/Libraries
License:        GPL or Artistic
URL:            http://search.cpan.org/dist/UNIVERSAL-can/
Source0:        http://www.cpan.org/authors/id/C/CH/CHROMATIC/UNIVERSAL-can-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(Test::Warn) >= 0.08
BuildRequires:  perl(Test::Simple) >= 0.60
BuildRequires:  perl(Test::Pod) >= 1.14
BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
The UNIVERSAL class provides a few default methods so that all objects
can use them. Object orientation allows programmers to override these
methods in subclasses to provide more specific and appropriate behavior.

Some authors call methods in the UNIVERSAL class on potential invocants
as functions, bypassing any possible overriding. This is wrong and you
should not do it. Unfortunately, not everyone heeds this warning and
their bad code can break your good code.


%prep
%setup -q -n UNIVERSAL-can-%{version}


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


%install
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
chmod -R u+w $RPM_BUILD_ROOT/*


%check
./Build test


%clean
rm -rf $RPM_BUILD_ROOT


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


%changelog
* Fri Feb 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.11-1
- Update to 1.11.
- No longer build requires perl(Test::Exception).

* Thu Feb  9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-2
- Missing build requirement: perl(Test::Exception).

* Wed Feb  8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-1
- Update to 1.03.

* Tue Dec 27 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.01-1
- First build.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-UNIVERSAL-can/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	13 Feb 2006 16:23:10 -0000	1.1
+++ .cvsignore	13 Feb 2006 16:24:09 -0000	1.2
@@ -0,0 +1 @@
+UNIVERSAL-can-1.11.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-UNIVERSAL-can/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Feb 2006 16:23:10 -0000	1.1
+++ sources	13 Feb 2006 16:24:09 -0000	1.2
@@ -0,0 +1 @@
+a11167ca16c6d9767bab1ee41332f096  UNIVERSAL-can-1.11.tar.gz




More information about the scm-commits mailing list