[perl-Time-Warp] 0.51 bump
Petr Pisar
ppisar at fedoraproject.org
Thu Nov 13 09:32:06 UTC 2014
commit 96b9790e69e054850ed473c505e2104f3c978e0d
Author: Petr Písař <ppisar at redhat.com>
Date: Thu Nov 13 10:29:34 2014 +0100
0.51 bump
.gitignore | 1 +
.rpmlint | 2 +
perl-Time-Warp.spec | 52 ++++++++++++++++++++++----------------------------
sources | 2 +-
4 files changed, 27 insertions(+), 30 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..21b5ae1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Time-Warp-0.51.tar.gz
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..5704f1c
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* dimensionality");
diff --git a/perl-Time-Warp.spec b/perl-Time-Warp.spec
index b7a453b..6465ab3 100644
--- a/perl-Time-Warp.spec
+++ b/perl-Time-Warp.spec
@@ -1,62 +1,56 @@
Name: perl-Time-Warp
-Version: 0.5
-Release: 17%{?dist}
+Version: 0.51
+Release: 1%{?dist}
# Warp.pm -> GPL+ or Artistic
License: GPL+ or Artistic
Group: Development/Libraries
-Summary: Change the start and speed of Event time
-Source: http://search.cpan.org/CPAN/authors/id/J/JP/JPRIT/Time-Warp-%{version}.tar.gz
+Summary: Control over the flow of time
+Source: http://search.cpan.org/CPAN/authors/id/S/SZ/SZABGAB/Time-Warp-%{version}.tar.gz
Url: http://search.cpan.org/dist/Time-Warp
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-BuildRequires: perl(ExtUtils::MakeMaker)
-
-# don't "provide" private Perl libs
-%global _use_internal_dependency_generator 0
-%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u
-%global __find_provides /bin/sh -c "%{__grep} -v '%_docdir' | %{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
-%global __find_requires /bin/sh -c "%{__grep} -v '%_docdir' | %{__deploop R}"
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires: perl(DynaLoader)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(strict)
+BuildRequires: perl(vars)
+# Optional run-time:
+BuildRequires: perl(Time::HiRes)
+# Tests:
+BuildRequires: perl(Test::More) >= 1.00
+BuildRequires: perl(warnings)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
Our external experience unfolds in 3 1/2 dimensions (time has a
dimensionality of 1/2). The Time::Warp module offers developers control
over the measurement of time.
-This module is redundant if you're from Gallifrey, and not recommended
-for use at high speeds near very massive objects.
-
%prep
%setup -q -n Time-Warp-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
-
%{_fixperms} %{buildroot}/*
%check
make test
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-,root,root,-)
-%doc README
+%doc Changes README
%{perl_vendorarch}/*
-%exclude %dir %{perl_vendorarch}/auto
%{_mandir}/man3/*.3*
%changelog
+* Thu Nov 13 2014 Petr Pisar <ppisar at redhat.com> - 0.51-1
+- 0.51 bump
+
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.5-17
- Perl 5.20 rebuild
diff --git a/sources b/sources
index aaa311e..55fd9f7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-33652a9dfdc11366ddba95efe6432a51 Time-Warp-0.5.tar.gz
+cc59a3be780357c364a44cfcd2033a0f Time-Warp-0.51.tar.gz
More information about the scm-commits
mailing list