From 8f45a949ec7565b0aab9ccede665cd8a83e3bc2b Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jples...@redhat.com>
Date: Wed, 6 Apr 2016 11:02:02 +0200
Subject: 0.11 bump

---
 .gitignore                  |  1 +
 perl-Tk-Text-SuperText.spec | 32 ++++++++++++++++++++++++++------
 sources                     |  2 +-
 3 files changed, 28 insertions(+), 7 deletions(-)

diff --git a/.gitignore b/.gitignore
index 2745993..840d669 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /Tk-Text-SuperText-0.9.4.tar.gz
 /Tk-Text-SuperText-0.10.tar.gz
+/Tk-Text-SuperText-0.11.tar.gz
diff --git a/perl-Tk-Text-SuperText.spec b/perl-Tk-Text-SuperText.spec
index 804875a..6dfa1db 100644
--- a/perl-Tk-Text-SuperText.spec
+++ b/perl-Tk-Text-SuperText.spec
@@ -1,5 +1,5 @@
 Name:           perl-Tk-Text-SuperText
-Version:        0.10
+Version:        0.11
 Release:        1%{?dist}
 Summary:        Improved text widget for perl/tk
 License:        GPL+ or Artistic
@@ -7,7 +7,23 @@ Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Tk-Text-SuperText/
 Source0:        
http://search.cpan.org/CPAN/authors/id/A/AS/ASB/Tk-Text-SuperText-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Tk) >= 804.030
+BuildRequires:  perl(Tk::Derived)
+BuildRequires:  perl(Tk::Text)
+BuildRequires:  perl(vars)
+# Tests
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(warnings)
+
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
 %description
@@ -26,21 +42,25 @@ make %{?_smp_mflags}
 
 
 %install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -delete
+%{_fixperms} %{buildroot}/*
 
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 
-%{_fixperms} %{buildroot}/*
+%check
+make test
 
 
 %files
-%doc README
+%doc README eg
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 
 %changelog
+* Wed Apr 06 2016 Jitka Plesnikova <jples...@redhat.com> - 0.11-1
+- 0.11 bump
+
 * Tue Mar 01 2016 Lubomir Rintel <lkund...@v3.sk> - 0.10-1
 - Update to 0.10
 
diff --git a/sources b/sources
index 10253eb..61d06b6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-33b37792e9c5c070526221b6a8d580b3  Tk-Text-SuperText-0.10.tar.gz
+f54e5811b9cb61cc9a64d3855598f967  Tk-Text-SuperText-0.11.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Tk-Text-SuperText.git/commit/?h=f24&id=8f45a949ec7565b0aab9ccede665cd8a83e3bc2b
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to