[perl-DBICx-TestDatabase] 0.05 bump

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

 



commit 719b8534406d2d3e17734dfabdc8ca7d53eeb1ee
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Wed Nov 19 17:05:03 2014 +0100

    0.05 bump

 .gitignore                   |    1 +
 perl-DBICx-TestDatabase.spec |   51 +++++++++++++++++++++++------------------
 sources                      |    2 +-
 3 files changed, 31 insertions(+), 23 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 75f51ad..e2a57c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 DBICx-TestDatabase-0.02.tar.gz
 /DBICx-TestDatabase-0.04.tar.gz
+/DBICx-TestDatabase-0.05.tar.gz
diff --git a/perl-DBICx-TestDatabase.spec b/perl-DBICx-TestDatabase.spec
index 2082030..05fbc33 100644
--- a/perl-DBICx-TestDatabase.spec
+++ b/perl-DBICx-TestDatabase.spec
@@ -1,30 +1,41 @@
 Name:           perl-DBICx-TestDatabase 
 Summary:        Create a temporary database from a DBIx::Class::Schema 
-Version:        0.04
-Release:        9%{?dist}
+Version:        0.05
+Release:        1%{?dist}
 License:        GPL+ or Artistic 
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/J/JR/JROCKWAY/DBICx-TestDatabase-%{version}.tar.gz 
 URL:            http://search.cpan.org/dist/DBICx-TestDatabase
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:      noarch
-
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::MM_Unix)
+BuildRequires:  perl(Fcntl)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+# Runtime
 BuildRequires:  perl(DBD::SQLite) >= 1.29
-BuildRequires:  perl(DBIx::Class)
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
 BuildRequires:  perl(File::Temp)
-BuildRequires:  perl(ok)
 BuildRequires:  perl(SQL::Translator)
+BuildRequires:  perl(warnings)
+# Tests only
+BuildRequires:  perl(base)
+BuildRequires:  perl(DBIx::Class)
+BuildRequires:  perl(DBIx::Class::Schema)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(ok)
 BuildRequires:  perl(Test::More)
-
+BuildRequires:  perl(utf8)
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
 Requires:       perl(DBD::SQLite) >= 1.29
 Requires:       perl(SQL::Translator)
 
-# obsolete/provide old tests subpackage
-# can be removed during F19 development cycle
-Obsoletes:      %{name}-tests < 0.04-3
-Provides:       %{name}-tests = %{version}-%{release}
-
 %{?perl_default_filter}
 
 %description
@@ -38,30 +49,26 @@ failure, etc.
 %prep
 %setup -q -n DBICx-TestDatabase-%{version}
 
-# silence rpmlint warnings
-find t/ -name '*.t' -type f -print0 \
-  | xargs -0 sed -i '1s,#!.*perl,#!%{__perl},'
-
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{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 Changes t/
+%doc README Changes
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Wed Nov 19 2014 Petr Šabata <contyk@xxxxxxxxxx> - 0.05-1
+- 0.05 bump
+
 * Mon Sep 01 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.04-9
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 859d1db..5bc55a5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7e435dc47cd22e4ef1d088cd0af63a48  DBICx-TestDatabase-0.04.tar.gz
+a022f7e4ae5dfebcb246a7903ad0aa6a  DBICx-TestDatabase-0.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