Use included Module::Install to avoid build dependency cycles (#906007)
This commit is contained in:
parent
2eb114f82d
commit
ce3194613c
@ -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@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@lists.fedoraproject.org> - 0.06-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user