[perl-Module-Install-Repository] Use included Module::Install to avoid build dependency cycles (#906007)

Paul Howarth pghmcfc at fedoraproject.org
Tue Feb 5 16:07:14 UTC 2013


commit ce3194613cdea262182743b2556d1a7d238bb6e6
Author: Paul Howarth <paul at city-fan.org>
Date:   Tue Feb 5 16:06:44 2013 +0000

    Use included Module::Install to avoid build dependency cycles (#906007)

 perl-Module-Install-Repository.spec |   17 +++++++----------
 1 files changed, 7 insertions(+), 10 deletions(-)
---
diff --git a/perl-Module-Install-Repository.spec b/perl-Module-Install-Repository.spec
index e6789bd..eed9897 100644
--- a/perl-Module-Install-Repository.spec
+++ b/perl-Module-Install-Repository.spec
@@ -1,6 +1,6 @@
 Name:           perl-Module-Install-Repository
 Version:        0.06
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Automatically sets repository URL from Svn/Svk/Git checkout
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -8,11 +8,10 @@ URL:            http://search.cpan.org/dist/Module-Install-Repository/
 Source0:        http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Module-Install-Repository-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl >= 0:5.005
-BuildRequires:  perl(inc::Module::Install)
 BuildRequires:  perl(base)
-BuildRequires:  perl(Module::Install::AuthorTests)
-BuildRequires:  perl(Module::Install::Base)
-BuildRequires:  perl(Module::Install::TestBase)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Path)
 # Tests
 BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(Path::Class)
@@ -26,15 +25,10 @@ added to resources under META.yml.
 
 %prep
 %setup -q -n Module-Install-Repository-%{version}
-rm -r inc
-sed -i -e '/^inc\// d' MANIFEST
-sed -i -e '/^auto_set_repository/ d' Makefile.PL
 find -type f -exec chmod -x {} +
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
-rm -r inc/.author
-%{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
@@ -52,6 +46,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue Feb  5 2013 Paul Howarth <paul at city-fan.org> - 0.06-4
+- Use included Module::Install to avoid build dependency cycles (#906007)
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.06-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list