[perl-Chatbot-Eliza] 1.05 bump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 381290201648b698f0f8459b5bbafb0d85937fcf
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Thu Apr 17 14:10:44 2014 +0200

    1.05 bump

 .gitignore              |    1 +
 perl-Chatbot-Eliza.spec |   39 ++++++++++++++++++++++-----------------
 sources                 |    2 +-
 3 files changed, 24 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5620094..322f622 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Chatbot-Eliza-1.04.tar.gz
+/Chatbot-Eliza-1.05.tar.gz
diff --git a/perl-Chatbot-Eliza.spec b/perl-Chatbot-Eliza.spec
index 48d47e3..f40c904 100644
--- a/perl-Chatbot-Eliza.spec
+++ b/perl-Chatbot-Eliza.spec
@@ -1,15 +1,19 @@
 Name:           perl-Chatbot-Eliza
-Version:        1.04
-Release:        18%{?dist}
+Version:        1.05
+Release:        1%{?dist}
 Summary:        Implementation of the Eliza algorithm
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Chatbot-Eliza/
-Source0:        http://www.cpan.org/authors/id/J/JN/JNOLAN/Chatbot-Eliza-%{version}.tar.gz
+Source0:        http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/Chatbot-Eliza-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  perl
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(ExtUtils::MakeMaker)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
 
 %description
 This module implements the classic Eliza algorithm. The original Eliza
@@ -21,35 +25,36 @@ The program is designed to give the appearance of understanding.
 
 %prep
 %setup -q -n Chatbot-Eliza-%{version}
-# quiet rpmlint :)
-chmod -x *
-chmod +x Chatbot
-for enc in deutsch.txt norsk.txt; do
-    iconv -f latin1 -t utf8 ${enc} > ${enc}.utf && \
-      mv ${enc}.utf ${enc}
+cd examples
+find . -type f -exec chmod a-x {} +
+for i in *; do
+    iconv -f latin1 -t utf8 $i > $i.utf8 && \
+    touch -r $i $i.utf8 && \
+    mv $i.utf8 $i
 done
+cd ..
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 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}
+find %{buildroot} -type f -name .packlist -exec rm -f {} +
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
-%doc simple.cgi doctor.txt README simple twobots debug.cgi
-%lang(de) %doc deutsch*
-%lang(no) %doc norsk*
+%doc Changes README LICENSE examples
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Thu Apr 17 2014 Petr Šabata <contyk@xxxxxxxxxx> - 1.05-1
+- 1.05 bump
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.04-18
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index f851edc..ca1263b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-754199bbe591eaa11301aee108586fcd  Chatbot-Eliza-1.04.tar.gz
+dc1c131c5c588c5d5c37bfa1f84dd81e  Chatbot-Eliza-1.05.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





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux