[perl-smartmatch] 0.05-TRIAL

Petr Pisar ppisar at fedoraproject.org
Mon Dec 8 14:42:07 UTC 2014


commit 06e84d795a6144a1c28bfbb32a71284f8063a49c
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Dec 8 15:41:35 2014 +0100

    0.05-TRIAL

 .gitignore           |    1 +
 perl-smartmatch.spec |   17 +++++++++++------
 sources              |    2 +-
 3 files changed, 13 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 70cf8b2..d2a1489 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /smartmatch-0.03-TRIAL.tar.gz
 /smartmatch-0.04-TRIAL.tar.gz
+/smartmatch-0.05-TRIAL.tar.gz
diff --git a/perl-smartmatch.spec b/perl-smartmatch.spec
index 50ae56b..89eca9b 100644
--- a/perl-smartmatch.spec
+++ b/perl-smartmatch.spec
@@ -1,12 +1,13 @@
 # This file is licensed under the terms of GNU GPLv2+
 Name:           perl-smartmatch
-Version:        0.04
-Release:        9%{?dist}
+Version:        0.05
+Release:        1%{?dist}
 Summary:        Pluggable smart matching back-ends
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/smartmatch/
 Source0:        http://search.cpan.org/CPAN/authors/id/D/DO/DOY/smartmatch-%{version}-TRIAL.tar.gz
+BuildRequires:  perl
 BuildRequires:  perl(B::Hooks::OP::Check) >= 0.14
 BuildRequires:  perl(ExtUtils::Depends)
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -19,10 +20,12 @@ BuildRequires:  perl(parent)
 BuildRequires:  perl(File::Find)
 BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(List::MoreUtils)
+BuildRequires:  perl(overload)
+BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(Test::More) >= 0.88
 # Optional tests:
 BuildRequires:  perl(Test::Script) >= 1.05
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %{?perl_default_filter}
 
@@ -40,14 +43,13 @@ result.
 %setup -q -n smartmatch-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
@@ -60,6 +62,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Mon Dec 08 2014 Petr Pisar <ppisar at redhat.com> - 0.05-1
+- 0.05-TRIAL bump
+
 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.04-9
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 9f361de..065bf30 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6bd4e36a4d773d84a253e4aa4c3b8492  smartmatch-0.04-TRIAL.tar.gz
+60b1de3e53363ec17c726708c69cadd7  smartmatch-0.05-TRIAL.tar.gz


More information about the scm-commits mailing list