commit 9a3ba752d1b4cb79a9fbd8a2be8675d6275d05f1 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Mon Apr 22 10:12:01 2013 +0200 0.02 bump .gitignore | 1 + perl-Probe-Perl.spec | 27 ++++++++++++++++++--------- sources | 2 +- 3 files changed, 20 insertions(+), 10 deletions(-) --- diff --git a/.gitignore b/.gitignore index 4015e66..97a1587 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Probe-Perl-0.01.tar.gz +/Probe-Perl-0.02.tar.gz diff --git a/perl-Probe-Perl.spec b/perl-Probe-Perl.spec index 6d9e7a9..4aa8c43 100644 --- a/perl-Probe-Perl.spec +++ b/perl-Probe-Perl.spec @@ -1,19 +1,24 @@ Name: perl-Probe-Perl -Version: 0.01 -Release: 14%{?dist} +Version: 0.02 +Release: 1%{?dist} Summary: Information about the currently running perl License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Probe-Perl/ Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Probe-Perl-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl(Module::Build) +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(Config) BuildRequires: perl(File::Spec) # Tests: +BuildRequires: perl(English) BuildRequires: perl(Test) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description This module provides methods for obtaining information about the currently @@ -24,15 +29,16 @@ Module::Build project, but has been externalized here for general use. %setup -q -n Probe-Perl-%{version} %build -%{__perl} Build.PL installdirs=vendor -./Build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 -%{_fixperms} $RPM_BUILD_ROOT/* +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} + +%{_fixperms} %{buildroot}/* %check -./Build test +make test %files %doc Changes README @@ -40,6 +46,9 @@ Module::Build project, but has been externalized here for general use. %{_mandir}/man3/* %changelog +* Mon Apr 22 2013 Petr Šabata <contyk@xxxxxxxxxx> - 0.02-1 +- 0.02 bump + * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.01-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index 11b44b1..6b7b7bc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b6f613a7d07dde568a0d4b9570de47c3 Probe-Perl-0.01.tar.gz +e719323ef5cb22ab08e954f5868d8c6b Probe-Perl-0.02.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel