69 lines
2.3 KiB
RPMSpec
69 lines
2.3 KiB
RPMSpec
Name: perl-Module-Install-Repository
|
|
Version: 0.06
|
|
Release: 7%{?dist}
|
|
Summary: Automatically sets repository URL from Svn/Svk/Git checkout
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
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(base)
|
|
BuildRequires: perl(Cwd)
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(File::Path)
|
|
# Tests
|
|
BuildRequires: perl(File::Temp)
|
|
BuildRequires: perl(Path::Class)
|
|
BuildRequires: perl(Test::More)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%description
|
|
Module::Install::Repository is a Module::Install plugin to automatically
|
|
figure out repository URL and set it via repository() which then will be
|
|
added to resources under META.yml.
|
|
|
|
%prep
|
|
%setup -q -n Module-Install-Repository-%{version}
|
|
find -type f -exec chmod -x {} +
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%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 \;
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%doc Changes README
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Wed Jul 31 2013 Petr Pisar <ppisar@redhat.com> - 0.06-5
|
|
- Perl 5.18 rebuild
|
|
|
|
* 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
|
|
|
|
* Fri Jun 22 2012 Petr Pisar <ppisar@redhat.com> - 0.06-2
|
|
- Perl 5.16 rebuild
|
|
|
|
* Wed May 16 2012 Jitka Plesnikova <jplesnik@redhat.com> 0.06-1
|
|
- Specfile autogenerated by cpanspec 1.78.
|