eseyman pushed to perl-Crypt-Random-Source (master). "Update to 0.11"

notifications at fedoraproject.org notifications at fedoraproject.org
Sat Oct 31 22:31:11 UTC 2015


From d47da92fed5e4f052f2f8f5b5e60e398bc49287b Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Sat, 31 Oct 2015 23:24:40 +0100
Subject: Update to 0.11

---
 .gitignore                    |  1 +
 perl-Crypt-Random-Source.spec | 39 +++++++++++++++++++--------------------
 sources                       |  2 +-
 3 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/.gitignore b/.gitignore
index 349bcaf..b666327 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /Crypt-Random-Source-0.08.tar.gz
 /Crypt-Random-Source-0.09.tar.gz
 /Crypt-Random-Source-0.10.tar.gz
+/Crypt-Random-Source-0.11.tar.gz
diff --git a/perl-Crypt-Random-Source.spec b/perl-Crypt-Random-Source.spec
index 578bdb7..1654c71 100644
--- a/perl-Crypt-Random-Source.spec
+++ b/perl-Crypt-Random-Source.spec
@@ -1,6 +1,6 @@
 Name:           perl-Crypt-Random-Source
-Version:        0.10
-Release:        4%{?dist}
+Version:        0.11
+Release:        1%{?dist}
 Summary:        Get weak or strong random data from pluggable sources
 License:        GPL+ or Artistic
 
@@ -8,17 +8,17 @@ URL:            http://search.cpan.org/dist/Crypt-Random-Source/
 Source0:        http://www.cpan.org/authors/id/E/ET/ETHER/Crypt-Random-Source-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl
-BuildRequires:  perl(Any::Moose)
 BuildRequires:  perl(Capture::Tiny)
-BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Module::Build::Tiny)
 BuildRequires:  perl(Module::Find)
-BuildRequires:  perl(namespace::clean)
-BuildRequires:  perl(namespace::autoclean)
-BuildRequires:  perl(ok)
+BuildRequires:  perl(Moo)
 BuildRequires:  perl(Sub::Exporter)
 BuildRequires:  perl(Test::Exception)
 BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Types::Standard)
+BuildRequires:  perl(namespace::clean)
+BuildRequires:  perl(namespace::autoclean)
+BuildRequires:  perl(ok)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %{?perl_default_filter}
@@ -31,29 +31,28 @@ of random data.
 %setup -q -n Crypt-Random-Source-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Build.PL --installdirs vendor
+./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
+./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-make test
+./Build test
 
 %files
-%license LICENSE 
+%license LICENCE 
 %doc Changes README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/Crypt*
+%{_mandir}/man3/Crypt*
 
 %changelog
+* Sat Oct 31 2015 Emmanuel Seyman <emmanuel at seyman.fr> - 0.11-1
+- Update to 0.11
+- Switch to Module::Build::Tiny as a build-system
+- Use Moo instead of Any::Moose
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.10-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index a6023c0..11e3f03 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-80303278c2851f5114ee22417db0b935  Crypt-Random-Source-0.10.tar.gz
+d713e1c7dc0b687c6457ecaeb0062634  Crypt-Random-Source-0.11.tar.gz
-- 
cgit v0.11.2


	http://pkgs.fedoraproject.org/cgit/perl-Crypt-Random-Source.git/commit/?h=master&id=d47da92fed5e4f052f2f8f5b5e60e398bc49287b


More information about the perl-devel mailing list