rpms/perl-Hook-LexWrap/devel perl-Hook-LexWrap.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jose Pedro Oliveira (jpo) fedora-extras-commits at redhat.com
Fri Sep 2 22:50:34 UTC 2005


Author: jpo

Update of /cvs/extras/rpms/perl-Hook-LexWrap/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3185/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Hook-LexWrap.spec 
Log Message:
auto-import perl-Hook-LexWrap-0.20-1 on branch devel from perl-Hook-LexWrap-0.20-1.src.rpm


--- NEW FILE perl-Hook-LexWrap.spec ---
Name:           perl-Hook-LexWrap
Version:        0.20
Release:        1%{?dist}
Summary:        Lexically scoped subroutine wrappers

Group:          Development/Libraries
License:        GPL or Artistic
URL:            http://search.cpan.org/dist/Hook-LexWrap/
Source0:        http://www.cpan.org/authors/id/D/DC/DCONWAY/Hook-LexWrap-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

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

%description
Hook::LexWrap allows you to install a pre- or post-wrapper (or both)
around an existing subroutine. Unlike other modules that provide this
capacity (e.g. Hook::PreAndPost and Hook::WrapSub), Hook::LexWrap
implements wrappers in such a way that the standard `caller' function
works correctly within the wrapped subroutine.


%prep
%setup -q -n Hook-LexWrap-%{version}
chmod a-x Changes README lib/Hook/*.pm

%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}/Hook/
%{_mandir}/man3/*.3*


%changelog
* Fri Aug 26 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1
- First build.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Hook-LexWrap/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	2 Sep 2005 22:49:58 -0000	1.1
+++ .cvsignore	2 Sep 2005 22:50:32 -0000	1.2
@@ -0,0 +1 @@
+Hook-LexWrap-0.20.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Hook-LexWrap/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	2 Sep 2005 22:49:58 -0000	1.1
+++ sources	2 Sep 2005 22:50:32 -0000	1.2
@@ -0,0 +1 @@
+e3aaeb59a3adddc80ed3867e4d16654e  Hook-LexWrap-0.20.tar.gz




More information about the fedora-extras-commits mailing list