import perl-DB_File-1.859-512.el10

i10ce changed/i10ce/perl-DB_File-1.859-512.el10
Arkady L. Shane 2 weeks ago
parent 30ca7e139b
commit e3f51813ad
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

2
.gitignore vendored

@ -1 +1 @@
SOURCES/DB_File-1.855.tar.gz SOURCES/DB_File-1.859.tar.gz

@ -1 +1 @@
d7b6157418fdd14029917b1b8b7dd52d227170ee SOURCES/DB_File-1.855.tar.gz dd7f612cffe0043393b96844f7fbcdc05213762e SOURCES/DB_File-1.859.tar.gz

@ -6,10 +6,10 @@
%endif %endif
Name: perl-DB_File Name: perl-DB_File
Version: 1.855 Version: 1.859
Release: 4%{?dist} Release: 512%{?dist}
Summary: Perl5 access to Berkeley DB version 1.x Summary: Perl5 access to Berkeley DB version 1.x
License: GPL+ or Artistic License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/DB_File URL: https://metacpan.org/release/DB_File
Source0: https://cpan.metacpan.org/authors/id/P/PM/PMQS/DB_File-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/P/PM/PMQS/DB_File-%{version}.tar.gz
BuildRequires: coreutils BuildRequires: coreutils
@ -47,7 +47,6 @@ BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::CPAN::Meta) BuildRequires: perl(Test::CPAN::Meta)
BuildRequires: perl(Test::CPAN::Meta::JSON) BuildRequires: perl(Test::CPAN::Meta::JSON)
%endif %endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Fcntl) Requires: perl(Fcntl)
Requires: perl(XSLoader) Requires: perl(XSLoader)
@ -59,22 +58,51 @@ provided by Berkeley DB version 1.x (if you have a newer version of DB, you
will be limited to functionality provided by interface of version 1.x). The will be limited to functionality provided by interface of version 1.x). The
interface defined here mirrors the Berkeley DB interface closely. interface defined here mirrors the Berkeley DB interface closely.
%package tests
Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
Requires: perl(threads)
%description tests
Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep %prep
%setup -q -n DB_File-%{version} %setup -q -n DB_File-%{version}
find -type f -exec chmod -x {} + find -type f -exec chmod -x {} +
perl -MConfig -pi -e 's|^#!.*perl|$Config{startperl}|' dbinfo perl -MConfig -pi -e 's|^#!.*perl|$Config{startperl}|' dbinfo
# Help file to recognise the Perl scripts
for F in t/*.t; do
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
chmod +x "$F"
done
%build %build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}"
%{make_build} %{make_build}
%install %install
%{make_install} %{make_install}
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete find %{buildroot} -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} %{buildroot}/*
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
# Remove author tests
rm %{buildroot}%{_libexecdir}/%{name}/t/pod.t
rm %{buildroot}%{_libexecdir}/%{name}/t/meta-*.t
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%check %check
unset PERL_CORE unset PERL_CORE
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
make test make test
%files %files
@ -83,13 +111,73 @@ make test
%{perl_vendorarch}/DB_File* %{perl_vendorarch}/DB_File*
%{_mandir}/man3/* %{_mandir}/man3/*
%files tests
%{_libexecdir}/%{name}
%changelog %changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.855-4 * Sat Jan 04 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.859-512
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for MSVSphere 10
Related: rhbz#1991688
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.859-512
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed Jun 12 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1.859-511
- Perl 5.40 re-rebuild of bootstrapped packages
* Mon Jun 10 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1.859-510
- Increase release to favour standalone package
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.859-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.859-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Aug 23 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.859-1
- 1.859 bump (rhbz#2233072)
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.858-501
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jul 12 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.858-500
- Perl 5.38 re-rebuild of bootstrapped packages
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.855-3 * Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.858-499
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Increase release to favour standalone package
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.858-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.858-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.858-3
- Perl 5.36 re-rebuild of bootstrapped packages
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.858-2
- Perl 5.36 rebuild
* Fri May 13 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.858-1
- 1.858 bump
* Mon Feb 28 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.857-1
- 1.857 bump
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.856-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.856-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jun 22 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.856-1
- 1.856 bump
- Package tests
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.855-478
- Perl 5.34 re-rebuild of bootstrapped packages
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.855-477
- Increase release to favour standalone package
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.855-2 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.855-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save