parent
6db47dea2e
commit
60cc2a2c5f
@ -0,0 +1 @@
|
||||
/lib-relative-0.002.tar.gz
|
@ -1,3 +0,0 @@
|
||||
# perl-lib-relative
|
||||
|
||||
This module proposes a straightforward method for adding local directory to @INC. It takes a path relative to the current file, absolutize it, and add it to @INC.
|
@ -0,0 +1,51 @@
|
||||
Name: perl-lib-relative
|
||||
Version: 0.002
|
||||
Release: 1%{?dist}
|
||||
Summary: Add paths relative to the current file to @INC
|
||||
License: Artistic 2.0
|
||||
URL: http://search.cpan.org/dist/lib-relative/
|
||||
Source0: http://www.cpan.org/authors/id/D/DB/DBOOK/lib-relative-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(:VERSION) >= 5.6.1
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Run-time
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(lib)
|
||||
# Tests
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
This module proposes a straightforward method for adding local directory to
|
||||
@INC. It takes a path relative to the current file, absolutize it, and add
|
||||
it to @INC.
|
||||
|
||||
%prep
|
||||
%setup -q -n lib-relative-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Oct 11 2017 Jitka Plesnikova <jplesnik@redhat.com> 0.002-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in new issue