diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..583cd42 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Scalar-List-Utils-1.31.tar.gz diff --git a/.perl516-perl-Scalar-List-Utils.metadata b/.perl516-perl-Scalar-List-Utils.metadata new file mode 100644 index 0000000..042606e --- /dev/null +++ b/.perl516-perl-Scalar-List-Utils.metadata @@ -0,0 +1 @@ +22e28939a9a850429dfcb56a12e25e2bb61c6abc SOURCES/Scalar-List-Utils-1.31.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index ce46a88..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -\ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Scalar-List-Utils.spec b/SPECS/perl-Scalar-List-Utils.spec new file mode 100644 index 0000000..a3e751b --- /dev/null +++ b/SPECS/perl-Scalar-List-Utils.spec @@ -0,0 +1,90 @@ +%{?scl:%scl_package perl-Scalar-List-Utils} +%{!?scl:%global pkg_name %{name}} + +Name: %{?scl_prefix}perl-Scalar-List-Utils +Version: 1.31 +Release: 2%{?dist} +Summary: A selection of general-utility scalar and list subroutines +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Scalar-List-Utils/ +Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Scalar-List-Utils-%{version}.tar.gz +BuildRequires: %{?scl_prefix}perl +BuildRequires: %{?scl_prefix}perl(base) +BuildRequires: %{?scl_prefix}perl(Carp) +BuildRequires: %{?scl_prefix}perl(Config) +BuildRequires: %{?scl_prefix}perl(constant) +BuildRequires: %{?scl_prefix}perl(Exporter) +BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) +BuildRequires: %{?scl_prefix}perl(File::Spec) +BuildRequires: %{?scl_prefix}perl(IO::File) +BuildRequires: %{?scl_prefix}perl(IO::Handle) +BuildRequires: %{?scl_prefix}perl(Math::BigInt) +BuildRequires: %{?scl_prefix}perl(overload) +BuildRequires: %{?scl_prefix}perl(strict) +BuildRequires: %{?scl_prefix}perl(Symbol) +BuildRequires: %{?scl_prefix}perl(Test::More) +BuildRequires: %{?scl_prefix}perl(threads) +BuildRequires: %{?scl_prefix}perl(threads::shared) +BuildRequires: %{?scl_prefix}perl(Tie::Handle) +BuildRequires: %{?scl_prefix}perl(Tie::Scalar) +BuildRequires: %{?scl_prefix}perl(Tie::StdScalar) +BuildRequires: %{?scl_prefix}perl(vars) +BuildRequires: %{?scl_prefix}perl(warnings) +BuildRequires: %{?scl_prefix}perl(XSLoader) +%{?scl:%global perl_version %(scl enable %{scl} 'eval "`%{__perl} -V:version`"; echo $version')} +%{!?scl:%global perl_version %(eval "`%{__perl} -V:version`"; echo $version)} +Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%{perl_version}) +Requires: %{?scl_prefix}perl(Carp) + +%{?perl_default_filter} + +%description +This package contains a selection of subroutines that people have expressed +would be nice to have in the perl core, but the usage would not really be +high enough to warrant the use of a keyword, and the size so small such +that being individual extensions would be wasteful. + +%prep +%setup -q -n Scalar-List-Utils-%{version} + +%build +%{?scl:scl enable %{scl} '} +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%{?scl:'} +%{?scl:scl enable %{scl} "} +make %{?_smp_mflags} +%{?scl:"} + +%install +%{?scl:scl enable %{scl} "} +make pure_install DESTDIR=%{buildroot} +%{?scl:"} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; + +%{_fixperms} %{buildroot}/* + +%check +%{?scl:scl enable %{scl} "} +make test +%{?scl:"} + +%files +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/List* +%{perl_vendorarch}/Scalar* +%{_mandir}/man3/* + +%changelog +* Thu Feb 13 2014 Jitka Plesnikova - 1.31-2 +- Removed useless filter of dependencies +- Resolves: rhbz#1064855 + +* Mon Nov 18 2013 Jitka Plesnikova - 1.31-1 +- 1.31 bump + +* Wed Feb 13 2013 Jitka Plesnikova - 1.27-100 +- SCL package - initial import