%define pkg_name Safe-Hole %define pkg_version 0.10 %define rpm_pkg_version 0.10 %define rpm_pkg_release 4.n0i.8 Summary: Exec subs in the original package from Safe Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/S/SE/SEYN/%{pkg_name}-%{pkg_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %description We can call outside defined subroutines from the Safe compartment using share(), or can call methods through the object that is copied into the Safe compartment using varglob(). But that subroutines or methods are executed in the Safe compartment too, so they cannot call another subroutines that are dinamically qualified with the package name such as class methods nor can they compile code that uses opcodes that are forbidden within the compartment. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes Copying README %changelog * Tue May 22 2007 Marius Feraru - 0.10-4.n0i.8 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 * Sat Mar 04 2006 Marius Feraru - 0.10-3.n0i.7 - automatic rebuild (perl 5.8.8) * Sat Jul 30 2005 Marius Feraru 0.10-2.n0i.6 - spec file (re)created using N0i::CPAN::RPMizer/0.1 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:0.10-1.n0i.5 - automatic rebuild (perl 5.8.6) * Sun Dec 05 2004 Marius Feraru 0:0.10-1.n0i.4 - automatic rebuild (perl 5.8.6) * Wed May 05 2004 Marius Feraru 0:0.10-1.n0i.3 - spec file (re?)created using N0i::CPAN::RPMizer/2004050401 - rebuild (perl 5.8.4) * Fri Jan 23 2004 Marius FERARU 0:0.10-0.n0i.1 - version 0.10 * Thu Jan 01 2004 Marius FERARU 0:0.08-0.n0i.1 - version 0.08 - spec file (re?)created using N0i::CPAN::RPMizer/2003102001