ef1228
Name:           perl-lib-abs
3f1ec5
Version:        0.95
428ecd
Release:        2%{?dist}
ef1228
Summary:        Module lib that makes relative path absolute to caller
ef1228
License:        GPL+ or Artistic
61b3ac
URL:            https://metacpan.org/release/lib-abs
61b3ac
Source0:        https://cpan.metacpan.org/authors/id/M/MO/MONS/lib-abs-%{version}.tar.gz
ef1228
BuildArch:      noarch
7d87d4
BuildRequires:  coreutils
7d87d4
BuildRequires:  make
8f601f
BuildRequires:  perl-generators
7d87d4
BuildRequires:  perl-interpreter
7d87d4
BuildRequires:  perl(:VERSION) >= 5.6
ef1228
BuildRequires:  perl(inc::Module::Install)
ef1228
BuildRequires:  perl(Module::Install::AutoInstall)
7d87d4
BuildRequires:  perl(Module::Install::Metadata)
7d87d4
BuildRequires:  perl(Module::Install::WriteAll)
ef1228
# Run-time:
ef1228
BuildRequires:  perl(Carp)
ef1228
BuildRequires:  perl(Cwd) >= 3.12
ef1228
BuildRequires:  perl(lib)
ef1228
BuildRequires:  perl(strict)
ef1228
BuildRequires:  perl(warnings)
ef1228
# Tests:
ef1228
BuildRequires:  perl(Carp::Heavy)
6fad58
# DynaLoader not used
ef1228
BuildRequires:  perl(Exporter)
ef1228
BuildRequires:  perl(File::Spec)
ef1228
BuildRequires:  perl(FindBin)
ef1228
BuildRequires:  perl(overload)
ef1228
BuildRequires:  perl(Test::More)
ef1228
BuildRequires:  perl(vars)
ef1228
BuildRequires:  perl(XSLoader)
ef1228
# Optional tests:
6fad58
BuildRequires:  perl(Test::NoWarnings)
ef1228
BuildRequires:  perl(Test::Pod) >= 1.22
ef1228
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
ef1228
Requires:       perl(Carp)
ef1228
ef1228
%description
ef1228
The main reason of this library is to transform relative paths to absolute
ef1228
at the BEGIN stage, and push transformed to @INC. Relative path basis is
ef1228
not the current working directory, but the location of file, where the
ef1228
statement is (caller file). When using common lib, relative paths stays
ef1228
relative to current working directory.
ef1228
ef1228
%prep
ef1228
%setup -q -n lib-abs-%{version}
7d87d4
# Remove bunlded modules
7d87d4
rm -rf ./inc
a412e8
perl -i -ne 'print $_ unless m{^inc/}' MANIFEST
ef1228
ef1228
%build
7d87d4
perl Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1 INSTALLDIRS=vendor
7d87d4
%{make_build}
ef1228
ef1228
%install
7d87d4
%{make_install}
ef1228
%{_fixperms} $RPM_BUILD_ROOT/*
ef1228
ef1228
%check
ef1228
make test
ef1228
ef1228
%files
7d87d4
%license LICENSE
7d87d4
%doc Changes README
ef1228
%{perl_vendorlib}/*
ef1228
%{_mandir}/man3/*
ef1228
ef1228
%changelog
428ecd
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-2
428ecd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
428ecd
3f1ec5
* Mon Jan 27 2020 Petr Pisar <ppisar@redhat.com> - 0.95-1
3f1ec5
- 0.95 bump
3f1ec5
a412e8
* Thu Jan 23 2020 Petr Pisar <ppisar@redhat.com> - 0.94-2
a412e8
- Correct unbundling
a412e8
7d87d4
* Thu Jan 23 2020 Petr Pisar <ppisar@redhat.com> - 0.94-1
7d87d4
- 0.94 bump
7d87d4
955483
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.93-16
955483
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
955483
6ec46b
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.93-15
6ec46b
- Perl 5.30 rebuild
6ec46b
24ef3b
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.93-14
24ef3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
24ef3b
9a8578
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.93-13
9a8578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9a8578
2a293c
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.93-12
2a293c
- Perl 5.28 rebuild
2a293c
acf1ca
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.93-11
acf1ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
acf1ca
88de76
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.93-10
88de76
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
88de76
7946ce
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.93-9
7946ce
- Perl 5.26 rebuild
7946ce
4ea26b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.93-8
4ea26b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4ea26b
736d28
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.93-7
736d28
- Perl 5.24 rebuild
736d28
a9c203
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.93-6
a9c203
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a9c203
7e8c54
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-5
7e8c54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7e8c54
69ec17
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.93-4
69ec17
- Perl 5.22 rebuild
69ec17
1cde5a
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.93-3
1cde5a
- Perl 5.20 rebuild
1cde5a
298e67
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-2
298e67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
298e67
6fad58
* Tue Oct 29 2013 Petr Pisar <ppisar@redhat.com> - 0.93-1
6fad58
- 0.93 bump
6fad58
d8a81a
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-3
d8a81a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d8a81a
10a620
* Fri Aug 02 2013 Petr Pisar <ppisar@redhat.com> - 0.92-2
10a620
- Perl 5.18 rebuild
10a620
ef1228
* Wed Mar 06 2013 Petr Pisar <ppisar@redhat.com> 0.92-1
ef1228
- Specfile autogenerated by cpanspec 1.78.