|
|
8323da |
# This file is licensed under the terms of GNU GPLv2+.
|
|
|
8323da |
|
|
|
8323da |
# Run optinonal tests
|
|
|
8323da |
%{bcond_without perl_DynaLoader_Functions_enables_optional_test}
|
|
|
8323da |
|
|
|
8323da |
Name: perl-DynaLoader-Functions
|
|
|
8323da |
Version: 0.003
|
|
|
8323da |
Release: 2%{?dist}
|
|
|
8323da |
Summary: Deconstructed dynamic C library loading
|
|
|
8323da |
License: GPL+ or Artistic
|
|
|
8323da |
Group: Development/Libraries
|
|
|
8323da |
URL: http://search.cpan.org/dist/DynaLoader-Functions/
|
|
|
8323da |
Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/DynaLoader-Functions-%{version}.tar.gz
|
|
|
8323da |
BuildArch: noarch
|
|
|
8323da |
BuildRequires: perl-generators
|
|
|
8323da |
BuildRequires: perl-interpreter
|
|
|
8323da |
BuildRequires: perl(Module::Build)
|
|
|
8323da |
BuildRequires: perl(strict)
|
|
|
8323da |
BuildRequires: perl(warnings)
|
|
|
8323da |
# Run-time:
|
|
|
8323da |
BuildRequires: perl(Carp)
|
|
|
8323da |
# Config not used on Linux
|
|
|
8323da |
BuildRequires: perl(constant)
|
|
|
8323da |
BuildRequires: perl(DynaLoader)
|
|
|
8323da |
BuildRequires: perl(Exporter)
|
|
|
8323da |
BuildRequires: perl(parent)
|
|
|
8323da |
# Tests:
|
|
|
8323da |
BuildRequires: perl(Test::More)
|
|
|
8323da |
%if %{with perl_DynaLoader_Functions_enables_optional_test}
|
|
|
8323da |
# Optional tests:
|
|
|
8323da |
BuildRequires: perl(ExtUtils::CBuilder) >= 0.280209
|
|
|
8323da |
BuildRequires: perl(File::Spec)
|
|
|
8323da |
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
8323da |
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
8323da |
%endif
|
|
|
8323da |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
8323da |
Requires: perl(Carp)
|
|
|
8323da |
Requires: perl(DynaLoader)
|
|
|
8323da |
|
|
|
8323da |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(VMS::Filespec\\)
|
|
|
8323da |
|
|
|
8323da |
%description
|
|
|
8323da |
This module provides a function-based interface to dynamic loading as used
|
|
|
8323da |
by Perl. Some details of dynamic loading are very platform-dependent, so
|
|
|
8323da |
correct use of these functions requires the programmer to be mindful of the
|
|
|
8323da |
space of platform variations.
|
|
|
8323da |
|
|
|
8323da |
%prep
|
|
|
8323da |
%setup -q -n DynaLoader-Functions-%{version}
|
|
|
8323da |
|
|
|
8323da |
%build
|
|
|
8323da |
perl Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
|
|
|
8323da |
./Build
|
|
|
8323da |
|
|
|
8323da |
%install
|
|
|
8323da |
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
|
8323da |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
8323da |
|
|
|
8323da |
%check
|
|
|
8323da |
./Build test
|
|
|
8323da |
|
|
|
8323da |
%files
|
|
|
8323da |
%doc Changes README
|
|
|
8323da |
%{perl_vendorlib}/*
|
|
|
8323da |
%{_mandir}/man3/*
|
|
|
8323da |
|
|
|
8323da |
%changelog
|
|
|
8323da |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.003-2
|
|
|
8323da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
8323da |
|
|
|
8323da |
* Tue Aug 01 2017 Petr Pisar <ppisar@redhat.com> - 0.003-1
|
|
|
8323da |
- 0.003 bump
|
|
|
8323da |
|
|
|
8323da |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.002-10
|
|
|
8323da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
8323da |
|
|
|
8323da |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.002-9
|
|
|
8323da |
- Perl 5.26 rebuild
|
|
|
8323da |
|
|
|
8323da |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.002-8
|
|
|
8323da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
8323da |
|
|
|
8323da |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.002-7
|
|
|
8323da |
- Perl 5.24 rebuild
|
|
|
8323da |
|
|
|
8323da |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.002-6
|
|
|
8323da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
8323da |
|
|
|
8323da |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.002-5
|
|
|
8323da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
8323da |
|
|
|
8323da |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.002-4
|
|
|
8323da |
- Perl 5.22 rebuild
|
|
|
8323da |
|
|
|
8323da |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.002-3
|
|
|
8323da |
- Perl 5.20 rebuild
|
|
|
8323da |
|
|
|
8323da |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.002-2
|
|
|
8323da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
8323da |
|
|
|
8323da |
* Wed Aug 21 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.002-1
|
|
|
8323da |
- 0.002 bump
|
|
|
8323da |
|
|
|
8323da |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.001-8
|
|
|
8323da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
8323da |
|
|
|
8323da |
* Fri Jul 19 2013 Petr Pisar <ppisar@redhat.com> - 0.001-7
|
|
|
8323da |
- Perl 5.18 rebuild
|
|
|
8323da |
|
|
|
8323da |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.001-6
|
|
|
8323da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
8323da |
|
|
|
8323da |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.001-5
|
|
|
8323da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
8323da |
|
|
|
8323da |
* Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 0.001-4
|
|
|
8323da |
- Perl 5.16 rebuild
|
|
|
8323da |
|
|
|
8323da |
* Thu Jun 28 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.001-3
|
|
|
8323da |
- Update Requires
|
|
|
8323da |
- Exclude requires VMS::Filespec.
|
|
|
8323da |
|
|
|
8323da |
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.001-2
|
|
|
8323da |
- Perl 5.16 rebuild
|
|
|
8323da |
|
|
|
8323da |
* Thu Feb 09 2012 Petr Pisar <ppisar@redhat.com> - 0.001-1
|
|
|
8323da |
- 0.001 bump
|
|
|
8323da |
|
|
|
8323da |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.000-3
|
|
|
8323da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
8323da |
|
|
|
8323da |
* Fri Jul 22 2011 Petr Sabata <contyk@redhat.com> - 0.000-2
|
|
|
8323da |
- Perl mass rebuild
|
|
|
8323da |
|
|
|
8323da |
* Mon Jul 11 2011 Petr Pisar <ppisar@redhat.com> 0.000-1
|
|
|
8323da |
- Specfile autogenerated by cpanspec 1.78.
|
|
|
8323da |
- Remove BuildRoot and defattr
|