[perl-Time-Progress: 1/2] 1.8 bump, doc fixes, a new basic test suite
Petr Šabata
psabata at fedoraproject.org
Wed Jul 10 12:11:47 UTC 2013
commit 64b2f84b2e88a8e51ef02972664cc7115ea4d123
Author: Petr Šabata <contyk at redhat.com>
Date: Wed Jul 10 13:56:03 2013 +0200
1.8 bump, doc fixes, a new basic test suite
.gitignore | 1 +
perl-Time-Progress.spec | 26 +++++++++++++++++++-------
sources | 2 +-
3 files changed, 21 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 200995e..f98a725 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
Time-Progress-1.4.tar.gz
/Time-Progress-1.7.tar.gz
+/Time-Progress-1.8.tar.gz
diff --git a/perl-Time-Progress.spec b/perl-Time-Progress.spec
index ea5d5ad..84ac435 100644
--- a/perl-Time-Progress.spec
+++ b/perl-Time-Progress.spec
@@ -1,5 +1,5 @@
Name: perl-Time-Progress
-Version: 1.7
+Version: 1.8
Release: 1%{?dist}
Summary: Elapsed and estimated finish time reporting
License: GPL+ or Artistic
@@ -7,31 +7,43 @@ Group: Development/Libraries
URL: http://search.cpan.org/dist/Time-Progress/
Source0: http://www.cpan.org/modules/by-module/Time/Time-Progress-%{version}.tar.gz
BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(Carp)
+BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(strict)
+BuildRequires: perl(Test)
+BuildRequires: perl(warnings)
+Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
-Perl module to report progress. Reports elapsed and estimated finish time. Displays progress bar.
+Perl module to report progress. Reports elapsed and estimated finish time.
+Displays progress bar.
%prep
%setup -q -n Time-Progress-%{version}
%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 Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Wed Jul 10 2013 Petr Šabata <contyk at redhat.com> - 1.8-1
+- 1.8 bump, doc fixes, a new basic test suite
+
* Wed Jan 11 2012 Petr Šabata <contyk at redhat.com> - 1.7-1
- 1.7 bump
- Removing check section since there are no tests
diff --git a/sources b/sources
index bf05713..10eb778 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-83471e25b5b243be3ffa4e71387b020c Time-Progress-1.7.tar.gz
+e594c6f6c62357b3c0f1587bf0181967 Time-Progress-1.8.tar.gz
More information about the perl-devel
mailing list