|
|
ef12284 |
Name: perl-lib-abs
|
|
|
6fad582 |
Version: 0.93
|
|
|
69ec17f |
Release: 4%{?dist}
|
|
|
ef12284 |
Summary: Module lib that makes relative path absolute to caller
|
|
|
ef12284 |
License: GPL+ or Artistic
|
|
|
ef12284 |
Group: Development/Libraries
|
|
|
ef12284 |
URL: http://search.cpan.org/dist/lib-abs/
|
|
|
ef12284 |
Source0: http://www.cpan.org/authors/id/M/MO/MONS/lib-abs-%{version}.tar.gz
|
|
|
ef12284 |
BuildArch: noarch
|
|
|
ef12284 |
BuildRequires: perl
|
|
|
ef12284 |
BuildRequires: perl(inc::Module::Install)
|
|
|
ef12284 |
BuildRequires: perl(Module::Install::AutoInstall)
|
|
|
ef12284 |
# Run-time:
|
|
|
ef12284 |
BuildRequires: perl(Carp)
|
|
|
ef12284 |
BuildRequires: perl(Cwd) >= 3.12
|
|
|
ef12284 |
BuildRequires: perl(lib)
|
|
|
ef12284 |
BuildRequires: perl(strict)
|
|
|
ef12284 |
BuildRequires: perl(warnings)
|
|
|
ef12284 |
# Tests:
|
|
|
ef12284 |
BuildRequires: perl(Carp::Heavy)
|
|
|
6fad582 |
# DynaLoader not used
|
|
|
ef12284 |
BuildRequires: perl(Exporter)
|
|
|
ef12284 |
BuildRequires: perl(File::Spec)
|
|
|
ef12284 |
BuildRequires: perl(FindBin)
|
|
|
ef12284 |
BuildRequires: perl(overload)
|
|
|
ef12284 |
BuildRequires: perl(Test::More)
|
|
|
ef12284 |
BuildRequires: perl(vars)
|
|
|
ef12284 |
BuildRequires: perl(XSLoader)
|
|
|
ef12284 |
# Optional tests:
|
|
|
6fad582 |
BuildRequires: perl(Test::NoWarnings)
|
|
|
ef12284 |
BuildRequires: perl(Test::Pod) >= 1.22
|
|
|
ef12284 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
ef12284 |
Requires: perl(Carp)
|
|
|
ef12284 |
|
|
|
ef12284 |
%description
|
|
|
ef12284 |
The main reason of this library is to transform relative paths to absolute
|
|
|
ef12284 |
at the BEGIN stage, and push transformed to @INC. Relative path basis is
|
|
|
ef12284 |
not the current working directory, but the location of file, where the
|
|
|
ef12284 |
statement is (caller file). When using common lib, relative paths stays
|
|
|
ef12284 |
relative to current working directory.
|
|
|
ef12284 |
|
|
|
ef12284 |
%prep
|
|
|
ef12284 |
%setup -q -n lib-abs-%{version}
|
|
|
ef12284 |
|
|
|
ef12284 |
%build
|
|
|
ef12284 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
ef12284 |
make %{?_smp_mflags}
|
|
|
ef12284 |
|
|
|
ef12284 |
%install
|
|
|
ef12284 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
ef12284 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
ef12284 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
ef12284 |
|
|
|
ef12284 |
%check
|
|
|
ef12284 |
make test
|
|
|
ef12284 |
|
|
|
ef12284 |
%files
|
|
|
ef12284 |
%doc Changes LICENSE README
|
|
|
ef12284 |
%{perl_vendorlib}/*
|
|
|
ef12284 |
%{_mandir}/man3/*
|
|
|
ef12284 |
|
|
|
ef12284 |
%changelog
|
|
|
69ec17f |
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.93-4
|
|
|
69ec17f |
- Perl 5.22 rebuild
|
|
|
69ec17f |
|
|
|
1cde5a0 |
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.93-3
|
|
|
1cde5a0 |
- Perl 5.20 rebuild
|
|
|
1cde5a0 |
|
|
|
298e67b |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-2
|
|
|
298e67b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
298e67b |
|
|
|
6fad582 |
* Tue Oct 29 2013 Petr Pisar <ppisar@redhat.com> - 0.93-1
|
|
|
6fad582 |
- 0.93 bump
|
|
|
6fad582 |
|
|
|
d8a81ae |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-3
|
|
|
d8a81ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
d8a81ae |
|
|
|
10a620e |
* Fri Aug 02 2013 Petr Pisar <ppisar@redhat.com> - 0.92-2
|
|
|
10a620e |
- Perl 5.18 rebuild
|
|
|
10a620e |
|
|
|
ef12284 |
* Wed Mar 06 2013 Petr Pisar <ppisar@redhat.com> 0.92-1
|
|
|
ef12284 |
- Specfile autogenerated by cpanspec 1.78.
|