ppisar pushed to perl-Dancer-Session-Cookie (f22). "0.26 bump"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Sep 11 12:40:31 UTC 2015


From df99cc8f1327a6e617821f3bce1ab1ec73ac3a3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Fri, 11 Sep 2015 14:37:10 +0200
Subject: 0.26 bump


diff --git a/.gitignore b/.gitignore
index ee1b25a..0129015 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /Dancer-Session-Cookie-0.15.tar.gz
 /Dancer-Session-Cookie-0.25.tar.gz
+/Dancer-Session-Cookie-0.26.tar.gz
diff --git a/perl-Dancer-Session-Cookie.spec b/perl-Dancer-Session-Cookie.spec
index 121616e..8a61e76 100644
--- a/perl-Dancer-Session-Cookie.spec
+++ b/perl-Dancer-Session-Cookie.spec
@@ -1,5 +1,5 @@
 Name:           perl-Dancer-Session-Cookie
-Version:        0.25
+Version:        0.26
 Release:        1%{?dist}
 Summary:        Encrypted cookie-based session back-end for Dancer
 License:        GPL+ or Artistic
@@ -8,9 +8,10 @@ URL:            http://search.cpan.org/dist/Dancer-Session-Cookie/
 Source0:        http://www.cpan.org/authors/id/Y/YA/YANICK/Dancer-Session-Cookie-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl
-BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(strict)
 BuildRequires:  perl(warnings)
+BuildRequires:  sed
 # Run-time:
 BuildRequires:  perl(base)
 BuildRequires:  perl(Crypt::CBC)
@@ -37,7 +38,10 @@ BuildRequires:  perl(Test::Exception)
 BuildRequires:  perl(Test::More) >= 0.96
 BuildRequires:  perl(Test::NoWarnings)
 # Optional tests:
-BuildRequires:  perl(Test::WWW::Mechanize::PSGI)
+# CPAN::Meta not useful
+BuildRequires:  perl(HTTP::Cookies)
+BuildRequires:  perl(HTTP::Request::Common)
+BuildRequires:  perl(Plack::Test)
 BuildRequires:  perl(YAML)
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
@@ -49,24 +53,32 @@ avoid using external storage at all.
 
 %prep
 %setup -q -n Dancer-Session-Cookie-%{version}
+# Remove README.pod identical to README.mkdn which is installed spuriously
+rm README.pod
+sed -i -e '/^README\.pod/d' MANIFEST
 
 %build
-perl Build.PL installdirs=vendor
-./Build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-./Build install destdir=%{buildroot} create_packlist=0
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 %{_fixperms} %{buildroot}/*
 
 %check
-./Build test
+make test
 
 %files
-%doc Changes CONTRIBUTORS LICENSE README
+%license LICENSE
+%doc Changes CONTRIBUTORS README.mkdn
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Fri Sep 11 2015 Petr Pisar <ppisar at redhat.com> - 0.26-1
+- 0.26 bump
+
 * Fri Sep 19 2014 Petr Pisar <ppisar at redhat.com> - 0.25-1
 - 0.25 bump
 
diff --git a/sources b/sources
index d8377f8..a63937e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ccbc6083d4e7a8ac5ceb60a27a89c571  Dancer-Session-Cookie-0.25.tar.gz
+ab75c73318c7c50af9baf433e53d129c  Dancer-Session-Cookie-0.26.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Dancer-Session-Cookie.git/commit/?h=f22&id=df99cc8f1327a6e617821f3bce1ab1ec73ac3a3c


More information about the perl-devel mailing list