%global _empty_manifest_terminate_build 0 Name: perl-Test-Memory-Cycle Version: 1.06 Release: 1 Summary: Test::Memory::Cycle Perl module License: Artistic 2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/Test-Memory-Cycle/ Source0: http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl-generators BuildRequires: perl(Devel::Cycle) >= 1.07 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Getopt::Long) BuildRequires: perl(PadWalker) BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Builder::Tester) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Simple) >= 0.62 Requires: perl(Devel::Cycle) >= 1.07 Requires: perl(Getopt::Long) Requires: perl(PadWalker) Requires: perl(Test::Builder) Requires: perl(Test::Builder::Tester) Requires: perl(Test::More) Requires: perl(Test::Simple) >= 0.62 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Test::Memory::Cycle Perl module %package help Summary : Test::Memory::Cycle Perl module Provides: perl-Test-Memory-Cycle-doc %description help Test::Memory::Cycle Perl module %prep %setup -q -n Test-Memory-Cycle-%{version} %build export PERL_MM_OPT="" %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install export PERL_MM_OPT="" 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/* pushd %{buildroot} touch filelist.lst if [ -d usr/bin ];then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ];then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ];then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib ];then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi popd mv %{buildroot}/filelist.lst . %check make test %clean rm -rf $RPM_BUILD_ROOT %files -f filelist.lst %defattr(-,root,root,-) %doc Changes LICENSE META.json README.md %{perl_vendorlib}/* %files help %{_mandir}/* %changelog * Tue Jun 16 2020 Perl_Bot 1.06-1 - Specfile autogenerated by Perl_Bot