[perl-Bot-BasicBot] 0.89 bump

Petr Šabata psabata at fedoraproject.org
Fri Sep 19 11:32:10 UTC 2014


commit 0ec1100ea79cc5d2867dbe7c70fca171cfee3222
Author: Petr Šabata <contyk at redhat.com>
Date:   Fri Sep 19 13:32:07 2014 +0200

    0.89 bump

 .gitignore             |    1 +
 perl-Bot-BasicBot.spec |   30 +++++++++++++++++++-----------
 sources                |    2 +-
 3 files changed, 21 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5210169..2354ad3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Bot-BasicBot-0.87.tar.gz
+/Bot-BasicBot-0.89.tar.gz
diff --git a/perl-Bot-BasicBot.spec b/perl-Bot-BasicBot.spec
index 078789b..b3e2e71 100644
--- a/perl-Bot-BasicBot.spec
+++ b/perl-Bot-BasicBot.spec
@@ -1,32 +1,37 @@
 Name:           perl-Bot-BasicBot
-Version:        0.87
-Release:        9%{?dist}
+Version:        0.89
+Release:        1%{?dist}
 Summary:        Simple irc bot baseclass
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Bot-BasicBot/
 Source0:        http://www.cpan.org/authors/id/H/HI/HINRIK/Bot-BasicBot-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  perl
 BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(Encode)
 BuildRequires:  perl(Exporter)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:  perl(IRC::Utils)
 BuildRequires:  perl(POE)
 BuildRequires:  perl(POE::Component::IRC) >= 6.62
-BuildRequires:  perl(POE::Component::IRC::State)
 BuildRequires:  perl(POE::Component::IRC::Plugin::Connector)
+BuildRequires:  perl(POE::Component::IRC::State)
 BuildRequires:  perl(POE::Filter::Line)
 BuildRequires:  perl(POE::Kernel)
 BuildRequires:  perl(POE::Session)
 BuildRequires:  perl(POE::Wheel::Run)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Text::Wrap)
+BuildRequires:  perl(warnings)
 # Tests
+BuildRequires:  perl(lib)
 BuildRequires:  perl(IO::Socket)
 BuildRequires:  perl(IO::Socket::INET)
 BuildRequires:  perl(Test::More)
 Requires:       perl(POE::Component::IRC) >= 6.62
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
 
 %description
 Basic bot system designed to make it easy to do simple bots, optionally
@@ -35,27 +40,30 @@ forking longer processes (like searches) concurrently in the background.
 %prep
 %setup -q -n Bot-BasicBot-%{version}
 find examples -type f -exec chmod 644 {} \;
-iconv -f latin1 -t utf8 README > README.utf8 && mv README.utf8 README
+iconv -f latin1 -t utf8 README > README.utf8 &&
+    touch README.utf8 -r README &&
+    mv README.utf8 README
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+make pure_install DESTDIR=%{buildroot}
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
-%doc Changes dist.ini examples LICENSE META.json README
+%doc Changes examples LICENSE README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Fri Sep 19 2014 Petr Šabata <contyk at redhat.com> - 0.89-1
+- 0.89 bump
+
 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.87-9
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index a962199..b2b827e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4094ea0e582c61b710d5a2ec1e3589e4  Bot-BasicBot-0.87.tar.gz
+34bc132338ce3fad601050a7815dbe41  Bot-BasicBot-0.89.tar.gz


More information about the scm-commits mailing list