Blame SPECS/perl-Scalar-List-Utils.spec

c0884a
%{?scl:%scl_package perl-Scalar-List-Utils}
c0884a
%{!?scl:%global pkg_name %{name}}
c0884a
c0884a
Name:           %{?scl_prefix}perl-Scalar-List-Utils
c0884a
Version:        1.31
c0884a
Release:        2%{?dist}
c0884a
Summary:        A selection of general-utility scalar and list subroutines
c0884a
License:        GPL+ or Artistic
c0884a
Group:          Development/Libraries
c0884a
URL:            http://search.cpan.org/dist/Scalar-List-Utils/
c0884a
Source0:        http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Scalar-List-Utils-%{version}.tar.gz
c0884a
BuildRequires:  %{?scl_prefix}perl
c0884a
BuildRequires:  %{?scl_prefix}perl(base)
c0884a
BuildRequires:  %{?scl_prefix}perl(Carp)
c0884a
BuildRequires:  %{?scl_prefix}perl(Config)
c0884a
BuildRequires:  %{?scl_prefix}perl(constant)
c0884a
BuildRequires:  %{?scl_prefix}perl(Exporter)
c0884a
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker)
c0884a
BuildRequires:  %{?scl_prefix}perl(File::Spec)
c0884a
BuildRequires:  %{?scl_prefix}perl(IO::File)
c0884a
BuildRequires:  %{?scl_prefix}perl(IO::Handle)
c0884a
BuildRequires:  %{?scl_prefix}perl(Math::BigInt)
c0884a
BuildRequires:  %{?scl_prefix}perl(overload)
c0884a
BuildRequires:  %{?scl_prefix}perl(strict)
c0884a
BuildRequires:  %{?scl_prefix}perl(Symbol)
c0884a
BuildRequires:  %{?scl_prefix}perl(Test::More)
c0884a
BuildRequires:  %{?scl_prefix}perl(threads)
c0884a
BuildRequires:  %{?scl_prefix}perl(threads::shared)
c0884a
BuildRequires:  %{?scl_prefix}perl(Tie::Handle)
c0884a
BuildRequires:  %{?scl_prefix}perl(Tie::Scalar)
c0884a
BuildRequires:  %{?scl_prefix}perl(Tie::StdScalar)
c0884a
BuildRequires:  %{?scl_prefix}perl(vars)
c0884a
BuildRequires:  %{?scl_prefix}perl(warnings)
c0884a
BuildRequires:  %{?scl_prefix}perl(XSLoader)
c0884a
%{?scl:%global perl_version %(scl enable %{scl} 'eval "`%{__perl} -V:version`"; echo $version')}
c0884a
%{!?scl:%global perl_version %(eval "`%{__perl} -V:version`"; echo $version)}
c0884a
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%{perl_version})
c0884a
Requires:       %{?scl_prefix}perl(Carp)
c0884a
c0884a
%{?perl_default_filter}
c0884a
c0884a
%description
c0884a
This package contains a selection of subroutines that people have expressed
c0884a
would be nice to have in the perl core, but the usage would not really be
c0884a
high enough to warrant the use of a keyword, and the size so small such
c0884a
that being individual extensions would be wasteful.
c0884a
c0884a
%prep
c0884a
%setup -q -n Scalar-List-Utils-%{version}
c0884a
c0884a
%build
c0884a
%{?scl:scl enable %{scl} '}
c0884a
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
c0884a
%{?scl:'}
c0884a
%{?scl:scl enable %{scl} "}
c0884a
make %{?_smp_mflags}
c0884a
%{?scl:"}
c0884a
c0884a
%install
c0884a
%{?scl:scl enable %{scl} "}
c0884a
make pure_install DESTDIR=%{buildroot}
c0884a
%{?scl:"}
c0884a
c0884a
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
c0884a
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
c0884a
c0884a
%{_fixperms} %{buildroot}/*
c0884a
c0884a
%check
c0884a
%{?scl:scl enable %{scl} "}
c0884a
make test
c0884a
%{?scl:"}
c0884a
c0884a
%files
c0884a
%doc Changes README
c0884a
%{perl_vendorarch}/auto/*
c0884a
%{perl_vendorarch}/List*
c0884a
%{perl_vendorarch}/Scalar*
c0884a
%{_mandir}/man3/*
c0884a
c0884a
%changelog
c0884a
* Thu Feb 13 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-2
c0884a
- Removed useless filter of dependencies
c0884a
- Resolves: rhbz#1064855
c0884a
c0884a
* Mon Nov 18 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-1
c0884a
- 1.31 bump
c0884a
c0884a
* Wed Feb 13 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.27-100
c0884a
- SCL package - initial import