From 3829ae5e74c3a2bfd6337f1d7e306ccb8c9ba577 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <[email protected]>
Date: Fri, 5 Jun 2015 10:59:53 +0200
Subject: 0.33 bump
- Fix the dep list
- Update source URL
- Modernize the SPEC
- Enable test suite
diff --git a/.gitignore b/.gitignore
index 6307ef8..1f6cfcf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Test-Expect-0.31.tar.gz
+/Test-Expect-0.33.tar.gz
diff --git a/perl-Test-Expect.spec b/perl-Test-Expect.spec
index cf82380..9b1141f 100644
--- a/perl-Test-Expect.spec
+++ b/perl-Test-Expect.spec
@@ -1,22 +1,27 @@
Name: perl-Test-Expect
-Version: 0.31
-Release: 16%{?dist}
+Version: 0.33
+Release: 1%{?dist}
Summary: Automated driving and testing of terminal-based programs
-
-Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Test-Expect/
-Source0:
http://www.cpan.org/authors/id/L/LB/LBROCARD/Test-Expect-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
+Source0:
http://search.cpan.org/CPAN/authors/id/B/BP/BPS/Test-Expect-%{version}.tar.gz
BuildArch: noarch
+# Build
+BuildRequires: perl
BuildRequires: perl(Module::Build)
+BuildRequires: perl(strict)
+# Runtimea
+BuildRequires: perl(base)
BuildRequires: perl(Class::Accessor::Chained::Fast)
BuildRequires: perl(Expect::Simple)
-BuildRequires: perl(Test::More)
-BuildRequires: perl(Test::Builder)
-
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
+BuildRequires: perl(Exporter)
+BuildRequires: perl(Test::Builder)
+BuildRequires: perl(warnings)
+# Tests only
+BuildRequires: perl(Expect)
+BuildRequires: perl(lib)
+BuildRequires: perl(Test::More)
+Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo
$version))
%description
Test::Expect is a module for automated driving and testing of
@@ -27,39 +32,33 @@ tweaking.
Test::Expect is intended for use in a test script.
-
%prep
%setup -q -n Test-Expect-%{version}
-
%build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL --installdirs=vendor
./Build
-
%install
-rm -rf $RPM_BUILD_ROOT
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-chmod -R u+w $RPM_BUILD_ROOT/*
-
+./Build install destdir=%{buildroot} create_packlist=0
+%{_fixperms} %{buildroot}/*
%check
-# switch off because of broken mock
-##./Build test
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
+./Build test
%files
-%defattr(-,root,root,-)
%doc CHANGES README
%{perl_vendorlib}/Test/
%{_mandir}/man3/*.3pm*
-
%changelog
+* Fri Jun 05 2015 Petr Ĺ abata <[email protected]> - 0.33-1
+- 0.33 bump
+- Fix the dep list
+- Update source URL
+- Modernize the SPEC
+- Enable test suite
+
* Fri Aug 29 2014 Jitka Plesnikova <[email protected]> - 0.31-16
- Perl 5.20 rebuild
diff --git a/sources b/sources
index 6c77fa4..fb67e2b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2d30b1be2e5e390a9aa698858607e428 Test-Expect-0.31.tar.gz
+604e5e0733dc61a23f34554ba037ad6d Test-Expect-0.33.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Test-Expect.git/commit/?h=master&id=3829ae5e74c3a2bfd6337f1d7e306ccb8c9ba577
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel