From f596d2232edb5ee5dd2ed3d87bc6ab2a0f1b3695 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 04 2015 08:04:22 +0000 Subject: import rh-perl520-perl-ExtUtils-Command-1.20-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ef93aec --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ExtUtils-Command-1.20.tar.gz diff --git a/.rh-perl520-perl-ExtUtils-Command.metadata b/.rh-perl520-perl-ExtUtils-Command.metadata new file mode 100644 index 0000000..91f5ab6 --- /dev/null +++ b/.rh-perl520-perl-ExtUtils-Command.metadata @@ -0,0 +1 @@ +b37647cb4437a1eb3c6a7be751eb9d415d4077ce SOURCES/ExtUtils-Command-1.20.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +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-ExtUtils-Command.spec b/SPECS/perl-ExtUtils-Command.spec new file mode 100644 index 0000000..5516373 --- /dev/null +++ b/SPECS/perl-ExtUtils-Command.spec @@ -0,0 +1,69 @@ +%{?scl:%scl_package perl-ExtUtils-Command} + +Name: %{?scl_prefix}perl-ExtUtils-Command +Version: 1.20 +Release: 1%{?dist} +Summary: Perl routines to replace common UNIX commands in Makefiles +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/ExtUtils-Command/ +Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/ExtUtils-Command-%{version}.tar.gz +BuildArch: noarch +BuildRequires: %{?scl_prefix}perl +BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) +BuildRequires: %{?scl_prefix}perl(strict) +BuildRequires: %{?scl_prefix}perl(warnings) +# Run-time: +BuildRequires: %{?scl_prefix}perl(Carp) +BuildRequires: %{?scl_prefix}perl(Exporter) +BuildRequires: %{?scl_prefix}perl(File::Copy) +BuildRequires: %{?scl_prefix}perl(File::Find) +BuildRequires: %{?scl_prefix}perl(File::Path) +# File::Spec not used on Linux +BuildRequires: %{?scl_prefix}perl(vars) +# VMS::Feature not used on Linux +# Tests: +BuildRequires: %{?scl_prefix}perl(File::Spec) +BuildRequires: %{?scl_prefix}perl(Test::More) +Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'})) +Requires: %{?scl_prefix}perl(Carp) +Requires: %{?scl_prefix}perl(File::Copy) +Requires: %{?scl_prefix}perl(File::Find) +Requires: %{?scl_prefix}perl(File::Path) + +%description +This Perl module is used to replace common UNIX commands. In all cases the +functions work with @ARGV rather than taking arguments. This makes them +easier to deal with in Makefiles. + +%prep +%setup -q -n ExtUtils-Command-%{version} + +%build +%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && 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 {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +%{?scl:scl enable %{scl} '}make test%{?scl:'} + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Jan 19 2015 Petr Pisar - 1.20-1 +- 1.20 bump + +* Mon Jan 05 2015 Petr Pisar - 1.19-1 +- 1.19 bump + +* Tue Nov 18 2014 Petr Pisar - 1.18-340 +- Increase release number to supersede perl's sub-package + +* Wed Oct 29 2014 Petr Pisar 1.18-240 +- Specfile autogenerated by cpanspec 1.78.