|
|
a9f3ac |
# Run optional test
|
|
|
a9f3ac |
%if ! (0%{?rhel})
|
|
|
a9f3ac |
%bcond_without perl_DB_File_enables_optional_test
|
|
|
a9f3ac |
%else
|
|
|
a9f3ac |
%bcond_with perl_DB_File_enables_optional_test
|
|
|
a9f3ac |
%endif
|
|
|
a9f3ac |
|
|
|
a9f3ac |
Name: perl-DB_File
|
|
|
a9f3ac |
Version: 1.842
|
|
|
448930 |
Release: 2%{?dist}
|
|
|
a9f3ac |
Summary: Perl5 access to Berkeley DB version 1.x
|
|
|
a9f3ac |
License: GPL+ or Artistic
|
|
|
a9f3ac |
URL: https://metacpan.org/release/DB_File
|
|
|
a9f3ac |
Source0: https://cpan.metacpan.org/authors/id/P/PM/PMQS/DB_File-%{version}.tar.gz
|
|
|
a9f3ac |
BuildRequires: coreutils
|
|
|
a9f3ac |
BuildRequires: findutils
|
|
|
a9f3ac |
BuildRequires: gcc
|
|
|
a9f3ac |
BuildRequires: libdb-devel
|
|
|
a9f3ac |
BuildRequires: perl-devel
|
|
|
a9f3ac |
BuildRequires: perl-generators
|
|
|
a9f3ac |
BuildRequires: perl-interpreter
|
|
|
a9f3ac |
BuildRequires: perl(Config)
|
|
|
a9f3ac |
BuildRequires: perl(ExtUtils::Constant)
|
|
|
a9f3ac |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
a9f3ac |
# File::Copy not needed if ExtUtils::Constant is available
|
|
|
a9f3ac |
BuildRequires: perl(strict)
|
|
|
a9f3ac |
# Run-time:
|
|
|
a9f3ac |
BuildRequires: perl(Carp)
|
|
|
a9f3ac |
# DynaLoader not needed if XSLoader is available
|
|
|
a9f3ac |
BuildRequires: perl(Exporter)
|
|
|
a9f3ac |
BuildRequires: perl(Fcntl)
|
|
|
a9f3ac |
BuildRequires: perl(File::Spec)
|
|
|
a9f3ac |
BuildRequires: perl(Tie::Hash)
|
|
|
a9f3ac |
BuildRequires: perl(warnings)
|
|
|
a9f3ac |
BuildRequires: perl(XSLoader)
|
|
|
a9f3ac |
# Tests:
|
|
|
a9f3ac |
BuildRequires: perl(Symbol)
|
|
|
a9f3ac |
BuildRequires: perl(Test::More)
|
|
|
a9f3ac |
BuildRequires: perl(threads)
|
|
|
a9f3ac |
%if %{with perl_DB_File_enables_optional_test} && !%{defined perl_bootstrap}
|
|
|
a9f3ac |
# Optional tests:
|
|
|
a9f3ac |
# Data::Dumper not useful
|
|
|
a9f3ac |
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
a9f3ac |
%endif
|
|
|
a9f3ac |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
a9f3ac |
Requires: perl(Fcntl)
|
|
|
a9f3ac |
Requires: perl(XSLoader)
|
|
|
a9f3ac |
|
|
|
a9f3ac |
%{?perl_default_filter}
|
|
|
a9f3ac |
|
|
|
a9f3ac |
%description
|
|
|
a9f3ac |
DB_File is a module which allows Perl programs to make use of the facilities
|
|
|
a9f3ac |
provided by Berkeley DB version 1.x (if you have a newer version of DB, you
|
|
|
a9f3ac |
will be limited to functionality provided by interface of version 1.x). The
|
|
|
a9f3ac |
interface defined here mirrors the Berkeley DB interface closely.
|
|
|
a9f3ac |
|
|
|
a9f3ac |
%prep
|
|
|
a9f3ac |
%setup -q -n DB_File-%{version}
|
|
|
a9f3ac |
find -type f -exec chmod -x {} +
|
|
|
a9f3ac |
perl -MConfig -pi -e 's|^#!.*perl|$Config{startperl}|' dbinfo
|
|
|
a9f3ac |
|
|
|
a9f3ac |
%build
|
|
|
a9f3ac |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
a9f3ac |
make %{?_smp_mflags}
|
|
|
a9f3ac |
|
|
|
a9f3ac |
%install
|
|
|
a9f3ac |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
a9f3ac |
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
|
|
a9f3ac |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
a9f3ac |
|
|
|
a9f3ac |
%check
|
|
|
a9f3ac |
make test
|
|
|
a9f3ac |
|
|
|
a9f3ac |
%files
|
|
|
a9f3ac |
%doc Changes dbinfo README
|
|
|
a9f3ac |
%{perl_vendorarch}/auto/*
|
|
|
a9f3ac |
%{perl_vendorarch}/DB_File*
|
|
|
a9f3ac |
%{_mandir}/man3/*
|
|
|
a9f3ac |
|
|
|
a9f3ac |
%changelog
|
|
|
448930 |
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.842-2
|
|
|
448930 |
- Rebuild with enable hardening (bug #1636329)
|
|
|
448930 |
|
|
|
a9f3ac |
* Mon Jul 16 2018 Petr Pisar <ppisar@redhat.com> - 1.842-1
|
|
|
a9f3ac |
- 1.842 bump
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Tue Apr 03 2018 Petr Pisar <ppisar@redhat.com> - 1.841-1
|
|
|
a9f3ac |
- 1.841 bump
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Mon Feb 19 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.840-398
|
|
|
a9f3ac |
- Add build-require gcc
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.840-397
|
|
|
a9f3ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.840-396
|
|
|
a9f3ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.840-395
|
|
|
a9f3ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.840-394
|
|
|
a9f3ac |
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.840-393
|
|
|
a9f3ac |
- Perl 5.26 rebuild
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.840-2
|
|
|
a9f3ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Mon Jan 02 2017 Petr Pisar <ppisar@redhat.com> - 1.840-1
|
|
|
a9f3ac |
- 1.840 bump
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.838-2
|
|
|
a9f3ac |
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Mon May 16 2016 Petr Pisar <ppisar@redhat.com> - 1.838-1
|
|
|
a9f3ac |
- 1.838 bump
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.835-365
|
|
|
a9f3ac |
- Increase release to favour standalone package
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.835-348
|
|
|
a9f3ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.835-347
|
|
|
a9f3ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.835-346
|
|
|
a9f3ac |
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.835-345
|
|
|
a9f3ac |
- Increase release to favour standalone package
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.835-2
|
|
|
a9f3ac |
- Perl 5.22 rebuild
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Fri Jan 02 2015 Petr Pisar <ppisar@redhat.com> - 1.835-1
|
|
|
a9f3ac |
- 1.835 bump
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Thu Dec 11 2014 Petr Pisar <ppisar@redhat.com> - 1.834-1
|
|
|
a9f3ac |
- 1.834 bump
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Wed Dec 10 2014 Petr Pisar <ppisar@redhat.com> - 1.833-1
|
|
|
a9f3ac |
- 1.833 bump
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.831-311
|
|
|
a9f3ac |
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.831-310
|
|
|
a9f3ac |
- Increase release to favour standalone package
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.831-7
|
|
|
a9f3ac |
- Perl 5.20 rebuild
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.831-6
|
|
|
a9f3ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Fri Aug 08 2014 Petr Pisar <ppisar@redhat.com> - 1.831-5
|
|
|
a9f3ac |
- Build-require Test::More always because of the new thread tests
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Thu Aug 07 2014 Petr Pisar <ppisar@redhat.com> - 1.831-4
|
|
|
a9f3ac |
- Initialize db_DESTROY return variable (bug #1107732)
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Thu Aug 07 2014 Petr Pisar <ppisar@redhat.com> - 1.831-3
|
|
|
a9f3ac |
- Destroy DB_File objects only from original thread context (bug #1107732)
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.831-2
|
|
|
a9f3ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Tue Nov 19 2013 Petr Pisar <ppisar@redhat.com> - 1.831-1
|
|
|
a9f3ac |
- 1.831 bump
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Mon Nov 04 2013 Petr Pisar <ppisar@redhat.com> - 1.830-1
|
|
|
a9f3ac |
- 1.830 bump
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.829-4
|
|
|
a9f3ac |
- Perl 5.18 re-rebuild of bootstrapped packages
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.829-3
|
|
|
a9f3ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1.829-2
|
|
|
a9f3ac |
- Perl 5.18 rebuild
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Wed Jul 10 2013 Petr Pisar <ppisar@redhat.com> - 1.829-1
|
|
|
a9f3ac |
- 1.829 bump
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Thu May 09 2013 Petr Pisar <ppisar@redhat.com> - 1.828-1
|
|
|
a9f3ac |
- 1.828 bump
|
|
|
a9f3ac |
|
|
|
a9f3ac |
* Thu Mar 21 2013 Petr Pisar <ppisar@redhat.com> 1.827-1
|
|
|
a9f3ac |
- Specfile autogenerated by cpanspec 1.78.
|