[1393] | 1 | Name: perl-Module-Depends
|
---|
| 2 | Version: 0.16
|
---|
| 3 | Release: 1%{?dist}
|
---|
| 4 | Summary: Identify the dependencies of a distribution
|
---|
| 5 | License: GPL+ or Artistic
|
---|
| 6 | Group: Development/Libraries
|
---|
| 7 | Vendor: bww bitwise works GmbH
|
---|
| 8 | URL: http://search.cpan.org/dist/Module-Depends/
|
---|
| 9 | Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/Module-Depends-%{version}.tar.gz
|
---|
| 10 | # Restore compatibility with Perl 5.26.0, CPAN RT#119324, CPAN RT#115053
|
---|
| 11 | Patch0: Module-Depends-0.15-Fix-escaping-literal-curly-brackates-in-a-regexp.patch
|
---|
| 12 | BuildArch: noarch
|
---|
| 13 | BuildRequires: make
|
---|
| 14 | #BuildRequires: perl-interpreter
|
---|
| 15 | BuildRequires: perl-generators
|
---|
| 16 | BuildRequires: perl(ExtUtils::MakeMaker) >= 6.63
|
---|
| 17 | # Run-time:
|
---|
| 18 | BuildRequires: perl(base)
|
---|
| 19 | BuildRequires: perl(Class::Accessor::Chained)
|
---|
| 20 | BuildRequires: perl(Cwd)
|
---|
| 21 | BuildRequires: perl(Parse::CPAN::Meta)
|
---|
| 22 | BuildRequires: perl(strict)
|
---|
| 23 | BuildRequires: perl(warnings)
|
---|
| 24 | # Tests:
|
---|
| 25 | #BuildRequires: perl(FindBin)
|
---|
| 26 | # inc::Module::Install not used
|
---|
| 27 | # Inline::MakeMaker not used
|
---|
| 28 | # Module::Build not used
|
---|
| 29 | BuildRequires: perl(Test::More)
|
---|
| 30 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
---|
| 31 | Requires: perl(warnings)
|
---|
| 32 |
|
---|
| 33 | %description
|
---|
| 34 | Module::Depends extracts module dependencies from an unpacked
|
---|
| 35 | distribution tree.
|
---|
| 36 |
|
---|
| 37 | %prep
|
---|
| 38 | %setup -q -n Module-Depends-%{version}
|
---|
| 39 | %patch0 -p1
|
---|
| 40 |
|
---|
| 41 | %build
|
---|
| 42 | perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
---|
| 43 | make %{?_smp_mflags}
|
---|
| 44 | make manifypods
|
---|
| 45 |
|
---|
| 46 | %install
|
---|
| 47 | make pure_install DESTDIR=$RPM_BUILD_ROOT
|
---|
| 48 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
---|
| 49 | %{_fixperms} $RPM_BUILD_ROOT/*
|
---|
| 50 |
|
---|
| 51 | %check
|
---|
| 52 | #make test
|
---|
| 53 |
|
---|
| 54 | %files
|
---|
| 55 | %doc Changes README
|
---|
| 56 | %{perl_vendorlib}/*
|
---|
| 57 | %{_mandir}/man3/*
|
---|
| 58 |
|
---|
| 59 | %changelog
|
---|
| 60 | * Wed May 02 2018 Elbert Pol <elbert.pol@gmail.com> - 0.16-1
|
---|
| 61 | - initial rpm for OS2
|
---|