From 9050a4ea3430f3d8cf194a3b0d0a49925adb2a26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <con...@redhat.com>
Date: Mon, 15 Jun 2015 17:02:56 +0200
Subject: 0.001002 bump

- Modernize the SPEC

diff --git a/.gitignore b/.gitignore
index 857bd92..e727f5c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /DBIx-Class-IntrospectableM2M-0.001001.tar.gz
+/DBIx-Class-IntrospectableM2M-0.001002.tar.gz
diff --git a/perl-DBIx-Class-IntrospectableM2M.spec 
b/perl-DBIx-Class-IntrospectableM2M.spec
index d63590f..8caf031 100644
--- a/perl-DBIx-Class-IntrospectableM2M.spec
+++ b/perl-DBIx-Class-IntrospectableM2M.spec
@@ -1,16 +1,32 @@
 Name:           perl-DBIx-Class-IntrospectableM2M
-Version:        0.001001
-Release:        8%{?dist}
+Version:        0.001002
+Release:        1%{?dist}
 Summary:        Introspect many-to-many shortcuts
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/DBIx-Class-IntrospectableM2M/
-Source0:        
http://www.cpan.org/authors/id/G/GR/GRODITI/DBIx-Class-IntrospectableM2M-%{version}.tar.gz
+Source0:        
http://www.cpan.org/authors/id/I/IL/ILMARI/DBIx-Class-IntrospectableM2M-%{version}.tar.gz
 BuildArch:      noarch
+# Build
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+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(base)
 BuildRequires:  perl(DBIx::Class)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(DBIx::Class::Core)
+BuildRequires:  perl(warnings)
+# Tests only
 BuildRequires:  perl(Test::More)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
 
 %description
 Because the many-to-many relationships are not real relationships, they can
@@ -24,15 +40,11 @@ and examined.
 %setup -q -n DBIx-Class-IntrospectableM2M-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 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}
 %{_fixperms} %{buildroot}/*
 
 %check
@@ -44,6 +56,10 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Mon Jun 15 2015 Petr Ĺ abata <con...@redhat.com> - 0.001002-1
+- 0.001002 bump
+- Modernize the SPEC
+
 * Mon Jun 08 2015 Jitka Plesnikova <jples...@redhat.com> - 0.001001-8
 - Perl 5.22 rebuild
 
diff --git a/sources b/sources
index 8d37b30..e3f9598 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9c05959fdb632062ec827ec0c7335eae  DBIx-Class-IntrospectableM2M-0.001001.tar.gz
+2462b3115e8f0a71490fd8e219aa79f0  DBIx-Class-IntrospectableM2M-0.001002.tar.gz
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-DBIx-Class-IntrospectableM2M.git/commit/?h=f22&id=9050a4ea3430f3d8cf194a3b0d0a49925adb2a26
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to