eseyman pushed to perl-Data-ObjectDriver (master). "Update to 0.11"

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

 



>From 7cc63c39d43f9c45bf5524634484b47da21e52f4 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel@xxxxxxxxx>
Date: Sun, 12 Apr 2015 11:53:32 +0200
Subject: Update to 0.11


diff --git a/.gitignore b/.gitignore
index dc40276..d15d316 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ Data-ObjectDriver-0.07.tar.gz
 /Data-ObjectDriver-0.08.tar.gz
 /Data-ObjectDriver-0.09.tar.gz
 /Data-ObjectDriver-0.10.tar.gz
+/Data-ObjectDriver-0.11.tar.gz
diff --git a/perl-Data-ObjectDriver.spec b/perl-Data-ObjectDriver.spec
index 3d3bdfb..f2fb3cd 100644
--- a/perl-Data-ObjectDriver.spec
+++ b/perl-Data-ObjectDriver.spec
@@ -1,5 +1,5 @@
 Name:           perl-Data-ObjectDriver
-Version:        0.10
+Version:        0.11
 Release:        1%{?dist}
 Summary:        Simple, transparent data interface, with caching
 License:        GPL+ or Artistic
@@ -8,14 +8,18 @@ URL:            http://search.cpan.org/dist/Data-ObjectDriver/
 Source0:        http://search.cpan.org/CPAN/authors/id/S/SI/SIXAPART/Data-ObjectDriver-%{version}.tar.gz
 
 BuildArch:      noarch
+# Build requirements
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(DBI)
-BuildRequires:  perl(DBD::SQLite)
 BuildRequires:  perl(Test::Exception)
+BuildRequires:  perl(Module::Build)
+# Test requirements
+BuildRequires:  perl(Test::Builder)
+# Runtime requirements
 BuildRequires:  perl(Class::Accessor::Fast)
 BuildRequires:  perl(Class::Data::Inheritable)
 BuildRequires:  perl(Class::Trigger)
-BuildRequires:  perl(Test::Builder)
+BuildRequires:  perl(DBD::SQLite)
+BuildRequires:  perl(DBI)
 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %{?perl_default_filter}
@@ -32,25 +36,27 @@ rm -rf inc/Test/Builder*
 sed -i -e '/^inc\/Test\/Builder[\.\/]/d' MANIFEST
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Build.PL --installdirs=vendor
+./Build
 
 %install
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+./Build install --destdir=%{buildroot} --create_packlist=0
+%{_fixperms} %{buildroot}
 
 %check
-make test
+./Build test
 
 
 %files
-%doc Changes README
+%doc Changes README.md
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Apr 12 2015 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.11-1
+- Update to 0.11
+- Switch to Minilla as a build-system
+
 * Sun Jan 18 2015 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.10-1
 - Update to 0.10
 - Drop upstreamed patch
diff --git a/sources b/sources
index 0fb1900..f8bbf6e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3c5f672a6aeb8c8967e1621310a44859  Data-ObjectDriver-0.10.tar.gz
+138a7b6a08fe1190647272a24a043832  Data-ObjectDriver-0.11.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Data-ObjectDriver.git/commit/?h=master&id=7cc63c39d43f9c45bf5524634484b47da21e52f4
--
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