Update to 0.1901. Use fixperms macro instead of our own chmod incantation.
Reformat to match cpanspec output.
This commit is contained in:
parent
0b1a9ac6dc
commit
fefc559b29
@ -1 +1 @@
|
||||
Sub-Uplevel-0.18.tar.gz
|
||||
Sub-Uplevel-0.1901.tar.gz
|
||||
|
||||
@ -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 <steve@kspei.com> 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 <tcallawa@redhat.com> - 0.18-2
|
||||
- rebuild for new perl
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user