Name: perl-B-Hooks-OP-Check-StashChange Version: 0.06 Release: 1%{?dist} Summary: Invoke callbacks when the stash code is being compiled in changes License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/B-Hooks-OP-Check-StashChange/ Source0: http://www.cpan.org/authors/id/F/FL/FLORA/B-Hooks-OP-Check-StashChange-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl(B::Hooks::OP::Check) >= 0.14 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::Depends) BuildRequires: perl(parent) # testing BuildRequires: perl(Test::More) # don't "provide" private Perl libs %global _use_internal_dependency_generator 0 %global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u %global __find_provides /bin/sh -c "%{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}" %global __find_requires /bin/sh -c "%{__deploop R}" %description Register callbacks when an opcode is being compiled in a different namespace than the previous one. %prep %setup -q -n B-Hooks-OP-Check-StashChange-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorarch}/* %exclude %dir %{perl_vendorarch}/auto %{_mandir}/man3/*.3* %changelog * Tue Apr 21 2009 Chris Weyl 0.06-1 - update to 0.06 * Tue Apr 21 2009 Chris Weyl 0.05-2 - add missing ExtUtils::Depends BR * Sat Apr 18 2009 Chris Weyl 0.05-1 - submission * Sat Apr 18 2009 Chris Weyl 0.05-0 - Specfile autogenerated by cpanspec 1.77.