rpms/perl-Task-Weaken/EL-5 perl-Task-Weaken.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Simon Wilkinson (sxw)
fedora-extras-commits at redhat.com
Sat Apr 12 22:39:45 UTC 2008
Author: sxw
Update of /cvs/extras/rpms/perl-Task-Weaken/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11161/EL-5
Modified Files:
.cvsignore sources
Added Files:
perl-Task-Weaken.spec
Log Message:
Initial Revision
--- NEW FILE perl-Task-Weaken.spec ---
Name: perl-Task-Weaken
Version: 1.02
Release: 2%{?dist}
Summary: Ensure that a platform has weaken support
License: GPLv2+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Task-Weaken/
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Task-Weaken-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
One recurring problem in modules that use Scalar::Util's weaken function is
that it is not present in the pure-perl variant.
This restores the functionality testing to a dependency you do once in
your Makefile.PL, rather than something you have to write extra tests
for each time you write a module.
%prep
%setup -q -n Task-Weaken-%{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 -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Mar 28 2008 Simon Wilkinson <simon at sxw.org.uk> 1.02-2
- Fix license tag
* Thu Mar 27 2008 Simon Wilkinson <simon at sxw.org.uk> 1.02-1
- Specfile autogenerated by cpanspec 1.73.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Task-Weaken/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 4 Apr 2008 16:04:26 -0000 1.1
+++ .cvsignore 12 Apr 2008 22:39:05 -0000 1.2
@@ -0,0 +1 @@
+Task-Weaken-1.02.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Task-Weaken/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 4 Apr 2008 16:04:26 -0000 1.1
+++ sources 12 Apr 2008 22:39:05 -0000 1.2
@@ -0,0 +1 @@
+684c2bd2a76f320679fd2df938467e01 Task-Weaken-1.02.tar.gz
More information about the fedora-extras-commits
mailing list