%{?scl:%scl_package perl-Devel-PPPort} Name: %{?scl_prefix}perl-Devel-PPPort Version: 3.25 Release: 2%{?dist} Summary: Perl Pollution Portability header generator License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Devel-PPPort/ Source0: http://www.cpan.org/authors/id/W/WO/WOLFSAGE/Devel-PPPort-%{version}.tar.gz BuildRequires: %{?scl_prefix}perl BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) BuildRequires: %{?scl_prefix}perl(strict) BuildRequires: %{?scl_prefix}perl(vars) # Tests: BuildRequires: %{?scl_prefix}perl(Config) BuildRequires: %{?scl_prefix}perl(DynaLoader) BuildRequires: %{?scl_prefix}perl(File::Path) BuildRequires: %{?scl_prefix}perl(Tie::Hash) BuildRequires: %{?scl_prefix}perl(utf8) Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'})) %description Perl's API has changed over time, gaining new features, new functions, increasing its flexibility, and reducing the impact on the C name space environment (reduced pollution). The header file written by this module, typically ppport.h, attempts to bring some of the newer Perl API features to older versions of Perl, so that you can worry less about keeping track of old releases, but users can still reap the benefit. %{?perl_default_filter} %prep %setup -q -n Devel-PPPort-%{version} chmod -x soak %build %{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" && make %{?_smp_mflags}%{?scl:'} %install %{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'} find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check %{?scl:scl enable %{scl} '}make test%{?scl:'} %files %doc Changes HACKERS README soak TODO %{perl_vendorarch}/auto/* %{perl_vendorarch}/Devel* %{_mandir}/man3/* %changelog * Fri Jan 09 2015 Petr Pisar - 3.25-2 - Do not export private library * Fri Dec 05 2014 Petr Pisar - 3.25-1 - 3.25 bump * Thu Sep 18 2014 Petr Pisar 3.24-1 - Specfile autogenerated by cpanspec 1.78.