diff --git a/.cvsignore b/.cvsignore index 18c075e..e1f93bb 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Sub-Uplevel-0.18.tar.gz +Sub-Uplevel-0.1901.tar.gz diff --git a/perl-Sub-Uplevel.spec b/perl-Sub-Uplevel.spec index f8452bd..60be1c9 100644 --- a/perl-Sub-Uplevel.spec +++ b/perl-Sub-Uplevel.spec @@ -1,14 +1,12 @@ Name: perl-Sub-Uplevel -Version: 0.18 -Release: 2%{?dist} -Summary: Run a perl function in an upper stack frame - -Group: Development/Libraries +Version: 0.1901 +Release: 1%{?dist} +Summary: Apparently run a function in a higher stack frame License: GPL+ or Artistic +Group: Development/Libraries URL: http://search.cpan.org/dist/Sub-Uplevel/ Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildArch: noarch BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Pod) @@ -16,42 +14,43 @@ BuildRequires: perl(Test::Pod::Coverage) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description -Like Tcl's uplevel() function, but not quite so dangerous. The -idea is just to fool caller(). All the really naughty bits of -Tcl's uplevel() are avoided. - +Like Tcl's uplevel() function, but not quite so dangerous. The idea is +just to fool caller(). All the really naughty bits of Tcl's uplevel() +are avoided. %prep %setup -q -n Sub-Uplevel-%{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/* +./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 AUTHOR_TESTING=1 ./Build test - %clean rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root,-) -%doc Changes README examples/ -%{perl_vendorlib}/Sub/ -%{_mandir}/man3/*.3pm* - +%doc Changes LICENSE README Todo examples/ +%{perl_vendorlib}/* +%{_mandir}/man3/* %changelog +* Wed Feb 20 2008 Steven Pritchard 0.1901-1 +- Update to 0.1901. +- Use fixperms macro instead of our own chmod incantation. +- Reformat to match cpanspec output. + * Sun Jan 20 2008 Tom "spot" Callaway - 0.18-2 - rebuild for new perl diff --git a/sources b/sources index e045a31..cbf8586 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9dc463f1e461d41e58986d2117df5375 Sub-Uplevel-0.18.tar.gz +cba75a803c3931d6c2252ad97f8f2616 Sub-Uplevel-0.1901.tar.gz